rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
if node.label() != self.liveWire.endNodeLabel(): if self.liveWire.setEndNodeLabel(node.label()): pathEdges = [dart.edge() for dart in self.liveWire.pathDarts()]
if node.label() != self._liveWire.endNodeLabel(): if self._liveWire.setEndNodeLabel(node.label()): pathEdges = [dart.edge() for dart in self._liveWire.pathDarts()]
def mouseMoved(self, x, y): """It the live wire is active, it's end node is set to the nearest node and the display (overlay) is updated. Else, the nearest node is chosen as start node and highlighted."""
65254bc446b7c353066fe806e0424030a38d558d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/65254bc446b7c353066fe806e0424030a38d558d/tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 25317, 12, 2890, 16, 619, 16, 677, 4672, 3536, 7193, 326, 8429, 6636, 353, 2695, 16, 518, 1807, 679, 756, 353, 444, 358, 326, 11431, 756, 471, 326, 2562, 261, 17312, 13, 353, 3526, 18, 16289, 16, 326, 11431, 756, 353, 10447, 487, 787, 756, 471, 24375, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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807, 679, 756, 353, 444, 358, 326, 11431, 756, 471, 326, 2562, 261, 17312, 13, 353, 3526, 18, 16289, 16, 326, 11431, 756, 353, 10447, 487, 787, 756, 471, 24375, 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 ]
feed = self.doclist.GetDocumentListFeed(uri)
feed = self.client.GetDocumentListFeed(uri)
def testGetDocumentsListFeed(self): self.assert_(isinstance(self.feed, gdata.docs.DocumentListFeed)) uri = 'http://docs.google.com/feeds/documents/private/full/?max-results=1'
76de6e666a2dc6ba3f703b89b870266619bcabd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10620/76de6e666a2dc6ba3f703b89b870266619bcabd4/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 967, 12922, 682, 8141, 12, 2890, 4672, 365, 18, 11231, 67, 12, 291, 1336, 12, 2890, 18, 7848, 16, 314, 892, 18, 8532, 18, 2519, 682, 8141, 3719, 2003, 273, 296, 2505, 2207, 8532, 18, 9536, 18, 832, 19, 7848, 87, 19, 24795, 19, 1152, 19, 2854, 23239, 1896, 17, 4717, 33, 21, 11, 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,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, 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, 967, 12922, 682, 8141, 12, 2890, 4672, 365, 18, 11231, 67, 12, 291, 1336, 12, 2890, 18, 7848, 16, 314, 892, 18, 8532, 18, 2519, 682, 8141, 3719, 2003, 273, 296, 2505, 2207, 8532, 18, 9536, 18, 832, 19, 7848, 87, 19, 24795, 19, 1152, 19, 2854, 23239, 1896, 17, 4717, 33, 21, 11, 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 ]
"python:portal.portal_membership.getAuthenticatedMember().has_role('Member')",
"python:portal.portal_membership.getAuthenticatedMember().has_role('Employee')",
def configureUserActions(portal): # add an action to the persnal bar for project management actionTool = getToolByName(portal, 'portal_membership', None) actionTool_actions = actionTool._cloneActions() actionDefined=0 for a in actionTool_actions: if a.id in ['time_registration',]: a.visible = 1 actionDefined = 1 actionTool._actions = actionTool_actions if actionDefined == 0: actionTool.addAction('time_registration', 'Time registration', 'string:${portal_url}/update_hours_form', "python:portal.portal_membership.getAuthenticatedMember().has_role('Member')", 'View', 'user' )
0e134bb1cf58e139fa42ddbccae0d044406b7854 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10431/0e134bb1cf58e139fa42ddbccae0d044406b7854/Install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5068, 1299, 6100, 12, 24386, 4672, 468, 527, 392, 1301, 358, 326, 13508, 82, 287, 4653, 364, 1984, 11803, 1301, 6364, 273, 336, 6364, 5911, 12, 24386, 16, 296, 24386, 67, 19679, 2187, 599, 13, 1301, 6364, 67, 4905, 273, 1301, 6364, 6315, 14056, 6100, 1435, 1301, 8116, 33, 20, 364, 279, 316, 1301, 6364, 67, 4905, 30, 309, 279, 18, 350, 316, 10228, 957, 67, 14170, 2187, 14542, 279, 18, 8613, 273, 404, 1301, 8116, 273, 404, 1301, 6364, 6315, 4905, 273, 1301, 6364, 67, 4905, 309, 1301, 8116, 422, 374, 30, 1301, 6364, 18, 1289, 1803, 2668, 957, 67, 14170, 2187, 296, 950, 7914, 2187, 296, 1080, 30, 18498, 24386, 67, 718, 4004, 2725, 67, 16814, 67, 687, 2187, 315, 8103, 30, 24386, 18, 24386, 67, 19679, 18, 588, 15606, 4419, 7675, 5332, 67, 4615, 2668, 41, 27520, 23291, 16, 296, 1767, 2187, 296, 1355, 11, 262, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5068, 1299, 6100, 12, 24386, 4672, 468, 527, 392, 1301, 358, 326, 13508, 82, 287, 4653, 364, 1984, 11803, 1301, 6364, 273, 336, 6364, 5911, 12, 24386, 16, 296, 24386, 67, 19679, 2187, 599, 13, 1301, 6364, 67, 4905, 273, 1301, 6364, 6315, 14056, 6100, 1435, 1301, 8116, 33, 20, 364, 279, 316, 1301, 6364, 67, 4905, 30, 309, 279, 18, 350, 316, 10228, 957, 67, 14170, 2187, 14542, 279, 18, 8613, 273, 404, 1301, 8116, 273, 404, 1301, 6364, 6315, 4905, 273, 1301, 6364, 67, 4905, 309, 1301, 8116, 422, 374, 30, 1301, 6364, 18, 1289, 1803, 2668, 957, 67, 14170, 2187, 296, 950, 7914, 2187, 296, 1080, 30, 18498, 24386, 67, 718, 4004, 2725, 67, 16814, 2 ]
'cc.licenserdf', 'i18n'),
'cc.licenserdf', 'i18n/i18n/'),
def makeOpts(): """Define an option parser and return it.""" usage = """usage: %prog <action> <jurisdiction> [options]
a5e0611b85186de095d36ce206772fbd43cb2201 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4330/a5e0611b85186de095d36ce206772fbd43cb2201/jurisdiction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 5476, 13332, 3536, 11644, 392, 1456, 2082, 471, 327, 518, 12123, 225, 4084, 273, 3536, 9167, 30, 738, 14654, 411, 1128, 34, 411, 78, 23510, 72, 2228, 34, 306, 2116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1221, 5476, 13332, 3536, 11644, 392, 1456, 2082, 471, 327, 518, 12123, 225, 4084, 273, 3536, 9167, 30, 738, 14654, 411, 1128, 34, 411, 78, 23510, 72, 2228, 34, 306, 2116, 65, 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 ]
(Same as self.group_id().) Return the ID code of this group, which
(Same as ``self.group_id()``.) Return the ID code of this group, which
def id(self): """ (Same as self.group_id().) Return the ID code of this group, which is a list of two integers. Requires "optional" database_gap-4.4.x package. EXAMPLES:: sage: G = PermutationGroup([[(1,2,3),(4,5)], [(1,2)]]) sage: G.group_id() # optional - database_gap [12, 4] """ return self.group_id()
f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 612, 12, 2890, 4672, 3536, 261, 8650, 487, 12176, 2890, 18, 1655, 67, 350, 20338, 8338, 13, 2000, 326, 1599, 981, 434, 333, 1041, 16, 1492, 353, 279, 666, 434, 2795, 12321, 18, 16412, 315, 10444, 6, 2063, 67, 14048, 17, 24, 18, 24, 18, 92, 2181, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 13813, 9245, 1114, 3816, 63, 12, 21, 16, 22, 16, 23, 3631, 12, 24, 16, 25, 13, 6487, 306, 12, 21, 16, 22, 25887, 5717, 272, 410, 30, 611, 18, 1655, 67, 350, 1435, 565, 468, 3129, 300, 2063, 67, 14048, 306, 2138, 16, 1059, 65, 3536, 327, 365, 18, 1655, 67, 350, 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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92, 2181, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 13813, 9245, 1114, 3816, 63, 12, 21, 16, 22, 16, 23, 3631, 12, 24, 16, 25, 13, 6487, 306, 12, 21, 16, 22, 25887, 5717, 272, 410, 30, 611, 18, 1655, 67, 350, 1435, 565, 468, 3129, 300, 2063, 67, 14048, 306, 2138, 16, 1059, 65, 3536, 327, 365, 18, 1655, 67, 350, 1435, 2, -100, -100, -100, -100, -100 ]
if str(bulkInfo[self.status]) == 'A' :
if str(bulkInfo[self.status]) == 'Aborted' :
def checkJobsBulk( self, task, jobIds, parentIds ): """ check a list of provided job parent ids """
d4d786f2041b6a9ee48b640174442b3263fa1d20 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/d4d786f2041b6a9ee48b640174442b3263fa1d20/GLiteLBQuery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 7276, 13112, 12, 365, 16, 1562, 16, 1719, 2673, 16, 982, 2673, 262, 30, 3536, 866, 279, 666, 434, 2112, 1719, 982, 3258, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 1562, 16, 1719, 2673, 16, 982, 2673, 262, 30, 3536, 866, 279, 666, 434, 2112, 1719, 982, 3258, 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 ]
res = self.wmsClient.getJobPrimarySummary(int(wmsID))
res = self.jobMonitoringClient.getJobPrimarySummary(int(wmsID))
def updateTransformationReservedTasks(self,taskDicts): taskNames = [] for taskDict in taskDicts: transID = taskDict['TransformationID'] taskID = taskDict['JobID'] taskName = str(transID).zfill(8)+'_'+str(taskID).zfill(8) taskNames.append(taskName) res = self.wmsClient.getJobs({'JobName':taskNames}) if not ['OK']: self.log.info("updateTransformationReservedTasks: Failed to get task from WMS",res['Message']) return res taskNameIDs = {} allAccounted = True for wmsID in res['Value']: res = self.wmsClient.getJobPrimarySummary(int(wmsID)) if not res['OK']: self.log.warn("updateTransformationReservedTasks: Failed to get task summary from WMS",res['Message']) allAccounted = False continue jobName = res['Value']['JobName'] taskNameIDs[jobName] = wmsID noTask = [] if allAccounted: for taskName in taskNames: if not (taskName in taskNameIDs.keys()): noTask.append(taskName) return S_OK({'NoTasks':noTask,'TaskNameIDs':taskNameIDs})
83b9db9976066289db9fe646975e00b42ef78b0a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/83b9db9976066289db9fe646975e00b42ef78b0a/TaskManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 15292, 10435, 6685, 12, 2890, 16, 4146, 5014, 87, 4672, 1562, 1557, 273, 5378, 364, 1562, 5014, 316, 1562, 5014, 87, 30, 906, 734, 273, 1562, 5014, 3292, 15292, 734, 3546, 29772, 273, 1562, 5014, 3292, 2278, 734, 3546, 20172, 273, 609, 12, 2338, 734, 2934, 94, 5935, 12, 28, 13, 6797, 4623, 15, 701, 12, 4146, 734, 2934, 94, 5935, 12, 28, 13, 1562, 1557, 18, 6923, 12, 4146, 461, 13, 400, 273, 365, 18, 91, 959, 1227, 18, 588, 7276, 12590, 11, 29425, 4278, 4146, 1557, 6792, 309, 486, 10228, 3141, 3546, 30, 365, 18, 1330, 18, 1376, 2932, 2725, 15292, 10435, 6685, 30, 11175, 358, 336, 1562, 628, 678, 3537, 3113, 455, 3292, 1079, 19486, 327, 400, 20172, 5103, 273, 2618, 777, 3032, 329, 273, 1053, 364, 341, 959, 734, 316, 400, 3292, 620, 3546, 30, 400, 273, 365, 18, 4688, 18410, 1227, 18, 588, 2278, 6793, 4733, 12, 474, 12, 91, 959, 734, 3719, 309, 486, 400, 3292, 3141, 3546, 30, 365, 18, 1330, 18, 8935, 2932, 2725, 15292, 10435, 6685, 30, 11175, 358, 336, 1562, 4916, 628, 678, 3537, 3113, 455, 3292, 1079, 19486, 777, 3032, 329, 273, 1083, 1324, 17833, 273, 400, 3292, 620, 21712, 29425, 3546, 20172, 5103, 63, 4688, 461, 65, 273, 341, 959, 734, 1158, 2174, 273, 5378, 309, 777, 3032, 329, 30, 364, 20172, 316, 1562, 1557, 30, 309, 486, 261, 4146, 461, 316, 20172, 5103, 18, 2452, 1435, 4672, 1158, 2174, 18, 6923, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 15292, 10435, 6685, 12, 2890, 16, 4146, 5014, 87, 4672, 1562, 1557, 273, 5378, 364, 1562, 5014, 316, 1562, 5014, 87, 30, 906, 734, 273, 1562, 5014, 3292, 15292, 734, 3546, 29772, 273, 1562, 5014, 3292, 2278, 734, 3546, 20172, 273, 609, 12, 2338, 734, 2934, 94, 5935, 12, 28, 13, 6797, 4623, 15, 701, 12, 4146, 734, 2934, 94, 5935, 12, 28, 13, 1562, 1557, 18, 6923, 12, 4146, 461, 13, 400, 273, 365, 18, 91, 959, 1227, 18, 588, 7276, 12590, 11, 29425, 4278, 4146, 1557, 6792, 309, 486, 10228, 3141, 3546, 30, 365, 18, 1330, 18, 1376, 2932, 2725, 15292, 10435, 6685, 30, 11175, 358, 336, 1562, 628, 678, 3537, 3113, 455, 3292, 1079, 2 ]
def GetHashLong(id, idx):
def GetHashLong(hashid, idx):
def GetHashLong(id, idx): raise DeprecatedIDCError, "Use python pickles instead."
4f22943d42ee1d5013421d280b3bd776bee83fb9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3410/4f22943d42ee1d5013421d280b3bd776bee83fb9/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2310, 3708, 12, 2816, 350, 16, 2067, 4672, 1002, 9336, 734, 39, 668, 16, 315, 3727, 5790, 6002, 1040, 3560, 1199, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2310, 3708, 12, 2816, 350, 16, 2067, 4672, 1002, 9336, 734, 39, 668, 16, 315, 3727, 5790, 6002, 1040, 3560, 1199, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
gMonitor.addMark('RemoveFileFail',len(lfns))
gMonitor.addMark( 'RemoveFileFail', len( lfns ) )
def executeRequest(self): ################################################ # Get a request from request DB gMonitor.addMark( "Iteration", 1 ) res = self.RequestDBClient.getRequest('removal') if not res['OK']: gLogger.info("RemovalAgent.execute: Failed to get request from database.") return S_OK() elif not res['Value']: gLogger.info("RemovalAgent.execute: No requests to be executed found.") return S_OK() requestString = res['Value']['RequestString'] requestName = res['Value']['RequestName'] sourceServer= res['Value']['Server'] try: jobID = int(res['Value']['JobID']) except: jobID = 0 gLogger.info("RemovalAgent.execute: Obtained request %s" % requestName)
639c184ef75c7730d44d5168750f1731c63bf98b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/639c184ef75c7730d44d5168750f1731c63bf98b/RemovalAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 691, 12, 2890, 4672, 19709, 26487, 13151, 468, 968, 279, 590, 628, 590, 2383, 314, 7187, 18, 1289, 3882, 12, 315, 10795, 3113, 404, 262, 400, 273, 365, 18, 691, 2290, 1227, 18, 588, 691, 2668, 2764, 10866, 6134, 309, 486, 400, 3292, 3141, 3546, 30, 314, 3328, 18, 1376, 2932, 24543, 3630, 18, 8837, 30, 11175, 358, 336, 590, 628, 2063, 1199, 13, 327, 348, 67, 3141, 1435, 1327, 486, 400, 3292, 620, 3546, 30, 314, 3328, 18, 1376, 2932, 24543, 3630, 18, 8837, 30, 2631, 3285, 358, 506, 7120, 1392, 1199, 13, 327, 348, 67, 3141, 1435, 590, 780, 273, 400, 3292, 620, 21712, 691, 780, 3546, 590, 461, 273, 400, 3292, 620, 21712, 691, 461, 3546, 1084, 2081, 33, 400, 3292, 620, 21712, 2081, 3546, 775, 30, 28913, 273, 509, 12, 455, 3292, 620, 21712, 2278, 734, 19486, 1335, 30, 28913, 273, 374, 314, 3328, 18, 1376, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 691, 12, 2890, 4672, 19709, 26487, 13151, 468, 968, 279, 590, 628, 590, 2383, 314, 7187, 18, 1289, 3882, 12, 315, 10795, 3113, 404, 262, 400, 273, 365, 18, 691, 2290, 1227, 18, 588, 691, 2668, 2764, 10866, 6134, 309, 486, 400, 3292, 3141, 3546, 30, 314, 3328, 18, 1376, 2932, 24543, 3630, 18, 8837, 30, 11175, 358, 336, 590, 628, 2063, 1199, 13, 327, 348, 67, 3141, 1435, 1327, 486, 400, 3292, 620, 3546, 30, 314, 3328, 18, 1376, 2932, 24543, 3630, 18, 8837, 30, 2631, 3285, 358, 506, 7120, 1392, 1199, 13, 327, 348, 67, 3141, 1435, 590, 780, 273, 400, 3292, 620, 21712, 691, 780, 3546, 590, 461, 273, 400, 3292, 620, 21712, 691, 2 ]
self.display.text = str(self.X) self.resetInput = True
def operate(self, sender=None): if self.op == None: self.X = float(self.display.text) else: if self.op == '+': self.X = self.X + float(self.display.text) elif self.op == '-': self.X = self.X - float(self.display.text) elif self.op == '*': self.X = self.X * float(self.display.text) elif self.op == '/': self.X = self.X / float(self.display.text) self.op = sender.label self.display.text = str(self.X) self.resetInput = True
536f973b2acbe2a540c88d66603ea789ae894cfa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2750/536f973b2acbe2a540c88d66603ea789ae894cfa/calculator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20829, 12, 2890, 16, 5793, 33, 7036, 4672, 309, 365, 18, 556, 422, 599, 30, 365, 18, 60, 273, 1431, 12, 2890, 18, 5417, 18, 955, 13, 469, 30, 309, 365, 18, 556, 422, 15126, 4278, 365, 18, 60, 273, 365, 18, 60, 397, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 4014, 30, 365, 18, 60, 273, 365, 18, 60, 300, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 5306, 30, 365, 18, 60, 273, 365, 18, 60, 380, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 2023, 30, 365, 18, 60, 273, 365, 18, 60, 342, 1431, 12, 2890, 18, 5417, 18, 955, 13, 365, 18, 556, 273, 5793, 18, 1925, 365, 18, 5417, 18, 955, 273, 609, 12, 2890, 18, 60, 13, 365, 18, 6208, 1210, 273, 1053, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20829, 12, 2890, 16, 5793, 33, 7036, 4672, 309, 365, 18, 556, 422, 599, 30, 365, 18, 60, 273, 1431, 12, 2890, 18, 5417, 18, 955, 13, 469, 30, 309, 365, 18, 556, 422, 15126, 4278, 365, 18, 60, 273, 365, 18, 60, 397, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 4014, 30, 365, 18, 60, 273, 365, 18, 60, 300, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 5306, 30, 365, 18, 60, 273, 365, 18, 60, 380, 1431, 12, 2890, 18, 5417, 18, 955, 13, 1327, 365, 18, 556, 422, 2023, 30, 365, 18, 60, 273, 365, 18, 60, 342, 1431, 12, 2890, 18, 5417, 2 ]
self._lock.notify()
self._pool_to_worker.notify()
def AddTask(self, *args): """Adds a task to the queue.
53b1d12b5b5f675bc88c087d1832727190254aa1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/53b1d12b5b5f675bc88c087d1832727190254aa1/workerpool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 2174, 12, 2890, 16, 380, 1968, 4672, 3536, 3655, 279, 1562, 358, 326, 2389, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 2174, 12, 2890, 16, 380, 1968, 4672, 3536, 3655, 279, 1562, 358, 326, 2389, 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, -100 ]
else: try: backref[ 'post_update'] = r[ 'post_update' ] except KeyError: pass
else: for p in 'post_update remote_side'.split(): try: backref[ p] = r[p] except KeyError: pass
def append( self, *args, **kwargs): item = self._data_appender( *args,**kwargs) self._InstrumentedList__setrecord( item) #private __setrecord; was _before_ _data_appender
c6e6d29d58cddba0507d81952616e2383ac5d243 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10808/c6e6d29d58cddba0507d81952616e2383ac5d243/relation.py
[ 1, 8585, 326, 22398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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 12, 365, 16, 380, 1968, 16, 2826, 4333, 4672, 761, 273, 365, 6315, 892, 67, 6923, 264, 12, 380, 1968, 16, 636, 4333, 13, 365, 6315, 19228, 18073, 972, 542, 3366, 12, 761, 13, 565, 468, 1152, 1001, 542, 3366, 31, 1703, 389, 5771, 67, 389, 892, 67, 6923, 264, 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 ]
exclude_dirs=[], exclude_files=[], license=False, directive_vars={}):
exclude_dirs=[], exclude_files=[], directive_vars={}):
def export(src, dst, process_directives=True, keywords={}, exclude_dirs=[], exclude_files=[], license=False, directive_vars={}): """ Build from a directory to a directory. src: Source dir to build from dst: destination directory to build to process_directives: if true, process <!-- command.. directives in html/xml files Keywords: key/value pairs used for keyword replacement on the sources. As in, if the source files contain $date$ the keywords dict could contain {"$date$": "23.09.08"}, to insert that date into the sources. exclude_dirs: directoriy blacklist. Will not be included in the build exclude_files: file blacklist. Will not be included in the build license: path to a license file to append to sources directive_vars: a dictionary that will passed on to the diretive handling. Can be used to control the handling of the directives """ src = os.path.abspath(src); # make sure it's absolute # get a temporary place to do stuff tmpbase = tempfile.mkdtemp(".tmp", "dfbuild.") ## this is kinda dumb but copytree always copy to a non-extant subdir tmpdir = os.path.join(tmpbase, "src") shutil.copytree(src, tmpdir) if process_directives: _process_directive_files(tmpdir, directive_vars) # remove empty directories and stuff in the blacklist _clean_dir(tmpdir, exclude_dirs, exclude_files) if license: _add_license(tmpdir) if keywords: _add_keywords(tmpdir, keywords) #copy the stuff to its final destination and get rid of temp copy: if not os.path.isdir(dst): os.mkdir(dst) # stupid copy function to get around the must-put-in-subdir thingy in shutil.copytree for entry in os.listdir(tmpdir): path = os.path.join(tmpdir, entry) if os.path.isdir(path): shutil.copytree(path, os.path.join(dst, entry)) else: shutil.copy(os.path.join(tmpdir,entry), dst) shutil.rmtree(tmpbase)
37b54849deb6bdf7c00d651f2ae8c531736d4cef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10922/37b54849deb6bdf7c00d651f2ae8c531736d4cef/dfbuild.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 12, 4816, 16, 3046, 16, 1207, 67, 30850, 33, 5510, 16, 7093, 28793, 4433, 67, 8291, 22850, 6487, 4433, 67, 2354, 22850, 6487, 8655, 67, 4699, 12938, 4672, 3536, 3998, 628, 279, 1867, 358, 279, 1867, 18, 225, 1705, 30, 4998, 1577, 358, 1361, 628, 3046, 30, 2929, 1867, 358, 1361, 358, 1207, 67, 30850, 30, 309, 638, 16, 1207, 5719, 413, 1296, 838, 13877, 316, 1729, 19, 2902, 1390, 1929, 3753, 30, 498, 19, 1132, 5574, 1399, 364, 4932, 6060, 603, 326, 5550, 18, 2970, 316, 16, 309, 326, 1084, 1390, 912, 271, 712, 8, 326, 7093, 2065, 3377, 912, 12528, 8, 712, 8, 6877, 315, 4366, 18, 5908, 18, 6840, 6, 5779, 358, 2243, 716, 1509, 1368, 326, 5550, 18, 4433, 67, 8291, 30, 2657, 280, 77, 93, 11709, 18, 9980, 486, 506, 5849, 316, 326, 1361, 4433, 67, 2354, 30, 585, 11709, 18, 9980, 486, 506, 5849, 316, 326, 1361, 8630, 30, 589, 358, 279, 8630, 585, 358, 714, 358, 5550, 8655, 67, 4699, 30, 279, 3880, 716, 903, 2275, 603, 358, 326, 302, 577, 88, 688, 5057, 18, 4480, 506, 1399, 358, 3325, 326, 5057, 434, 326, 13877, 3536, 1705, 273, 1140, 18, 803, 18, 5113, 803, 12, 4816, 1769, 468, 1221, 3071, 518, 1807, 4967, 225, 468, 336, 279, 6269, 3166, 358, 741, 10769, 1853, 1969, 273, 13275, 18, 24816, 72, 5814, 2932, 18, 5645, 3113, 315, 2180, 3510, 1199, 13, 7541, 333, 353, 3846, 69, 302, 3592, 1496, 1610, 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, 3359, 12, 4816, 16, 3046, 16, 1207, 67, 30850, 33, 5510, 16, 7093, 28793, 4433, 67, 8291, 22850, 6487, 4433, 67, 2354, 22850, 6487, 8655, 67, 4699, 12938, 4672, 3536, 3998, 628, 279, 1867, 358, 279, 1867, 18, 225, 1705, 30, 4998, 1577, 358, 1361, 628, 3046, 30, 2929, 1867, 358, 1361, 358, 1207, 67, 30850, 30, 309, 638, 16, 1207, 5719, 413, 1296, 838, 13877, 316, 1729, 19, 2902, 1390, 1929, 3753, 30, 498, 19, 1132, 5574, 1399, 364, 4932, 6060, 603, 326, 5550, 18, 2970, 316, 16, 309, 326, 1084, 1390, 912, 271, 712, 8, 326, 7093, 2065, 3377, 912, 12528, 8, 712, 8, 6877, 315, 4366, 18, 5908, 18, 6840, 6, 5779, 358, 2243, 716, 2 ]
msg = email.MIMEMultipart.MIMEMultipart() msg['Subject'] = '[PATCH 0 of %d] %s' % (
subj = '[PATCH 0 of %d] %s' % (
def getaddrs(opt, prpt, default = None): addrs = opts[opt] or (ui.config('email', opt) or ui.config('patchbomb', opt) or prompt(prpt, default = default)).split(',') return [a.strip() for a in addrs if a.strip()]
e4dda3bf616ac422138217021ce114b3e3a79465 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/e4dda3bf616ac422138217021ce114b3e3a79465/patchbomb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23305, 12, 3838, 16, 846, 337, 16, 805, 273, 599, 4672, 11755, 273, 1500, 63, 3838, 65, 578, 261, 4881, 18, 1425, 2668, 3652, 2187, 2153, 13, 578, 5915, 18, 1425, 2668, 2272, 70, 16659, 2187, 2153, 13, 578, 6866, 12, 683, 337, 16, 805, 273, 805, 13, 2934, 4939, 12, 2187, 6134, 327, 306, 69, 18, 6406, 1435, 364, 279, 316, 11755, 309, 279, 18, 6406, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23305, 12, 3838, 16, 846, 337, 16, 805, 273, 599, 4672, 11755, 273, 1500, 63, 3838, 65, 578, 261, 4881, 18, 1425, 2668, 3652, 2187, 2153, 13, 578, 5915, 18, 1425, 2668, 2272, 70, 16659, 2187, 2153, 13, 578, 6866, 12, 683, 337, 16, 805, 273, 805, 13, 2934, 4939, 12, 2187, 6134, 327, 306, 69, 18, 6406, 1435, 364, 279, 316, 11755, 309, 279, 18, 6406, 1435, 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 ]
detach(args, 'network-detach', 'vif')
arg_check(args, 'network-detach', 2, 3) detach(args, 'vif')
def xm_network_detach(args): if serverType == SERVER_XEN_API: arg_check(args, "xm_network_detach", 2, 3) dom = args[0] devid = args[1] vif_refs = server.xenapi.VM.get_VIFs(get_single_vm(dom)) vif_refs = [vif_ref for vif_ref in vif_refs if server.xenapi.VIF.\ get_runtime_properties(vif_ref)["handle"] == devid] if len(vif_refs) > 0: vif_ref = vif_refs[0] server.xenapi.VIF.destroy(vif_ref) else: print "Cannot find device '%s' in domain '%s'" % (devid,dom) else: detach(args, 'network-detach', 'vif')
3702773d22470cd8c4d222b36e0e9aeab5fb6174 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6195/3702773d22470cd8c4d222b36e0e9aeab5fb6174/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25179, 67, 5185, 67, 8238, 497, 12, 1968, 4672, 309, 1438, 559, 422, 15061, 67, 60, 1157, 67, 2557, 30, 1501, 67, 1893, 12, 1968, 16, 315, 92, 81, 67, 5185, 67, 8238, 497, 3113, 576, 16, 890, 13, 4092, 273, 833, 63, 20, 65, 443, 1246, 273, 833, 63, 21, 65, 331, 430, 67, 9316, 273, 1438, 18, 92, 275, 2425, 18, 7397, 18, 588, 67, 4136, 12432, 12, 588, 67, 7526, 67, 3489, 12, 9859, 3719, 331, 430, 67, 9316, 273, 306, 90, 430, 67, 1734, 364, 331, 430, 67, 1734, 316, 331, 430, 67, 9316, 309, 1438, 18, 92, 275, 2425, 18, 4136, 42, 8403, 336, 67, 9448, 67, 4738, 12, 90, 430, 67, 1734, 13, 9614, 4110, 11929, 422, 443, 1246, 65, 309, 562, 12, 90, 430, 67, 9316, 13, 405, 374, 30, 331, 430, 67, 1734, 273, 331, 430, 67, 9316, 63, 20, 65, 225, 1438, 18, 92, 275, 2425, 18, 4136, 42, 18, 11662, 12, 90, 430, 67, 1734, 13, 469, 30, 1172, 315, 4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 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25179, 67, 5185, 67, 8238, 497, 12, 1968, 4672, 309, 1438, 559, 422, 15061, 67, 60, 1157, 67, 2557, 30, 1501, 67, 1893, 12, 1968, 16, 315, 92, 81, 67, 5185, 67, 8238, 497, 3113, 576, 16, 890, 13, 4092, 273, 833, 63, 20, 65, 443, 1246, 273, 833, 63, 21, 65, 331, 430, 67, 9316, 273, 1438, 18, 92, 275, 2425, 18, 7397, 18, 588, 67, 4136, 12432, 12, 588, 67, 7526, 67, 3489, 12, 9859, 3719, 331, 430, 67, 9316, 273, 306, 90, 430, 67, 1734, 364, 331, 430, 67, 1734, 316, 331, 430, 67, 9316, 309, 1438, 18, 92, 275, 2425, 18, 4136, 42, 8403, 336, 67, 9448, 67, 4738, 12, 90, 430, 67, 1734, 2 ]
- ``childs``: a function returning a list (or iterable)
- ``children``: a function returning a list (or iterable)
def search_forest_iterator(roots, childs): """ INPUT: - ``roots``: a list (or iterable) - ``childs``: a function returning a list (or iterable) Returns an iterator on the nodes of the forest having the given roots, and where ``child(x)`` returns the childs of the node ``x`` of the forest. EXAMPLES:: sage: from sage.combinat.backtrack import search_forest_iterator sage: list(search_forest_iterator([[]], lambda l: [l+[0], l+[1]] if len(l) < 3 else [])) [[], [0], [0, 0], [0, 0, 0], [0, 0, 1], [0, 1], [0, 1, 0], [0, 1, 1], [1], [1, 0], [1, 0, 0], [1, 0, 1], [1, 1], [1, 1, 0], [1, 1, 1]] """ #Invariant: stack[i] contains an iterator for the siblings of the i-th node of the current branch stack = [iter(roots)] while len(stack) > 0: # Try to get the next node at this depth try: node = stack[-1].next() except StopIteration: #If there are no more, go back up the tree # We also need to check if we've exhausted all # possibilities stack.pop() continue yield node stack.append( iter(childs(node)) )
0c5cb94bdc0dba9150cb164c00100196aa13fa7e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/0c5cb94bdc0dba9150cb164c00100196aa13fa7e/backtrack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 1405, 334, 67, 9838, 12, 22078, 16, 21619, 4672, 3536, 12943, 30, 225, 300, 12176, 22078, 10335, 30, 279, 666, 261, 280, 6087, 13, 225, 300, 12176, 5906, 10335, 30, 279, 445, 5785, 279, 666, 261, 280, 6087, 13, 225, 2860, 392, 2775, 603, 326, 2199, 434, 326, 30763, 7999, 326, 864, 12876, 16, 471, 1625, 12176, 3624, 12, 92, 13, 10335, 1135, 326, 21619, 434, 326, 756, 12176, 92, 10335, 434, 326, 30763, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 628, 272, 410, 18, 832, 4757, 270, 18, 823, 4101, 1930, 1623, 67, 1405, 334, 67, 9838, 272, 410, 30, 666, 12, 3072, 67, 1405, 334, 67, 9838, 3816, 8526, 6487, 3195, 328, 30, 306, 80, 15, 63, 20, 6487, 328, 15, 63, 21, 13563, 309, 562, 12, 80, 13, 411, 890, 469, 5378, 3719, 12167, 6487, 306, 20, 6487, 306, 20, 16, 374, 6487, 306, 20, 16, 374, 16, 374, 6487, 306, 20, 16, 374, 16, 404, 6487, 306, 20, 16, 404, 6487, 306, 20, 16, 404, 16, 374, 6487, 306, 20, 16, 404, 16, 404, 6487, 306, 21, 6487, 306, 21, 16, 374, 6487, 306, 21, 16, 374, 16, 374, 6487, 306, 21, 16, 374, 16, 404, 6487, 306, 21, 16, 404, 6487, 306, 21, 16, 404, 16, 374, 6487, 306, 21, 16, 404, 16, 404, 13563, 225, 3536, 225, 468, 382, 8688, 30, 2110, 63, 77, 65, 1914, 392, 2775, 364, 326, 14692, 434, 326, 277, 17, 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, 1623, 67, 1405, 334, 67, 9838, 12, 22078, 16, 21619, 4672, 3536, 12943, 30, 225, 300, 12176, 22078, 10335, 30, 279, 666, 261, 280, 6087, 13, 225, 300, 12176, 5906, 10335, 30, 279, 445, 5785, 279, 666, 261, 280, 6087, 13, 225, 2860, 392, 2775, 603, 326, 2199, 434, 326, 30763, 7999, 326, 864, 12876, 16, 471, 1625, 12176, 3624, 12, 92, 13, 10335, 1135, 326, 21619, 434, 326, 756, 12176, 92, 10335, 434, 326, 30763, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 628, 272, 410, 18, 832, 4757, 270, 18, 823, 4101, 1930, 1623, 67, 1405, 334, 67, 9838, 272, 410, 30, 666, 12, 3072, 67, 1405, 334, 67, 9838, 3816, 8526, 6487, 3195, 2 ]
self.__env = environment()
self.__env = environment
def __init__(self, bosstype, mainloop, mainstop): self.__mainloop = mainloop self.__mainstop = mainstop self.__env = environment() self.__boss = bosstype(application=self, env=self.__env) self.boss = self.__boss
8b6f6f9c243b0cd905fa6cd45577be2cf1989411 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2233/8b6f6f9c243b0cd905fa6cd45577be2cf1989411/application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23904, 27273, 16, 2774, 6498, 16, 2774, 5681, 4672, 365, 16186, 5254, 6498, 273, 2774, 6498, 365, 16186, 5254, 5681, 273, 2774, 5681, 365, 16186, 3074, 273, 3330, 365, 16186, 70, 8464, 273, 23904, 27273, 12, 3685, 33, 2890, 16, 1550, 33, 2890, 16186, 3074, 13, 365, 18, 70, 8464, 273, 365, 16186, 70, 8464, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23904, 27273, 16, 2774, 6498, 16, 2774, 5681, 4672, 365, 16186, 5254, 6498, 273, 2774, 6498, 365, 16186, 5254, 5681, 273, 2774, 5681, 365, 16186, 3074, 273, 3330, 365, 16186, 70, 8464, 273, 23904, 27273, 12, 3685, 33, 2890, 16, 1550, 33, 2890, 16186, 3074, 13, 365, 18, 70, 8464, 273, 365, 16186, 70, 8464, 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 ]
command = "mupkern -P e",
command = "mupkern -P e -U SAGE=TRUE",
def __init__(self, maxread=1000, script_subdirectory="", server=None, server_tmpdir=None, logfile=None): """ Create an instance of the MuPAD interpreter.
92797139c61d6fef4d37c572e10f34ce623445f3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/92797139c61d6fef4d37c572e10f34ce623445f3/mupad.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 943, 896, 33, 18088, 16, 2728, 67, 1717, 5149, 1546, 3113, 1438, 33, 7036, 16, 1438, 67, 5645, 1214, 33, 7036, 16, 15204, 33, 7036, 4672, 3536, 1788, 392, 791, 434, 326, 490, 89, 17962, 16048, 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, 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, 33, 7036, 16, 15204, 33, 7036, 4672, 3536, 1788, 392, 791, 434, 326, 490, 89, 17962, 16048, 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 ]
y = rowpos + cellstyle.bottomPadding+n*leading
y = rowpos + cellstyle.bottomPadding+n*leading-fontsize
def _drawCell(self, cellval, cellstyle, (colpos, rowpos), (colwidth, rowheight)): #print "cellstyle is ", repr(cellstyle), id(cellstyle) if self._curcellstyle is not cellstyle: cur = self._curcellstyle if cur is None or cellstyle.color != cur.color: #print "setting cell color to %s" % `cellstyle.color` self.canv.setFillColor(cellstyle.color) if cur is None or cellstyle.leading != cur.leading or cellstyle.fontname != cur.fontname or cellstyle.fontsize != cur.fontsize: #print "setting font: %s, %s, %s" % (cellstyle.fontname, cellstyle.fontsize, cellstyle.leading) self.canv.setFont(cellstyle.fontname, cellstyle.fontsize, cellstyle.leading) self._curcellstyle = cellstyle #print "leading is ", cellstyle.leading, "size is", cellstyle.fontsize just = cellstyle.alignment #print "alignment is ", just if just == 'LEFT': draw = self.canv.drawString x = colpos + cellstyle.leftPadding elif just in ('CENTRE', 'CENTER'): draw = self.canv.drawCentredString x = colpos + colwidth * 0.5 elif just == 'RIGHT': draw = self.canv.drawRightString x = colpos + colwidth - cellstyle.rightPadding else: raise ValueError, 'Invalid justification %s' % just
05bfe223624d1df66401c7f78a6ac81f78006d39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/05bfe223624d1df66401c7f78a6ac81f78006d39/tables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9446, 4020, 12, 2890, 16, 2484, 1125, 16, 2484, 4060, 16, 261, 1293, 917, 16, 1027, 917, 3631, 261, 1293, 2819, 16, 1027, 4210, 3719, 30, 468, 1188, 315, 3855, 4060, 353, 3104, 8480, 12, 3855, 4060, 3631, 612, 12, 3855, 4060, 13, 309, 365, 6315, 1397, 3855, 4060, 353, 486, 2484, 4060, 30, 662, 273, 365, 6315, 1397, 3855, 4060, 309, 662, 353, 599, 578, 2484, 4060, 18, 3266, 480, 662, 18, 3266, 30, 468, 1188, 315, 8920, 2484, 2036, 358, 738, 87, 6, 738, 1375, 3855, 4060, 18, 3266, 68, 365, 18, 4169, 90, 18, 542, 8026, 2957, 12, 3855, 4060, 18, 3266, 13, 309, 662, 353, 599, 578, 2484, 4060, 18, 27200, 480, 662, 18, 27200, 578, 2484, 4060, 18, 5776, 529, 480, 662, 18, 5776, 529, 578, 2484, 4060, 18, 23055, 480, 662, 18, 23055, 30, 468, 1188, 315, 8920, 3512, 30, 738, 87, 16, 738, 87, 16, 738, 87, 6, 738, 261, 3855, 4060, 18, 5776, 529, 16, 2484, 4060, 18, 23055, 16, 2484, 4060, 18, 27200, 13, 365, 18, 4169, 90, 18, 542, 5711, 12, 3855, 4060, 18, 5776, 529, 16, 2484, 4060, 18, 23055, 16, 2484, 4060, 18, 27200, 13, 365, 6315, 1397, 3855, 4060, 273, 2484, 4060, 468, 1188, 315, 27200, 353, 3104, 2484, 4060, 18, 27200, 16, 315, 1467, 353, 3113, 2484, 4060, 18, 23055, 2537, 273, 2484, 4060, 18, 14409, 468, 1188, 315, 14409, 353, 3104, 2537, 309, 2537, 422, 296, 10066, 4278, 3724, 273, 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, 9446, 4020, 12, 2890, 16, 2484, 1125, 16, 2484, 4060, 16, 261, 1293, 917, 16, 1027, 917, 3631, 261, 1293, 2819, 16, 1027, 4210, 3719, 30, 468, 1188, 315, 3855, 4060, 353, 3104, 8480, 12, 3855, 4060, 3631, 612, 12, 3855, 4060, 13, 309, 365, 6315, 1397, 3855, 4060, 353, 486, 2484, 4060, 30, 662, 273, 365, 6315, 1397, 3855, 4060, 309, 662, 353, 599, 578, 2484, 4060, 18, 3266, 480, 662, 18, 3266, 30, 468, 1188, 315, 8920, 2484, 2036, 358, 738, 87, 6, 738, 1375, 3855, 4060, 18, 3266, 68, 365, 18, 4169, 90, 18, 542, 8026, 2957, 12, 3855, 4060, 18, 3266, 13, 309, 662, 353, 599, 578, 2484, 4060, 18, 27200, 480, 662, 2 ]
(-0.440242867236, -0.567868371314, -0.695493875393)
(...0.440242867..., ...0.567868371..., ...0.695493875...)
def __call__(self, x, coerce=True, copy=True, check=True): r""" Create an element of this free module from x.
bbbbc10a89ee8b11acc8a239dfce4771061bb6f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/bbbbc10a89ee8b11acc8a239dfce4771061bb6f6/free_module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 12270, 33, 5510, 16, 1610, 33, 5510, 16, 866, 33, 5510, 4672, 436, 8395, 1788, 392, 930, 434, 333, 4843, 1605, 628, 619, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 12270, 33, 5510, 16, 1610, 33, 5510, 16, 866, 33, 5510, 4672, 436, 8395, 1788, 392, 930, 434, 333, 4843, 1605, 628, 619, 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 ]
def RoadTest(*args): return _micropolisengine.Micropolis_RoadTest(*args)
def RoadTest(*args): return _micropolisengine.Micropolis_RoadTest(*args)
b5b685557b485425648d051d7e3d94c4147e2076 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12485/b5b685557b485425648d051d7e3d94c4147e2076/micropolisengine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25097, 4709, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 54, 6189, 4709, 30857, 1968, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25097, 4709, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 54, 6189, 4709, 30857, 1968, 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 ]
installed.append(po)
dinst[po.pkgtup] = po; installed = dinst.values()
def doPackageLists(self, pkgnarrow='all'): """generates lists of packages, un-reduced, based on pkgnarrow option""" ygh = misc.GenericHolder() installed = [] available = [] updates = [] obsoletes = [] obsoletesTuples = [] recent = [] extras = []
1c8afd1b9302973702ee075866a8ceba344bb829 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5445/1c8afd1b9302973702ee075866a8ceba344bb829/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 2261, 7432, 12, 2890, 16, 2365, 1600, 7815, 2218, 454, 11, 4672, 3536, 3441, 815, 6035, 434, 5907, 16, 640, 17, 1118, 26372, 16, 2511, 603, 2365, 1600, 7815, 1456, 8395, 225, 677, 17680, 273, 20448, 18, 7014, 6064, 1435, 225, 5876, 273, 5378, 2319, 273, 5378, 4533, 273, 5378, 7160, 355, 278, 281, 273, 5378, 7160, 355, 278, 281, 25813, 273, 5378, 8399, 273, 5378, 11875, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 30, 1652, 741, 2261, 7432, 12, 2890, 16, 2365, 1600, 7815, 2218, 454, 11, 4672, 3536, 3441, 815, 6035, 434, 5907, 16, 640, 17, 1118, 26372, 16, 2511, 603, 2365, 1600, 7815, 1456, 8395, 225, 677, 17680, 273, 20448, 18, 7014, 6064, 1435, 225, 5876, 273, 5378, 2319, 273, 5378, 4533, 273, 5378, 7160, 355, 278, 281, 273, 5378, 7160, 355, 278, 281, 25813, 273, 5378, 8399, 273, 5378, 11875, 273, 5378, 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 ]
selfreader_job = proc.spawn_link_exception(self._reader)
proc.spawn(self._reader)
def __init__(self, msrpsession): self.msrpsession = msrpsession selfreader_job = proc.spawn_link_exception(self._reader)
09686f1abc38fa85767d85488004b0b1b42e0ac7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5703/09686f1abc38fa85767d85488004b0b1b42e0ac7/sip_im_session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4086, 86, 1121, 893, 4672, 365, 18, 959, 86, 1121, 893, 273, 4086, 86, 1121, 893, 365, 10530, 67, 4688, 273, 5418, 18, 1752, 9533, 67, 1232, 67, 4064, 12, 2890, 6315, 10530, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4086, 86, 1121, 893, 4672, 365, 18, 959, 86, 1121, 893, 273, 4086, 86, 1121, 893, 365, 10530, 67, 4688, 273, 5418, 18, 1752, 9533, 67, 1232, 67, 4064, 12, 2890, 6315, 10530, 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 ]
if index not in self.tabrows[-1]: for row in range(len(self.tabrows) - 2, -1, -1): if index in self.tabrows[row]: saverow = self.tabrows[row] self.tabrows[row] = self.tabrows[-1] self.tabrows[-1] = saverow
if index not in self.tabrows[self.currows[-1]]: for row in range(0, len(self.tabrows)): if index in self.tabrows[self.currows[row]]: saverow = self.currows[row] self.currows[row] = self.currows[-1] self.currows[-1] = saverow
def setCurrentTab(self, tab): if not tab or self.count() == 0: return if isinstance(tab, int): tab = self.tab(tab) if tab == self.currentTab(): return; index = self.indexOf(tab.identifier()) if index not in self.tabrows[-1]: for row in range(len(self.tabrows) - 2, -1, -1): if index in self.tabrows[row]: saverow = self.tabrows[row] self.tabrows[row] = self.tabrows[-1] self.tabrows[-1] = saverow self.layoutTabs() self.repaint() break QTabBar.setCurrentTab(self, tab)
76d9ea2f2340e175f4f7bdb5d591f85dd51e962a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6671/76d9ea2f2340e175f4f7bdb5d591f85dd51e962a/MultiTabBar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12589, 5661, 12, 2890, 16, 3246, 4672, 309, 486, 3246, 578, 365, 18, 1883, 1435, 422, 374, 30, 327, 309, 1549, 12, 7032, 16, 509, 4672, 3246, 273, 365, 18, 7032, 12, 7032, 13, 309, 3246, 422, 365, 18, 2972, 5661, 13332, 327, 31, 770, 273, 365, 18, 31806, 12, 7032, 18, 5644, 10756, 309, 770, 486, 316, 365, 18, 7032, 3870, 63, 2890, 18, 1397, 3870, 18919, 21, 13563, 30, 364, 1027, 316, 1048, 12, 20, 16, 562, 12, 2890, 18, 7032, 3870, 3719, 30, 309, 770, 316, 365, 18, 7032, 3870, 63, 2890, 18, 1397, 3870, 63, 492, 13563, 30, 7864, 502, 543, 273, 365, 18, 1397, 3870, 63, 492, 65, 365, 18, 1397, 3870, 63, 492, 65, 273, 365, 18, 1397, 3870, 18919, 21, 65, 365, 18, 1397, 3870, 18919, 21, 65, 273, 7864, 502, 543, 365, 18, 6741, 17348, 1435, 365, 18, 14462, 1598, 1435, 898, 2238, 5661, 5190, 18, 542, 3935, 5661, 12, 2890, 16, 3246, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12589, 5661, 12, 2890, 16, 3246, 4672, 309, 486, 3246, 578, 365, 18, 1883, 1435, 422, 374, 30, 327, 309, 1549, 12, 7032, 16, 509, 4672, 3246, 273, 365, 18, 7032, 12, 7032, 13, 309, 3246, 422, 365, 18, 2972, 5661, 13332, 327, 31, 770, 273, 365, 18, 31806, 12, 7032, 18, 5644, 10756, 309, 770, 486, 316, 365, 18, 7032, 3870, 63, 2890, 18, 1397, 3870, 18919, 21, 13563, 30, 364, 1027, 316, 1048, 12, 20, 16, 562, 12, 2890, 18, 7032, 3870, 3719, 30, 309, 770, 316, 365, 18, 7032, 3870, 63, 2890, 18, 1397, 3870, 63, 492, 13563, 30, 7864, 502, 543, 273, 365, 18, 1397, 3870, 63, 492, 65, 365, 18, 1397, 3870, 63, 2 ]
if len(activePlayers) < 2: bettingFinished = True break
def run(self): bettingFinished = False # Whether to re-open betting when a shorty goes all-in # and caps the betting reOpenBetting = False # Betting Round is closed. bettingClosed = False
6b37284f853a674723743852db7cd69122794534 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14397/6b37284f853a674723743852db7cd69122794534/rotator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2701, 1787, 10577, 273, 1083, 468, 17403, 358, 283, 17, 3190, 2701, 1787, 1347, 279, 3025, 93, 13998, 777, 17, 267, 468, 471, 15788, 326, 2701, 1787, 283, 3678, 38, 278, 1787, 273, 1083, 468, 605, 278, 1787, 11370, 353, 4375, 18, 2701, 1787, 7395, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2701, 1787, 10577, 273, 1083, 468, 17403, 358, 283, 17, 3190, 2701, 1787, 1347, 279, 3025, 93, 13998, 777, 17, 267, 468, 471, 15788, 326, 2701, 1787, 283, 3678, 38, 278, 1787, 273, 1083, 468, 605, 278, 1787, 11370, 353, 4375, 18, 2701, 1787, 7395, 273, 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, -100, -100, -100, -100, -100, -100 ]
return _node_id( node ) == 'contents'
return _node_class( node ) == 'contents'
def _is_toc_node( node ): return _node_id( node ) == 'contents'
594566144131a9ea678d1f59e8605fef59589a0f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5620/594566144131a9ea678d1f59e8605fef59589a0f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 291, 67, 1391, 67, 2159, 12, 756, 262, 30, 327, 389, 2159, 67, 1106, 12, 756, 262, 422, 296, 3980, 11, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 291, 67, 1391, 67, 2159, 12, 756, 262, 30, 327, 389, 2159, 67, 1106, 12, 756, 262, 422, 296, 3980, 11, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.body.append('\\\\\n')
if self.table is not None: self.body.append('\\newline\n') else: self.body.append('\\\\\n')
def depart_line(self, node): if self._line_start == len(self.body): # no output in this line -- add a nonbreaking space, else the # \\ command will give an error self.body.append('~') self.body.append('\\\\\n')
ab597c6a7e018776c4a65b0adcb4de272215aaa9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7032/ab597c6a7e018776c4a65b0adcb4de272215aaa9/latexwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 1369, 12, 2890, 16, 756, 4672, 309, 365, 6315, 1369, 67, 1937, 422, 562, 12, 2890, 18, 3432, 4672, 468, 1158, 876, 316, 333, 980, 1493, 527, 279, 1661, 8820, 310, 3476, 16, 469, 326, 468, 1736, 1296, 903, 8492, 392, 555, 365, 18, 3432, 18, 6923, 2668, 98, 6134, 365, 18, 3432, 18, 6923, 2668, 13011, 64, 82, 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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, 16, 756, 4672, 309, 365, 6315, 1369, 67, 1937, 422, 562, 12, 2890, 18, 3432, 4672, 468, 1158, 876, 316, 333, 980, 1493, 527, 279, 1661, 8820, 310, 3476, 16, 469, 326, 468, 1736, 1296, 903, 8492, 392, 555, 365, 18, 3432, 18, 6923, 2668, 98, 6134, 365, 18, 3432, 18, 6923, 2668, 13011, 64, 82, 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 ]
if root == p:
if osRoot == p:
def installPackage(self, appRunner): """ Mounts the package and sets up system paths so it becomes available for use. """
022851586674b662bcca0d3ad1f3f42ff84a052f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/022851586674b662bcca0d3ad1f3f42ff84a052f/PackageInfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 2261, 12, 2890, 16, 595, 9709, 4672, 3536, 13076, 87, 326, 2181, 471, 1678, 731, 2619, 2953, 1427, 518, 12724, 2319, 364, 999, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 2261, 12, 2890, 16, 595, 9709, 4672, 3536, 13076, 87, 326, 2181, 471, 1678, 731, 2619, 2953, 1427, 518, 12724, 2319, 364, 999, 18, 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 ]
pixbuf = gtk.gdk.pixbuf_new_from_file(shared.IMG_DIR + icon_image_standalone)
pixbuf = gtk.gdk.pixbuf_new_from_file(shared.IMG_DIR + shared.icon_image_standalone)
def generate_icon(self, data): print_debug("generate_icon() ip=%s hostname=%s"%(data['ip'], data['hostname']) ) iconview=gtk.IconView() model = gtk.ListStore(str, str, gtk.gdk.Pixbuf) if data['standalone']: pixbuf = gtk.gdk.pixbuf_new_from_file(shared.IMG_DIR + icon_image_standalone) else: pixbuf = gtk.gdk.pixbuf_new_from_file(shared.IMG_DIR + shared.icon_image_thin) if not data['active']: pixbuf.saturate_and_pixelate(pixbuf, 0.6, True) if data['image_blocked']: pixbuf2 = data['image_blocked'] pixbuf2.composite(pixbuf, 0, 0, pixbuf.props.width, pixbuf.props.height, 0, 0, 1.0, 1.0, gtk.gdk.INTERP_HYPER, 255) iconview.set_model(model) iconview.set_text_column(0) iconview.set_pixbuf_column(2) if hasattr(iconview.props, 'has_tooltip'): iconview.props.has_tooltip = True model.append([data['username'], data['ip'], pixbuf]) iconview.show() # in old versions of gtk we need to put explicity iconview size
507088534c6c0551cc3509bdb25d7bb0b65d7fd1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13520/507088534c6c0551cc3509bdb25d7bb0b65d7fd1/TcosClassView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 3950, 12, 2890, 16, 501, 4672, 1172, 67, 4148, 2932, 7163, 67, 3950, 1435, 2359, 5095, 87, 5199, 5095, 87, 6, 17105, 892, 3292, 625, 17337, 501, 3292, 10358, 19486, 262, 225, 4126, 1945, 33, 4521, 79, 18, 5554, 1767, 1435, 938, 273, 22718, 18, 682, 2257, 12, 701, 16, 609, 16, 22718, 18, 75, 2883, 18, 21816, 4385, 13, 309, 501, 3292, 10145, 12451, 3546, 30, 11871, 4385, 273, 22718, 18, 75, 2883, 18, 14861, 4385, 67, 2704, 67, 2080, 67, 768, 12, 11574, 18, 3445, 43, 67, 4537, 397, 5116, 18, 3950, 67, 2730, 67, 10145, 12451, 13, 469, 30, 11871, 4385, 273, 22718, 18, 75, 2883, 18, 14861, 4385, 67, 2704, 67, 2080, 67, 768, 12, 11574, 18, 3445, 43, 67, 4537, 397, 5116, 18, 3950, 67, 2730, 67, 451, 267, 13, 225, 309, 486, 501, 3292, 3535, 3546, 30, 11871, 4385, 18, 12973, 295, 340, 67, 464, 67, 11743, 340, 12, 14861, 4385, 16, 374, 18, 26, 16, 1053, 13, 225, 309, 501, 3292, 2730, 67, 23156, 3546, 30, 11871, 4385, 22, 273, 501, 3292, 2730, 67, 23156, 3546, 11871, 4385, 22, 18, 27676, 12, 14861, 4385, 16, 374, 16, 374, 16, 11871, 4385, 18, 9693, 18, 2819, 16, 11871, 4385, 18, 9693, 18, 4210, 16, 374, 16, 374, 16, 404, 18, 20, 16, 404, 18, 20, 16, 22718, 18, 75, 2883, 18, 9125, 52, 67, 44, 61, 3194, 16, 4561, 13, 225, 4126, 1945, 18, 542, 67, 2284, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 3950, 12, 2890, 16, 501, 4672, 1172, 67, 4148, 2932, 7163, 67, 3950, 1435, 2359, 5095, 87, 5199, 5095, 87, 6, 17105, 892, 3292, 625, 17337, 501, 3292, 10358, 19486, 262, 225, 4126, 1945, 33, 4521, 79, 18, 5554, 1767, 1435, 938, 273, 22718, 18, 682, 2257, 12, 701, 16, 609, 16, 22718, 18, 75, 2883, 18, 21816, 4385, 13, 309, 501, 3292, 10145, 12451, 3546, 30, 11871, 4385, 273, 22718, 18, 75, 2883, 18, 14861, 4385, 67, 2704, 67, 2080, 67, 768, 12, 11574, 18, 3445, 43, 67, 4537, 397, 5116, 18, 3950, 67, 2730, 67, 10145, 12451, 13, 469, 30, 11871, 4385, 273, 22718, 18, 75, 2883, 18, 14861, 4385, 67, 2704, 67, 2080, 2 ]
if seq not in self.wait_queue:
if seq not in self._wait_queue:
def handle_packet(self, packet): # FIXME: loads() could raise an exception if trying to unpickle an # unknown object (like an exception). (seq, packet_type, data) = cPickle.loads(packet) if packet_type[:3] == "REP": _debug(1, "-> REPLY: seq=%d, type=%s, data=%d" % (seq, packet_type, len(packet))) if seq not in self.wait_queue: _debug(1, "WARNING: received reply for unknown sequence (%d)" % seq) return
3ba78ab154465b2ff0620e0ded429951a6f040f0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/3ba78ab154465b2ff0620e0ded429951a6f040f0/ipc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 11482, 12, 2890, 16, 4414, 4672, 468, 9852, 30, 6277, 1435, 3377, 1002, 392, 1520, 309, 8374, 358, 640, 20847, 392, 468, 5917, 733, 261, 5625, 392, 1520, 2934, 261, 5436, 16, 4414, 67, 723, 16, 501, 13, 273, 276, 17968, 298, 18, 17135, 12, 11482, 13, 309, 4414, 67, 723, 10531, 23, 65, 422, 315, 28879, 6877, 389, 4148, 12, 21, 16, 315, 2122, 2438, 23893, 30, 3833, 5095, 72, 16, 618, 5095, 87, 16, 501, 5095, 72, 6, 738, 261, 5436, 16, 4414, 67, 723, 16, 562, 12, 11482, 20349, 309, 3833, 486, 316, 365, 6315, 7048, 67, 4000, 30, 389, 4148, 12, 21, 16, 225, 315, 9511, 30, 5079, 4332, 364, 5917, 3102, 6142, 72, 2225, 738, 3833, 13, 327, 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, 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8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 11482, 12, 2890, 16, 4414, 4672, 468, 9852, 30, 6277, 1435, 3377, 1002, 392, 1520, 309, 8374, 358, 640, 20847, 392, 468, 5917, 733, 261, 5625, 392, 1520, 2934, 261, 5436, 16, 4414, 67, 723, 16, 501, 13, 273, 276, 17968, 298, 18, 17135, 12, 11482, 13, 309, 4414, 67, 723, 10531, 23, 65, 422, 315, 28879, 6877, 389, 4148, 12, 21, 16, 315, 2122, 2438, 23893, 30, 3833, 5095, 72, 16, 618, 5095, 87, 16, 501, 5095, 72, 6, 738, 261, 5436, 16, 4414, 67, 723, 16, 562, 12, 11482, 20349, 309, 3833, 486, 316, 365, 6315, 7048, 67, 4000, 30, 389, 4148, 12, 21, 16, 225, 315, 9511, 30, 5079, 4332, 364, 5917, 3102, 2 ]
while step < len(code): op = ord(code[step])
while step < len(co.co_code): op = ord(co.co_code[step])
def getargs(co): """Get information about the arguments accepted by a code object. Three things are returned: (args, varargs, varkw), where 'args' is a list of argument names (possibly containing nested lists), and 'varargs' and 'varkw' are the names of the * and ** arguments or None.""" if not iscode(co): raise TypeError('arg is not a code object') code = co.co_code nargs = co.co_argcount names = co.co_varnames args = list(names[:nargs]) step = 0 # The following acrobatics are for anonymous (tuple) arguments. for i in range(nargs): if args[i][:1] in ('', '.'): stack, remain, count = [], [], [] while step < len(code): op = ord(code[step]) step = step + 1 if op >= dis.HAVE_ARGUMENT: opname = dis.opname[op] value = ord(code[step]) + ord(code[step+1])*256 step = step + 2 if opname in ('UNPACK_TUPLE', 'UNPACK_SEQUENCE'): remain.append(value) count.append(value) elif opname == 'STORE_FAST': stack.append(names[value]) # Special case for sublists of length 1: def foo((bar)) # doesn't generate the UNPACK_TUPLE bytecode, so if # `remain` is empty here, we have such a sublist. if not remain: stack[0] = [stack[0]] break else: remain[-1] = remain[-1] - 1 while remain[-1] == 0: remain.pop() size = count.pop() stack[-size:] = [stack[-size:]] if not remain: break remain[-1] = remain[-1] - 1 if not remain: break args[i] = stack[0] varargs = None if co.co_flags & CO_VARARGS: varargs = co.co_varnames[nargs] nargs = nargs + 1 varkw = None if co.co_flags & CO_VARKEYWORDS: varkw = co.co_varnames[nargs] return args, varargs, varkw
bc5fbd9f8c1a271557846d7aa7a428ae25f901e8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/bc5fbd9f8c1a271557846d7aa7a428ae25f901e8/inspect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1968, 12, 2894, 4672, 3536, 967, 1779, 2973, 326, 1775, 8494, 635, 279, 981, 733, 18, 225, 935, 992, 9198, 854, 2106, 30, 261, 1968, 16, 19732, 16, 569, 9987, 3631, 1625, 296, 1968, 11, 353, 279, 666, 434, 1237, 1257, 261, 917, 8781, 4191, 4764, 6035, 3631, 471, 296, 1401, 1968, 11, 471, 296, 90, 1313, 91, 11, 854, 326, 1257, 434, 326, 380, 471, 2826, 1775, 578, 599, 12123, 225, 309, 486, 353, 710, 12, 2894, 4672, 1002, 3580, 2668, 3175, 353, 486, 279, 981, 733, 6134, 225, 981, 273, 1825, 18, 2894, 67, 710, 14440, 273, 1825, 18, 2894, 67, 3175, 1883, 1257, 273, 1825, 18, 2894, 67, 90, 1303, 753, 833, 273, 666, 12, 1973, 10531, 82, 1968, 5717, 2235, 273, 374, 225, 468, 1021, 3751, 1721, 303, 28260, 2102, 854, 364, 13236, 261, 8052, 13, 1775, 18, 364, 277, 316, 1048, 12, 82, 1968, 4672, 309, 833, 63, 77, 6362, 30, 21, 65, 316, 7707, 2187, 2611, 4672, 2110, 16, 7232, 16, 1056, 273, 5378, 16, 5378, 16, 5378, 1323, 2235, 411, 562, 12, 2894, 18, 2894, 67, 710, 4672, 1061, 273, 4642, 12, 2894, 18, 2894, 67, 710, 63, 4119, 5717, 2235, 273, 2235, 397, 404, 309, 1061, 1545, 1015, 18, 19191, 3412, 67, 18311, 30, 30273, 273, 1015, 18, 556, 529, 63, 556, 65, 460, 273, 4642, 12, 710, 63, 4119, 5717, 397, 4642, 12, 710, 63, 4119, 15, 21, 5717, 14, 5034, 2235, 273, 2235, 397, 576, 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, 336, 1968, 12, 2894, 4672, 3536, 967, 1779, 2973, 326, 1775, 8494, 635, 279, 981, 733, 18, 225, 935, 992, 9198, 854, 2106, 30, 261, 1968, 16, 19732, 16, 569, 9987, 3631, 1625, 296, 1968, 11, 353, 279, 666, 434, 1237, 1257, 261, 917, 8781, 4191, 4764, 6035, 3631, 471, 296, 1401, 1968, 11, 471, 296, 90, 1313, 91, 11, 854, 326, 1257, 434, 326, 380, 471, 2826, 1775, 578, 599, 12123, 225, 309, 486, 353, 710, 12, 2894, 4672, 1002, 3580, 2668, 3175, 353, 486, 279, 981, 733, 6134, 225, 981, 273, 1825, 18, 2894, 67, 710, 14440, 273, 1825, 18, 2894, 67, 3175, 1883, 1257, 273, 1825, 18, 2894, 67, 90, 1303, 753, 833, 273, 666, 2 ]
time_started, info = self.worker_tracker[worker.thread_id]
def kill_hung_threads(self): """ Tries to kill any hung threads """ if not self.kill_thread_limit: # No killing should occur return now = time.time() max_time = 0 total_time = 0 idle_workers = 0 starting_workers = 0 working_workers = 0 killed_workers = 0 for worker in self.workers: if not hasattr(worker, 'thread_id'): # Not setup yet starting_workers += 1 continue if worker.thread_id not in self.worker_tracker: # Must be idle idle_workers += 1 continue working_workers += 1 time_started, info = self.worker_tracker[worker.thread_id] max_time = max(max_time, now-time_started) total_time += now-time_started if now - time_started > self.kill_thread_limit: self.logger.warning( 'Thread %s hung (working on task for %i seconds)', worker.thread_id, now - time_started) try: import pprint info_desc = pprint.pformat(info) except: out = StringIO() traceback.print_exc(file=out) info_desc = 'Error:\n%s' % out.getvalue() self.notify_problem( "Killing worker thread (id=%(thread_id)s) because it has been \n" "working on task for %(time)s seconds (limit is %(limit)s)\n" "Info on task:\n" "%(info)s" % dict(thread_id=worker.thread_id, time=now - time_started, limit=self.kill_thread_limit, info=info_desc)) self.kill_worker(worker.thread_id) killed_workers += 1 if working_workers: ave_time = float(total_time) / working_workers ave_time = '%.2fsec' % ave_time else: ave_time = 'N/A' self.logger.info( "kill_hung_threads status: %s threads (%s working, %s idle, %s starting) " "ave time %s, max time %.2fsec, killed %s workers" % (idle_workers + starting_workers + working_workers, working_workers, idle_workers, starting_workers, ave_time, max_time, killed_workers)) self.check_max_zombies()
a6f337f03524970069ede4c30bff37817e79d4f2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11400/a6f337f03524970069ede4c30bff37817e79d4f2/httpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 67, 76, 20651, 67, 12495, 12, 2890, 4672, 3536, 10000, 281, 358, 8673, 1281, 366, 20651, 7403, 3536, 309, 486, 365, 18, 16418, 67, 5930, 67, 3595, 30, 468, 2631, 417, 5789, 1410, 3334, 327, 2037, 273, 813, 18, 957, 1435, 943, 67, 957, 273, 374, 2078, 67, 957, 273, 374, 12088, 67, 15625, 273, 374, 5023, 67, 15625, 273, 374, 5960, 67, 15625, 273, 374, 24859, 67, 15625, 273, 374, 364, 4322, 316, 365, 18, 15625, 30, 309, 486, 3859, 12, 10124, 16, 296, 5930, 67, 350, 11, 4672, 468, 2288, 3875, 4671, 5023, 67, 15625, 1011, 404, 1324, 309, 4322, 18, 5930, 67, 350, 486, 316, 365, 18, 10124, 67, 16543, 30, 468, 6753, 506, 12088, 12088, 67, 15625, 1011, 404, 1324, 5960, 67, 15625, 1011, 404, 943, 67, 957, 273, 943, 12, 1896, 67, 957, 16, 2037, 17, 957, 67, 14561, 13, 2078, 67, 957, 1011, 2037, 17, 957, 67, 14561, 309, 2037, 300, 813, 67, 14561, 405, 365, 18, 16418, 67, 5930, 67, 3595, 30, 365, 18, 4901, 18, 8551, 12, 296, 3830, 738, 87, 366, 20651, 261, 20478, 603, 1562, 364, 738, 77, 3974, 13, 2187, 4322, 18, 5930, 67, 350, 16, 2037, 300, 813, 67, 14561, 13, 775, 30, 1930, 18771, 1123, 67, 5569, 273, 18771, 18, 84, 2139, 12, 1376, 13, 1335, 30, 596, 273, 15777, 1435, 10820, 18, 1188, 67, 10075, 12, 768, 33, 659, 13, 1123, 67, 5569, 273, 296, 668, 5581, 82, 9, 87, 11, 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, 8673, 67, 76, 20651, 67, 12495, 12, 2890, 4672, 3536, 10000, 281, 358, 8673, 1281, 366, 20651, 7403, 3536, 309, 486, 365, 18, 16418, 67, 5930, 67, 3595, 30, 468, 2631, 417, 5789, 1410, 3334, 327, 2037, 273, 813, 18, 957, 1435, 943, 67, 957, 273, 374, 2078, 67, 957, 273, 374, 12088, 67, 15625, 273, 374, 5023, 67, 15625, 273, 374, 5960, 67, 15625, 273, 374, 24859, 67, 15625, 273, 374, 364, 4322, 316, 365, 18, 15625, 30, 309, 486, 3859, 12, 10124, 16, 296, 5930, 67, 350, 11, 4672, 468, 2288, 3875, 4671, 5023, 67, 15625, 1011, 404, 1324, 309, 4322, 18, 5930, 67, 350, 486, 316, 365, 18, 10124, 67, 16543, 30, 468, 6753, 506, 2 ]
quantity, uom_id = 0.0, product2uom[line.product.id]
def complete_lines(self, cursor, user, ids, context=None): ''' Complete or update the inventories
9e27d1d321ded9cf2ad2493cbd9b6ff38a9bad6a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9298/9e27d1d321ded9cf2ad2493cbd9b6ff38a9bad6a/inventory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3912, 67, 3548, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 9163, 14575, 578, 1089, 326, 316, 616, 2401, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3912, 67, 3548, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 9163, 14575, 578, 1089, 326, 316, 616, 2401, 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 ]
for tc in _types_callback: tc(klass, package)
def registerType(klass, package=None): if not package: package = _guessPackage(klass.__module__) ## registering a class results in classgen doing its thing ## Set up accessor/mutators and sane meta/portal_type generateClass(klass) data = { 'klass' : klass, 'name' : klass.meta_type, 'portal_type': klass.portal_type, 'package' : package, 'module' : sys.modules[klass.__module__], 'schema' : klass.schema, 'signature' : klass.schema.signature(), # backward compatibility, remove later 'type' : klass.schema, } key = "%s.%s" % (package, klass.meta_type) _types[key] = data for tc in _types_callback: tc(klass, package)
b9ae4b1f416be2a606a7ac40b22a9cbe66f10590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/b9ae4b1f416be2a606a7ac40b22a9cbe66f10590/ArchetypeTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 559, 12, 22626, 16, 2181, 33, 7036, 4672, 309, 486, 2181, 30, 2181, 273, 389, 20885, 2261, 12, 22626, 16186, 2978, 972, 13, 225, 7541, 22845, 279, 667, 1686, 316, 667, 4507, 9957, 2097, 7757, 7541, 1000, 731, 9789, 19, 10735, 3062, 471, 30426, 2191, 19, 24386, 67, 723, 2103, 797, 12, 22626, 13, 225, 501, 273, 288, 296, 22626, 11, 294, 7352, 16, 296, 529, 11, 225, 294, 7352, 18, 3901, 67, 723, 16, 296, 24386, 67, 723, 4278, 7352, 18, 24386, 67, 723, 16, 296, 5610, 11, 294, 2181, 16, 296, 2978, 11, 294, 2589, 18, 6400, 63, 22626, 16186, 2978, 972, 6487, 296, 4821, 11, 294, 7352, 18, 4821, 16, 296, 8195, 11, 294, 7352, 18, 4821, 18, 8195, 9334, 468, 12555, 8926, 16, 1206, 5137, 296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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 559, 12, 22626, 16, 2181, 33, 7036, 4672, 309, 486, 2181, 30, 2181, 273, 389, 20885, 2261, 12, 22626, 16186, 2978, 972, 13, 225, 7541, 22845, 279, 667, 1686, 316, 667, 4507, 9957, 2097, 7757, 7541, 1000, 731, 9789, 19, 10735, 3062, 471, 30426, 2191, 19, 24386, 67, 723, 2103, 797, 12, 22626, 13, 225, 501, 273, 288, 296, 22626, 11, 294, 7352, 16, 296, 529, 11, 225, 294, 7352, 18, 3901, 67, 723, 16, 296, 24386, 67, 723, 4278, 7352, 18, 24386, 67, 723, 16, 296, 5610, 11, 294, 2181, 16, 296, 2978, 11, 294, 2589, 18, 6400, 63, 22626, 16186, 2978, 972, 6487, 296, 4821, 11, 294, 7352, 18, 4821, 16, 296, 8195, 11, 294, 2 ]
True
True
def has_element(self, item): """ Returns boolean value of "item in self" - however *ignores* parentage. EXAMPLES:: sage: G = CyclicPermutationGroup(4) sage: gens = G.gens() sage: H = DihedralGroup(4) sage: g = G([(1,2,3,4)]); g (1,2,3,4) sage: G.has_element(g) True sage: h = H([(1,2),(3,4)]); h (1,2)(3,4) sage: G.has_element(h) False """ item = PermutationGroupElement(item, self, check=False) return item in self.list()
895e1ae73086b953ed8633605c018ded03126ea2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/895e1ae73086b953ed8633605c018ded03126ea2/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 711, 67, 2956, 12, 2890, 16, 761, 4672, 3536, 2860, 1250, 460, 434, 315, 1726, 316, 365, 6, 300, 14025, 380, 724, 3485, 14, 982, 410, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 22337, 18964, 9123, 9245, 1114, 12, 24, 13, 272, 410, 30, 314, 773, 273, 611, 18, 23730, 1435, 272, 410, 30, 670, 273, 463, 7392, 329, 23811, 1114, 12, 24, 13, 272, 410, 30, 314, 273, 611, 3816, 12, 21, 16, 22, 16, 23, 16, 24, 13, 19226, 314, 261, 21, 16, 22, 16, 23, 16, 24, 13, 272, 410, 30, 611, 18, 5332, 67, 2956, 12, 75, 13, 1053, 272, 410, 30, 366, 273, 670, 3816, 12, 21, 16, 22, 3631, 12, 23, 16, 24, 13, 19226, 366, 261, 21, 16, 22, 21433, 23, 16, 24, 13, 272, 410, 30, 611, 18, 5332, 67, 2956, 12, 76, 13, 1083, 3536, 761, 273, 13813, 9245, 1114, 1046, 12, 1726, 16, 365, 16, 866, 33, 8381, 13, 327, 761, 316, 365, 18, 1098, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 711, 67, 2956, 12, 2890, 16, 761, 4672, 3536, 2860, 1250, 460, 434, 315, 1726, 316, 365, 6, 300, 14025, 380, 724, 3485, 14, 982, 410, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 22337, 18964, 9123, 9245, 1114, 12, 24, 13, 272, 410, 30, 314, 773, 273, 611, 18, 23730, 1435, 272, 410, 30, 670, 273, 463, 7392, 329, 23811, 1114, 12, 24, 13, 272, 410, 30, 314, 273, 611, 3816, 12, 21, 16, 22, 16, 23, 16, 24, 13, 19226, 314, 261, 21, 16, 22, 16, 23, 16, 24, 13, 272, 410, 30, 611, 18, 5332, 67, 2956, 12, 75, 13, 1053, 272, 410, 30, 366, 273, 670, 3816, 12, 21, 16, 2 ]
('strtofr', [Mpfr, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p),
('strtofr', [IMpfr, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p),
def error_on_failure(result, func, args): if result: raise ValueError("call failed") return result
b450c0023d8375a0580fdd1ed0db290a5d5cd85a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7048/b450c0023d8375a0580fdd1ed0db290a5d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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 555, 67, 265, 67, 12251, 12, 2088, 16, 1326, 16, 833, 4672, 309, 563, 30, 1002, 2068, 2932, 1991, 2535, 7923, 327, 563, 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 ]
print ' '*_colwidth,
weeks.append('')
def prcal(year): """Print a year's calendar.""" header = weekheader(2) format3c('', `year`, '') for q in range(January, January+12, 3): print format3c(month_name[q], month_name[q+1], month_name[q+2]) format3c(header, header, header) data = [] height = 0 for month in range(q, q+3): cal = monthcalendar(year, month) if len(cal) > height: height = len(cal) data.append(cal) for i in range(height): for cal in data: if i >= len(cal): print ' '*_colwidth, else: prweek(cal[i], 2) print _spacing, print
ad3bc44d52b9b9c1f1c7449d0991138fed5fe978 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/ad3bc44d52b9b9c1f1c7449d0991138fed5fe978/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 846, 771, 12, 6874, 4672, 3536, 5108, 279, 3286, 1807, 5686, 12123, 1446, 273, 4860, 3374, 12, 22, 13, 740, 23, 71, 2668, 2187, 1375, 6874, 9191, 28707, 364, 1043, 316, 1048, 12, 46, 304, 24335, 16, 23214, 24335, 15, 2138, 16, 890, 4672, 1172, 740, 23, 71, 12, 7496, 67, 529, 63, 85, 6487, 3138, 67, 529, 63, 85, 15, 21, 6487, 3138, 67, 529, 63, 85, 15, 22, 5717, 740, 23, 71, 12, 3374, 16, 1446, 16, 1446, 13, 501, 273, 5378, 2072, 273, 374, 364, 3138, 316, 1048, 12, 85, 16, 1043, 15, 23, 4672, 1443, 273, 3138, 11650, 12, 6874, 16, 3138, 13, 309, 562, 12, 771, 13, 405, 2072, 30, 2072, 273, 562, 12, 771, 13, 501, 18, 6923, 12, 771, 13, 364, 277, 316, 1048, 12, 4210, 4672, 364, 1443, 316, 501, 30, 309, 277, 1545, 562, 12, 771, 4672, 17314, 18, 6923, 2668, 6134, 469, 30, 846, 10741, 12, 771, 63, 77, 6487, 576, 13, 1172, 389, 14080, 16, 1172, 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,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4672, 1172, 740, 23, 71, 12, 7496, 67, 529, 63, 85, 6487, 3138, 67, 529, 63, 85, 15, 21, 6487, 3138, 67, 529, 63, 85, 15, 22, 5717, 740, 23, 71, 12, 3374, 16, 1446, 16, 1446, 13, 501, 273, 5378, 2072, 273, 374, 364, 3138, 316, 1048, 12, 85, 16, 1043, 15, 23, 4672, 1443, 273, 3138, 11650, 12, 6874, 16, 3138, 13, 309, 562, 12, 771, 13, 405, 2072, 30, 2072, 273, 562, 2 ]
def get_table_style(style_css, attributes, start, stop):
def _get_table_style(style_css, start, stop):
def get_table_style(style_css, attributes, start, stop): table_style = [] # bufferize the border border_css_buffer = {} border_css = {} for key, value in style_css.iteritems(): if key.startswith('border'): border_value = compute_table_border(key, value) if border_value: border_css_buffer[key] = border_value elif key.startswith('padding'): table_style.extend(table_padding_style(key, value, start, stop)) elif key.startswith('background'): table_style.extend(table_bg_style(key, value, start, stop)) elif key.endswith('align'): table_style.extend(table_align_style(key, value, start, stop)) elif key == 'font-family': rl_value = get_font_name(value) table_style.extend([('FONT', start, stop, rl_value)]) elif key == 'line-height': rl_value = format_size(value) table_style.extend([('LEADING', start, stop, rl_value)]) #for key, value in attributes.iteritems(): # #if key == (None, 'border') and start == (0, 0) and stop == (-1,-1): # # border.update(p_border_style('border-width', value)) # if key[0] == None and key[1] in ATTR_TO_STYLE.keys(): # function, style_key = ATTR_TO_STYLE[key[1]] # table_style.extend(function(style_key, value, start, stop)) keys = border_css_buffer.keys() keys.sort() # revert keys to avoid css inheritance for key in keys: border_css.update(border_css_buffer[key]) table_style.extend(table_css_border_to_rl_table_style(border_css, start, stop)) return table_style
2d260b4ad17a5a4e60f9024a9ed933dc5dd6cbe8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/2d260b4ad17a5a4e60f9024a9ed933dc5dd6cbe8/style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1652, 389, 588, 67, 2121, 67, 4060, 12, 4060, 67, 5212, 16, 787, 16, 2132, 4672, 1014, 67, 4060, 273, 5378, 468, 1613, 554, 326, 5795, 5795, 67, 5212, 67, 4106, 273, 2618, 5795, 67, 5212, 273, 2618, 225, 364, 498, 16, 460, 316, 2154, 67, 5212, 18, 2165, 3319, 13332, 309, 498, 18, 17514, 1918, 2668, 8815, 11, 4672, 5795, 67, 1132, 273, 3671, 67, 2121, 67, 8815, 12, 856, 16, 460, 13, 309, 5795, 67, 1132, 30, 5795, 67, 5212, 67, 4106, 63, 856, 65, 273, 5795, 67, 1132, 1327, 498, 18, 17514, 1918, 2668, 9598, 11, 4672, 1014, 67, 4060, 18, 14313, 12, 2121, 67, 9598, 67, 4060, 12, 856, 16, 460, 16, 787, 16, 2132, 3719, 1327, 498, 18, 17514, 1918, 2668, 9342, 11, 4672, 1014, 67, 4060, 18, 14313, 12, 2121, 67, 12370, 67, 4060, 12, 856, 16, 460, 16, 787, 16, 2132, 3719, 1327, 498, 18, 5839, 1918, 2668, 7989, 11, 4672, 1014, 67, 4060, 18, 14313, 12, 2121, 67, 7989, 67, 4060, 12, 856, 16, 460, 16, 787, 16, 2132, 3719, 1327, 498, 422, 296, 5776, 17, 9309, 4278, 11618, 67, 1132, 273, 336, 67, 5776, 67, 529, 12, 1132, 13, 1014, 67, 4060, 18, 14313, 3816, 2668, 25221, 2187, 787, 16, 2132, 16, 11618, 67, 1132, 13, 5717, 1327, 498, 422, 296, 1369, 17, 4210, 4278, 11618, 67, 1132, 273, 740, 67, 1467, 12, 1132, 13, 1014, 67, 4060, 18, 14313, 3816, 2668, 900, 30118, 2187, 787, 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, 225, 1652, 389, 588, 67, 2121, 67, 4060, 12, 4060, 67, 5212, 16, 787, 16, 2132, 4672, 1014, 67, 4060, 273, 5378, 468, 1613, 554, 326, 5795, 5795, 67, 5212, 67, 4106, 273, 2618, 5795, 67, 5212, 273, 2618, 225, 364, 498, 16, 460, 316, 2154, 67, 5212, 18, 2165, 3319, 13332, 309, 498, 18, 17514, 1918, 2668, 8815, 11, 4672, 5795, 67, 1132, 273, 3671, 67, 2121, 67, 8815, 12, 856, 16, 460, 13, 309, 5795, 67, 1132, 30, 5795, 67, 5212, 67, 4106, 63, 856, 65, 273, 5795, 67, 1132, 1327, 498, 18, 17514, 1918, 2668, 9598, 11, 4672, 1014, 67, 4060, 18, 14313, 12, 2121, 67, 9598, 67, 4060, 12, 856, 16, 460, 16, 787, 16, 2 ]
self._long_text.encode('ascii', 'replace'))
long_text)
def _Handle(self, output_stream, input_stream, may_prompt=True): """Writes this result to the output stream.
e562878c22c88e363eba556716d55e692c2056e7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/e562878c22c88e363eba556716d55e692c2056e7/presubmit_support.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3259, 12, 2890, 16, 876, 67, 3256, 16, 810, 67, 3256, 16, 2026, 67, 13325, 33, 5510, 4672, 3536, 8368, 333, 563, 358, 326, 876, 1407, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3259, 12, 2890, 16, 876, 67, 3256, 16, 810, 67, 3256, 16, 2026, 67, 13325, 33, 5510, 4672, 3536, 8368, 333, 563, 358, 326, 876, 1407, 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 ]
wc.log.debug(wc.LOG_DNS, "got DNS response %s", response)
def process_read (self): if not self.callback: self.close() # Assume that the entire answer comes in one packet if self.tcp: if len(self.recv_buffer) < 2: return header = self.recv_buffer[:2] (l,) = struct.unpack("!H", header) if len(self.recv_buffer) < 2+l: return self.read(2) # header wire = self.read(l) try: self.socket.shutdown(1) except socket.error: pass else: wire = self.read(1024) response = wc.dns.message.from_wire( wire, keyring=self.query.keyring, request_mac=self.query.mac) wc.log.debug(wc.LOG_DNS, "got DNS response %s", response) if not self.query.is_response(response): wc.log.warn(wc.LOG_DNS, 'Wrong response %s to query %s', response, self.query) # Oops, this doesn't answer the right question. This can # happen because we're using UDP, and UDP replies might end # up in the wrong place: open conn A, send question to A, # timeout, send question to A, receive answer, close our # object, then open a new conn B, send question to B, # but get the OLD answer to A as a reply. This doesn't happen # with TCP but then TCP is slower.
384651e9b114042a1232a3d9263caae3a28b34ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/384651e9b114042a1232a3d9263caae3a28b34ab/dns_lookups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 896, 261, 2890, 4672, 309, 486, 365, 18, 3394, 30, 365, 18, 4412, 1435, 468, 15983, 716, 326, 7278, 5803, 14535, 316, 1245, 4414, 309, 365, 18, 14832, 30, 309, 562, 12, 2890, 18, 18334, 67, 4106, 13, 411, 576, 30, 327, 1446, 273, 365, 18, 18334, 67, 4106, 10531, 22, 65, 261, 80, 16, 13, 273, 1958, 18, 17309, 2932, 5, 44, 3113, 1446, 13, 309, 562, 12, 2890, 18, 18334, 67, 4106, 13, 411, 576, 15, 80, 30, 327, 365, 18, 896, 12, 22, 13, 468, 1446, 6636, 273, 365, 18, 896, 12, 80, 13, 775, 30, 365, 18, 7814, 18, 15132, 12, 21, 13, 1335, 2987, 18, 1636, 30, 1342, 469, 30, 6636, 273, 365, 18, 896, 12, 2163, 3247, 13, 766, 273, 14310, 18, 14926, 18, 2150, 18, 2080, 67, 14538, 12, 6636, 16, 20923, 33, 2890, 18, 2271, 18, 856, 8022, 16, 590, 67, 5821, 33, 2890, 18, 2271, 18, 5821, 13, 309, 486, 365, 18, 2271, 18, 291, 67, 2740, 12, 2740, 4672, 14310, 18, 1330, 18, 8935, 12, 27594, 18, 4842, 67, 11602, 16, 296, 13634, 766, 738, 87, 358, 843, 738, 87, 2187, 766, 16, 365, 18, 2271, 13, 468, 531, 4473, 16, 333, 3302, 1404, 5803, 326, 2145, 5073, 18, 225, 1220, 848, 468, 5865, 2724, 732, 4565, 1450, 16230, 16, 471, 16230, 22009, 4825, 679, 468, 731, 316, 326, 7194, 3166, 30, 1696, 1487, 432, 16, 1366, 5073, 358, 432, 16, 468, 2021, 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, 1207, 67, 896, 261, 2890, 4672, 309, 486, 365, 18, 3394, 30, 365, 18, 4412, 1435, 468, 15983, 716, 326, 7278, 5803, 14535, 316, 1245, 4414, 309, 365, 18, 14832, 30, 309, 562, 12, 2890, 18, 18334, 67, 4106, 13, 411, 576, 30, 327, 1446, 273, 365, 18, 18334, 67, 4106, 10531, 22, 65, 261, 80, 16, 13, 273, 1958, 18, 17309, 2932, 5, 44, 3113, 1446, 13, 309, 562, 12, 2890, 18, 18334, 67, 4106, 13, 411, 576, 15, 80, 30, 327, 365, 18, 896, 12, 22, 13, 468, 1446, 6636, 273, 365, 18, 896, 12, 80, 13, 775, 30, 365, 18, 7814, 18, 15132, 12, 21, 13, 1335, 2987, 18, 1636, 30, 1342, 469, 30, 6636, 2 ]
Polynomial_generic_dense.__init__(self, parent, x, check, is_gen, absprec)
Polynomial_generic_dense.__init__(self, parent, x, check, is_gen, absprec=absprec)
def __init__(self, parent, x=None, check=True, is_gen = False, construct=False, absprec=None): Polynomial_generic_dense.__init__(self, parent, x, check, is_gen, absprec)
cde45bb2459e778b4717f1b6c82e568ea5a12e4c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/cde45bb2459e778b4717f1b6c82e568ea5a12e4c/polynomial_element_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 619, 33, 7036, 16, 866, 33, 5510, 16, 353, 67, 4507, 273, 1083, 16, 4872, 33, 8381, 16, 2417, 4036, 33, 7036, 4672, 6730, 13602, 67, 13540, 67, 25942, 16186, 2738, 972,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 619, 33, 7036, 16, 866, 33, 5510, 16, 353, 67, 4507, 273, 1083, 16, 4872, 33, 8381, 16, 2417, 4036, 33, 7036, 4672, 6730, 13602, 67, 13540, 67, 25942, 16186, 2738, 972, 12, 2890, 16, 982, 16, 619, 16, 866, 16, 353, 67, 4507, 16, 2417, 4036, 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 ]
pull_url='%s/scripts-main'%SAGE_INCOMING_SERVER, push_url='%s/scripts-main'%SAGE_OUTGOING_SERVER,
pull_url='%s/scripts-main/'%SAGE_INCOMING_SERVER, push_url='%s/scripts-main/'%SAGE_OUTGOING_SERVER,
def bundle(self, filename, options='', url=None, base=None, to=None): r""" Create an hg changeset bundle with the given filename against the repository at the given url (which is by default the 'official' Sage repository, unless push_url() is changed in a setup file).
7677a49973736ce02dd6f25c078244b30623f42c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/7677a49973736ce02dd6f25c078244b30623f42c/hg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3440, 12, 2890, 16, 1544, 16, 702, 2218, 2187, 880, 33, 7036, 16, 1026, 33, 7036, 16, 358, 33, 7036, 4672, 436, 8395, 1788, 392, 22576, 22463, 3440, 598, 326, 864, 1544, 5314, 326, 3352, 622, 326, 864, 880, 261, 12784, 353, 635, 805, 326, 296, 3674, 22354, 11, 348, 410, 3352, 16, 3308, 1817, 67, 718, 1435, 353, 3550, 316, 279, 3875, 585, 2934, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3440, 12, 2890, 16, 1544, 16, 702, 2218, 2187, 880, 33, 7036, 16, 1026, 33, 7036, 16, 358, 33, 7036, 4672, 436, 8395, 1788, 392, 22576, 22463, 3440, 598, 326, 864, 1544, 5314, 326, 3352, 622, 326, 864, 880, 261, 12784, 353, 635, 805, 326, 296, 3674, 22354, 11, 348, 410, 3352, 16, 3308, 1817, 67, 718, 1435, 353, 3550, 316, 279, 3875, 585, 2934, 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 ]
self.navigation_root_url = self.portal_state.navigation_root_url()
def update(self): super(PathBarViewlet, self).update()
e01722ec5e31137589ad5aff4cde6548c5998235 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12185/e01722ec5e31137589ad5aff4cde6548c5998235/common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 2240, 12, 743, 5190, 1767, 1810, 16, 365, 2934, 2725, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 12, 2890, 4672, 2240, 12, 743, 5190, 1767, 1810, 16, 365, 2934, 2725, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 dirname): self.find_and_register_packages() else : self.load_directory(dirname)
If verbose is False, don't print any output """ if(not verbose): sysout = sys.stdout sys.stdout = open(os.devnull, 'w') try: if (not dirname): self.find_and_register_packages() else : self.load_directory(dirname) finally: if(not verbose): sys.stdout.close() sys.stdout = sysout
def init(self, dirname=None): """ Initialize package manager If dirname is None, find wralea files on the system else load directory """
08e0221992eac2787b5d06e45ff651f8132f2c6a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11338/08e0221992eac2787b5d06e45ff651f8132f2c6a/pkgmanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 16, 4283, 33, 7036, 4672, 3536, 9190, 2181, 3301, 971, 4283, 353, 599, 16, 1104, 12408, 5349, 69, 1390, 603, 326, 2619, 469, 1262, 1867, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 1867, 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 ]
str1 = cur_root.toString() pos1 = str1.find("FROM BOUQUET")
str1 = cur_root and cur_root.toString() pos1 = str1 and str1.find("FROM BOUQUET") or -1
def addBouquet(self, bName, services): serviceHandler = eServiceCenter.getInstance() mutableBouquetList = serviceHandler.list(self.bouquet_root).startEdit() if mutableBouquetList: if self.mode == MODE_TV: bName += " (TV)" str = '1:7:1:0:0:0:0:0:0:0:(type == 1) FROM BOUQUET \"userbouquet.%s.tv\" ORDER BY bouquet'%(self.buildBouquetID(bName)) else: bName += " (Radio)" str = '1:7:2:0:0:0:0:0:0:0:(type == 2) FROM BOUQUET \"userbouquet.%s.radio\" ORDER BY bouquet'%(self.buildBouquetID(bName)) new_bouquet_ref = eServiceReference(str) if not mutableBouquetList.addService(new_bouquet_ref): mutableBouquetList.flushChanges() eDVBDB.getInstance().reloadBouquets() mutableBouquet = serviceHandler.list(new_bouquet_ref).startEdit() if mutableBouquet: mutableBouquet.setListName(bName) if services is not None: for service in services: if mutableBouquet.addService(service): print "add", service.toString(), "to new bouquet failed" mutableBouquet.flushChanges() else: print "get mutable list for new created bouquet failed" # do some voodoo to check if current_root is equal to bouquet_root cur_root = self.getRoot(); str1 = cur_root.toString() pos1 = str1.find("FROM BOUQUET") pos2 = self.bouquet_rootstr.find("FROM BOUQUET") if pos1 != -1 and pos2 != -1 and str1[pos1:] == self.bouquet_rootstr[pos2:]: self.servicelist.addService(new_bouquet_ref) else: print "add", str, "to bouquets failed" else: print "bouquetlist is not editable"
c88273c34d261ad897dbb507dbaf5c9cb38f741f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/c88273c34d261ad897dbb507dbaf5c9cb38f741f/ChannelSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 38, 1395, 28357, 12, 2890, 16, 324, 461, 16, 4028, 4672, 1156, 1503, 273, 425, 1179, 8449, 18, 588, 1442, 1435, 16074, 38, 1395, 28357, 682, 273, 1156, 1503, 18, 1098, 12, 2890, 18, 16818, 28357, 67, 3085, 2934, 1937, 4666, 1435, 309, 16074, 38, 1395, 28357, 682, 30, 309, 365, 18, 3188, 422, 11741, 67, 15579, 30, 324, 461, 1011, 315, 261, 15579, 2225, 609, 273, 296, 21, 30, 27, 30, 21, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 12, 723, 422, 404, 13, 4571, 9784, 57, 3500, 1584, 1239, 1355, 16818, 28357, 7866, 87, 18, 24161, 2412, 10205, 6953, 800, 89, 28357, 11, 17105, 2890, 18, 3510, 38, 1395, 28357, 734, 12, 70, 461, 3719, 469, 30, 324, 461, 1011, 315, 261, 19984, 2225, 609, 273, 296, 21, 30, 27, 30, 22, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 12, 723, 422, 576, 13, 4571, 9784, 57, 3500, 1584, 1239, 1355, 16818, 28357, 7866, 87, 18, 17006, 2412, 10205, 6953, 800, 89, 28357, 11, 17105, 2890, 18, 3510, 38, 1395, 28357, 734, 12, 70, 461, 3719, 394, 67, 16818, 28357, 67, 1734, 273, 425, 1179, 2404, 12, 701, 13, 309, 486, 16074, 38, 1395, 28357, 682, 18, 1289, 1179, 12, 2704, 67, 16818, 28357, 67, 1734, 4672, 16074, 38, 1395, 28357, 682, 18, 11330, 7173, 1435, 425, 30199, 38, 2290, 18, 588, 1442, 7675, 17517, 38, 1395, 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, 527, 38, 1395, 28357, 12, 2890, 16, 324, 461, 16, 4028, 4672, 1156, 1503, 273, 425, 1179, 8449, 18, 588, 1442, 1435, 16074, 38, 1395, 28357, 682, 273, 1156, 1503, 18, 1098, 12, 2890, 18, 16818, 28357, 67, 3085, 2934, 1937, 4666, 1435, 309, 16074, 38, 1395, 28357, 682, 30, 309, 365, 18, 3188, 422, 11741, 67, 15579, 30, 324, 461, 1011, 315, 261, 15579, 2225, 609, 273, 296, 21, 30, 27, 30, 21, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 20, 30, 12, 723, 422, 404, 13, 4571, 9784, 57, 3500, 1584, 1239, 1355, 16818, 28357, 7866, 87, 18, 24161, 2412, 10205, 6953, 800, 89, 28357, 11, 17105, 2890, 18, 3510, 2 ]
if not isinstance(list[i], str)]
if not isinstance(list[i], basestring)]
def columnize(self, list, displaywidth=80): """Display a list of strings as a compact set of columns.
143dd520766a5fdcce68c762f389a23c1008fec9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/143dd520766a5fdcce68c762f389a23c1008fec9/cmd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1057, 554, 12, 2890, 16, 666, 16, 2562, 2819, 33, 3672, 4672, 3536, 4236, 279, 666, 434, 2064, 487, 279, 6739, 444, 434, 2168, 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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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 ]
str += I+'<TH CLASS="navbar">&nbsp;&nbsp;&nbsp;'+\ '<A CLASS="navbar" HREF="'+`uid.module()`+'.html">'+\ 'Module</A>&nbsp;&nbsp;&nbsp;</TH>\n'
str += I+'<th class="navbar">&nbsp;&nbsp;&nbsp;' str += '<a class="navbar" href="'+`uid.module()`+'.html">' str += 'Module</a>&nbsp;&nbsp;&nbsp;</th>\n'
def _navbar(self, where, uid=None): """ @param where: What page the navbar is being displayed on.. """ str = self._start_of('Navbar') str += '<TABLE CLASS="navbar" BORDER="0" WIDTH="100%"' str += ' CELLPADDING="0" BGCOLOR="#a0c0ff" CELLSPACING="0">\n' str += ' <TR>\n' str += ' <TD WIDTH="100%">\n' str += ' <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">\n' str += ' <TR VALIGN="top">\n'
1b52b16120989cc834166571a9a1e9b8676d968f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1b52b16120989cc834166571a9a1e9b8676d968f/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11589, 3215, 12, 2890, 16, 1625, 16, 4555, 33, 7036, 4672, 3536, 632, 891, 1625, 30, 18734, 1363, 326, 8775, 3215, 353, 3832, 10453, 603, 838, 3536, 609, 273, 365, 6315, 1937, 67, 792, 2668, 12599, 3215, 6134, 609, 1011, 2368, 7775, 7383, 1546, 11589, 3215, 6, 605, 7954, 1546, 20, 6, 22631, 1546, 6625, 9, 5187, 609, 1011, 296, 385, 2247, 14461, 26710, 1546, 20, 6, 30609, 10989, 1546, 7, 69, 20, 71, 20, 1403, 6, 385, 2247, 3045, 52, 2226, 1360, 1546, 20, 6, 5333, 82, 11, 609, 1011, 296, 225, 411, 4349, 5333, 82, 11, 609, 1011, 296, 565, 411, 23409, 22631, 1546, 6625, 16407, 5333, 82, 11, 609, 1011, 296, 1377, 411, 7775, 605, 7954, 1546, 20, 6, 385, 2247, 14461, 26710, 1546, 20, 6, 385, 2247, 3045, 52, 2226, 1360, 1546, 20, 6, 5333, 82, 11, 609, 1011, 296, 3639, 411, 4349, 5143, 10452, 1546, 3669, 6, 5333, 82, 11, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11589, 3215, 12, 2890, 16, 1625, 16, 4555, 33, 7036, 4672, 3536, 632, 891, 1625, 30, 18734, 1363, 326, 8775, 3215, 353, 3832, 10453, 603, 838, 3536, 609, 273, 365, 6315, 1937, 67, 792, 2668, 12599, 3215, 6134, 609, 1011, 2368, 7775, 7383, 1546, 11589, 3215, 6, 605, 7954, 1546, 20, 6, 22631, 1546, 6625, 9, 5187, 609, 1011, 296, 385, 2247, 14461, 26710, 1546, 20, 6, 30609, 10989, 1546, 7, 69, 20, 71, 20, 1403, 6, 385, 2247, 3045, 52, 2226, 1360, 1546, 20, 6, 5333, 82, 11, 609, 1011, 296, 225, 411, 4349, 5333, 82, 11, 609, 1011, 296, 565, 411, 23409, 22631, 1546, 6625, 16407, 5333, 82, 11, 609, 1011, 296, 1377, 411, 7775, 2 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 501) else quickfix.StringField.__init__(self, 501, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599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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, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 1381, 1611, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 1381, 1611, 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, -100 ]
if line == '\n' or line == '':
if line == '\n' or not line:
def _install_message(self, message): """Write message contents and return (start, stop).""" start = self._file.tell() if isinstance(message, BabylMessage): special_labels = [] labels = [] for label in message.get_labels(): if label in self._special_labels: special_labels.append(label) else: labels.append(label) self._file.write('1') for label in special_labels: self._file.write(', ' + label) self._file.write(',,') for label in labels: self._file.write(' ' + label + ',') self._file.write(os.linesep) else: self._file.write('1,,' + os.linesep) if isinstance(message, email.message.Message): orig_buffer = StringIO.StringIO() orig_generator = email.generator.Generator(orig_buffer, False, 0) orig_generator.flatten(message) orig_buffer.seek(0) while True: line = orig_buffer.readline() self._file.write(line.replace('\n', os.linesep)) if line == '\n' or line == '': break self._file.write('*** EOOH ***' + os.linesep) if isinstance(message, BabylMessage): vis_buffer = StringIO.StringIO() vis_generator = email.generator.Generator(vis_buffer, False, 0) vis_generator.flatten(message.get_visible()) while True: line = vis_buffer.readline() self._file.write(line.replace('\n', os.linesep)) if line == '\n' or line == '': break else: orig_buffer.seek(0) while True: line = orig_buffer.readline() self._file.write(line.replace('\n', os.linesep)) if line == '\n' or line == '': break while True: buffer = orig_buffer.read(4096) # Buffer size is arbitrary. if buffer == '': break self._file.write(buffer.replace('\n', os.linesep)) elif isinstance(message, str): body_start = message.find('\n\n') + 2 if body_start - 2 != -1: self._file.write(message[:body_start].replace('\n', os.linesep)) self._file.write('*** EOOH ***' + os.linesep) self._file.write(message[:body_start].replace('\n', os.linesep)) self._file.write(message[body_start:].replace('\n', os.linesep)) else: self._file.write('*** EOOH ***' + os.linesep + os.linesep) self._file.write(message.replace('\n', os.linesep)) elif hasattr(message, 'readline'): original_pos = message.tell() first_pass = True while True: line = message.readline() self._file.write(line.replace('\n', os.linesep)) if line == '\n' or line == '': self._file.write('*** EOOH ***' + os.linesep) if first_pass: first_pass = False message.seek(original_pos) else: break while True: buffer = message.read(4096) # Buffer size is arbitrary. if buffer == '': break self._file.write(buffer.replace('\n', os.linesep)) else: raise TypeError('Invalid message type: %s' % type(message)) stop = self._file.tell() return (start, stop)
d373ead37954e8a4f6d449fdc08084eb0c428c76 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/d373ead37954e8a4f6d449fdc08084eb0c428c76/mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5425, 67, 2150, 12, 2890, 16, 883, 4672, 3536, 3067, 883, 2939, 471, 327, 261, 1937, 16, 2132, 13, 12123, 787, 273, 365, 6315, 768, 18, 88, 1165, 1435, 309, 1549, 12, 2150, 16, 605, 24383, 80, 1079, 4672, 4582, 67, 5336, 273, 5378, 3249, 273, 5378, 364, 1433, 316, 883, 18, 588, 67, 5336, 13332, 309, 1433, 316, 365, 6315, 9371, 67, 5336, 30, 4582, 67, 5336, 18, 6923, 12, 1925, 13, 469, 30, 3249, 18, 6923, 12, 1925, 13, 365, 6315, 768, 18, 2626, 2668, 21, 6134, 364, 1433, 316, 4582, 67, 5336, 30, 365, 6315, 768, 18, 2626, 12, 2187, 296, 397, 1433, 13, 365, 6315, 768, 18, 2626, 12, 2187, 16, 6134, 364, 1433, 316, 3249, 30, 365, 6315, 768, 18, 2626, 2668, 296, 397, 1433, 397, 3316, 13, 365, 6315, 768, 18, 2626, 12, 538, 18, 3548, 881, 13, 469, 30, 365, 6315, 768, 18, 2626, 2668, 21, 16, 11189, 397, 1140, 18, 3548, 881, 13, 309, 1549, 12, 2150, 16, 2699, 18, 2150, 18, 1079, 4672, 1647, 67, 4106, 273, 15777, 18, 780, 4294, 1435, 1647, 67, 8812, 273, 2699, 18, 8812, 18, 3908, 12, 4949, 67, 4106, 16, 1083, 16, 374, 13, 1647, 67, 8812, 18, 16940, 12, 2150, 13, 1647, 67, 4106, 18, 16508, 12, 20, 13, 1323, 1053, 30, 980, 273, 1647, 67, 4106, 18, 896, 1369, 1435, 365, 6315, 768, 18, 2626, 12, 1369, 18, 2079, 2668, 64, 82, 2187, 1140, 18, 3548, 881, 3719, 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, 5425, 67, 2150, 12, 2890, 16, 883, 4672, 3536, 3067, 883, 2939, 471, 327, 261, 1937, 16, 2132, 13, 12123, 787, 273, 365, 6315, 768, 18, 88, 1165, 1435, 309, 1549, 12, 2150, 16, 605, 24383, 80, 1079, 4672, 4582, 67, 5336, 273, 5378, 3249, 273, 5378, 364, 1433, 316, 883, 18, 588, 67, 5336, 13332, 309, 1433, 316, 365, 6315, 9371, 67, 5336, 30, 4582, 67, 5336, 18, 6923, 12, 1925, 13, 469, 30, 3249, 18, 6923, 12, 1925, 13, 365, 6315, 768, 18, 2626, 2668, 21, 6134, 364, 1433, 316, 4582, 67, 5336, 30, 365, 6315, 768, 18, 2626, 12, 2187, 296, 397, 1433, 13, 365, 6315, 768, 18, 2626, 12, 2187, 16, 6134, 364, 2 ]
space.wrap(convert_from_regdata(databuf, retDataSize[0], retType[0])),
convert_from_regdata(space, databuf, retDataSize[0], retType[0]),
def EnumValue(space, w_hkey, index): """tuple = EnumValue(key, index) - Enumerates values of an open registry key.
65a0cb4fb5ecc10e2f370ba1c4260d41630090c7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/65a0cb4fb5ecc10e2f370ba1c4260d41630090c7/interp_winreg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6057, 620, 12, 2981, 16, 341, 67, 76, 856, 16, 770, 4672, 3536, 8052, 273, 6057, 620, 12, 856, 16, 770, 13, 300, 6057, 264, 815, 924, 434, 392, 1696, 4023, 498, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6057, 620, 12, 2981, 16, 341, 67, 76, 856, 16, 770, 4672, 3536, 8052, 273, 6057, 620, 12, 856, 16, 770, 13, 300, 6057, 264, 815, 924, 434, 392, 1696, 4023, 498, 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 ]
id = idaapi.add_frame(func, lvsize, frregs, argsize) if not id:
frameid = idaapi.add_frame(func, lvsize, frregs, argsize) if not frameid:
def MakeFrame(ea, lvsize, frregs, argsize): """ Make function frame @param ea: any address belonging to the function @param lvsize: size of function local variables @param frregs: size of saved registers @param argsize: size of function arguments @return: ID of function frame or -1 If the function did not have a frame, the frame will be created. Otherwise the frame will be modified """ func = idaapi.get_func(ea) if not func: return -1 id = idaapi.add_frame(func, lvsize, frregs, argsize) if not id: if not idaapi.set_frame_size(func, lvsize, frregs, argsize): return -1 return func.frame
244a3cd02a580c0095170004ec30e922f0d1a8a6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6984/244a3cd02a580c0095170004ec30e922f0d1a8a6/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 3219, 12, 24852, 16, 5362, 1467, 16, 3812, 266, 564, 16, 833, 554, 4672, 3536, 4344, 445, 2623, 225, 632, 891, 24164, 30, 1281, 1758, 17622, 358, 326, 445, 632, 891, 5362, 1467, 30, 963, 434, 445, 1191, 3152, 632, 891, 3812, 266, 564, 30, 963, 434, 5198, 10285, 632, 891, 833, 554, 30, 963, 434, 445, 1775, 225, 632, 2463, 30, 1599, 434, 445, 2623, 578, 300, 21, 971, 326, 445, 5061, 486, 1240, 279, 2623, 16, 326, 2623, 903, 506, 2522, 18, 5272, 326, 2623, 903, 506, 4358, 3536, 1326, 273, 612, 69, 2425, 18, 588, 67, 644, 12, 24852, 13, 225, 309, 486, 1326, 30, 327, 300, 21, 225, 2623, 350, 273, 612, 69, 2425, 18, 1289, 67, 3789, 12, 644, 16, 5362, 1467, 16, 3812, 266, 564, 16, 833, 554, 13, 225, 309, 486, 2623, 350, 30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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 3219, 12, 24852, 16, 5362, 1467, 16, 3812, 266, 564, 16, 833, 554, 4672, 3536, 4344, 445, 2623, 225, 632, 891, 24164, 30, 1281, 1758, 17622, 358, 326, 445, 632, 891, 5362, 1467, 30, 963, 434, 445, 1191, 3152, 632, 891, 3812, 266, 564, 30, 963, 434, 5198, 10285, 632, 891, 833, 554, 30, 963, 434, 445, 1775, 225, 632, 2463, 30, 1599, 434, 445, 2623, 578, 300, 21, 971, 326, 445, 5061, 486, 1240, 279, 2623, 16, 326, 2623, 903, 506, 2522, 18, 5272, 326, 2623, 903, 506, 4358, 3536, 1326, 273, 612, 69, 2425, 18, 588, 67, 644, 12, 24852, 13, 225, 309, 486, 1326, 30, 327, 300, 21, 225, 2623, 350, 273, 612, 69, 2 ]
cover = amazon.searchByKeyword('%s %s' % (artist,album) , product_line="music")
cover = amazon.searchByKeyword(search_string , product_line="music")
def cover_search_file(self, arg=None, menuw=None): """ search imdb for this item """ import amazon
eb2d9ec3b72b6a3ab66bd58d8190aeee919eb939 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/eb2d9ec3b72b6a3ab66bd58d8190aeee919eb939/coversearch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5590, 67, 3072, 67, 768, 12, 2890, 16, 1501, 33, 7036, 16, 3824, 91, 33, 7036, 4672, 3536, 1623, 709, 1966, 364, 333, 761, 3536, 1930, 3750, 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, 0, 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, 5590, 67, 3072, 67, 768, 12, 2890, 16, 1501, 33, 7036, 16, 3824, 91, 33, 7036, 4672, 3536, 1623, 709, 1966, 364, 333, 761, 3536, 1930, 3750, 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 ]
if self.fs.cwd == '/': self.respond('250 "/" is the current directory.') else: self.fs.cdup() self.respond('257 "%s" is the current directory.' %self.fs.cwd) self.log('OK CWD "%s"' %self.fs.cwd)
"Go to parent directory" self.ftp_CWD('..')
def ftp_CDUP(self, line): if self.fs.cwd == '/': self.respond('250 "/" is the current directory.') else: self.fs.cdup() self.respond('257 "%s" is the current directory.' %self.fs.cwd) self.log('OK CWD "%s"' %self.fs.cwd)
c9b8903e72d3357d1308af9cb7394f14ea28a0cc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/c9b8903e72d3357d1308af9cb7394f14ea28a0cc/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 10160, 3079, 12, 2890, 16, 980, 4672, 309, 365, 18, 2556, 18, 11089, 422, 2023, 30, 365, 18, 17863, 2668, 26520, 4016, 353, 326, 783, 1867, 1093, 13, 469, 30, 365, 18, 2556, 18, 4315, 416, 1435, 365, 18, 17863, 2668, 2947, 27, 2213, 87, 6, 353, 326, 783, 1867, 1093, 738, 2890, 18, 2556, 18, 11089, 13, 365, 18, 1330, 2668, 3141, 385, 16006, 2213, 87, 5187, 738, 2890, 18, 2556, 18, 11089, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 10160, 3079, 12, 2890, 16, 980, 4672, 309, 365, 18, 2556, 18, 11089, 422, 2023, 30, 365, 18, 17863, 2668, 26520, 4016, 353, 326, 783, 1867, 1093, 13, 469, 30, 365, 18, 2556, 18, 4315, 416, 1435, 365, 18, 17863, 2668, 2947, 27, 2213, 87, 6, 353, 326, 783, 1867, 1093, 738, 2890, 18, 2556, 18, 11089, 13, 365, 18, 1330, 2668, 3141, 385, 16006, 2213, 87, 5187, 738, 2890, 18, 2556, 18, 11089, 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 ]
def removeImage(self, image, put = False, summary = None): return self.replaceImage(image, put, summary)
def removeImage(self, image, put = False, summary = None, safe = True): return self.replaceImage(image, None, put, summary, safe)
def removeImage(self, image, put = False, summary = None): return self.replaceImage(image, put, summary)
2cfa671af86a6441ff07f27921c256cc09d5a701 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/2cfa671af86a6441ff07f27921c256cc09d5a701/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 2040, 12, 2890, 16, 1316, 16, 1378, 273, 1083, 16, 4916, 273, 599, 16, 4183, 273, 1053, 4672, 327, 365, 18, 2079, 2040, 12, 2730, 16, 599, 16, 1378, 16, 4916, 16, 4183, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 2040, 12, 2890, 16, 1316, 16, 1378, 273, 1083, 16, 4916, 273, 599, 16, 4183, 273, 1053, 4672, 327, 365, 18, 2079, 2040, 12, 2730, 16, 599, 16, 1378, 16, 4916, 16, 4183, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this = apply(_quickfix.new_AccruedInterestRate, args)
this = _quickfix.new_AccruedInterestRate(*args)
def __init__(self, *args): this = apply(_quickfix.new_AccruedInterestRate, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8973, 86, 5957, 29281, 4727, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8973, 86, 5957, 29281, 4727, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 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 ]
self.set_stdout_file('logs/stopp-$(macrogpsstarttime)-$(macrogpsendtime)-$(cluster)-$(process).out') self.set_stderr_file('logs/stopp-$(macrogpsstarttime)-$(macrogpsendtime)-$(cluster)-$(process).err')
self.set_stdout_file('logs/stopp-$(cluster)-$(process).out') self.set_stderr_file('logs/stopp-$(cluster)-$(process).err')
def __init__(self,cp): """ @param cp: ConfigParser object from which options are read. """ self.__executable = cp.get('condor','stopp') self.__universe = cp.get('condor','universe') pipeline.CondorDAGJob.__init__(self,self.__universe,self.__executable) pipeline.AnalysisJob.__init__(self,cp)
2383291e929e4bc5aa807e1f3eec3bbb6211f98e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/2383291e929e4bc5aa807e1f3eec3bbb6211f98e/stochastic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4057, 4672, 3536, 632, 891, 3283, 30, 25076, 733, 628, 1492, 702, 854, 855, 18, 3536, 365, 16186, 17751, 273, 3283, 18, 588, 2668, 10013, 280, 17023, 5681, 84, 6134, 365, 16186, 318, 17488, 273, 3283, 18, 588, 2668, 10013, 280, 17023, 318, 17488, 6134, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 5873, 18, 9418, 2278, 16186, 2738, 972, 12, 2890, 16, 4057, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4057, 4672, 3536, 632, 891, 3283, 30, 25076, 733, 628, 1492, 702, 854, 855, 18, 3536, 365, 16186, 17751, 273, 3283, 18, 588, 2668, 10013, 280, 17023, 5681, 84, 6134, 365, 16186, 318, 17488, 273, 3283, 18, 588, 2668, 10013, 280, 17023, 318, 17488, 6134, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 5873, 18, 9418, 2278, 16186, 2738, 972, 12, 2890, 16, 4057, 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 ]
out.write(ins.read(size))
out.write(ins.read(5)) ssWidth,delim1,ssHeight,delim2 = unpack('=IcIc',10) pack('=IcIc',ssWidth,delim1,ssHeight,delim2) out.write(ins.read(size-15)) out.write(ins.read(3*ssWidth*ssHeight)) out.write(ins.read(5))
def pack(format,*args): out.write(struct.pack(format,*args))
6a02625d5f2d736dbd19ab9b5f1a55b0691055f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6682/6a02625d5f2d736dbd19ab9b5f1a55b0691055f7/bosh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2298, 12, 2139, 16, 14, 1968, 4672, 596, 18, 2626, 12, 1697, 18, 2920, 12, 2139, 16, 14, 1968, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2298, 12, 2139, 16, 14, 1968, 4672, 596, 18, 2626, 12, 1697, 18, 2920, 12, 2139, 16, 14, 1968, 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 ]
user = request.user
user = getuser(request)
def upgrades(request,planet_id,action='none',upgrade='-1'): user = request.user curplanet = get_object_or_404(Planet,id=int(planet_id)) if curplanet.owner == user: if action=="start": newupgrade = PlanetUpgrade() newupgrade.start(curplanet,int(upgrade)) if action=="scrap": scrapupgrade = PlanetUpgrade.objects.get(planet=curplanet, instrumentality__type=int(upgrade)) if scrapupgrade: scrapupgrade.scrap() return HttpResponseRedirect('/planets/'+planet_id+'/upgradelist/')
87c0cba9784e2600f6a5c8cb52dd3eda8d84d243 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2020/87c0cba9784e2600f6a5c8cb52dd3eda8d84d243/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28844, 12, 2293, 16, 7088, 278, 67, 350, 16, 1128, 2218, 6102, 2187, 15097, 2218, 17, 21, 11, 4672, 729, 273, 336, 1355, 12, 2293, 13, 662, 7088, 278, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 5365, 278, 16, 350, 33, 474, 12, 7088, 278, 67, 350, 3719, 309, 662, 7088, 278, 18, 8443, 422, 729, 30, 309, 1301, 31713, 1937, 6877, 394, 15097, 273, 12540, 278, 10784, 1435, 394, 15097, 18, 1937, 12, 1397, 7088, 278, 16, 474, 12, 15097, 3719, 309, 1301, 31713, 1017, 1266, 6877, 888, 1266, 15097, 273, 12540, 278, 10784, 18, 6911, 18, 588, 12, 7088, 278, 33, 1397, 7088, 278, 16, 10353, 7919, 972, 723, 33, 474, 12, 15097, 3719, 309, 888, 1266, 15097, 30, 888, 1266, 15097, 18, 1017, 1266, 1435, 327, 31780, 2668, 19, 7088, 2413, 2473, 15, 7088, 278, 67, 350, 6797, 19, 416, 2752, 3771, 376, 2473, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28844, 12, 2293, 16, 7088, 278, 67, 350, 16, 1128, 2218, 6102, 2187, 15097, 2218, 17, 21, 11, 4672, 729, 273, 336, 1355, 12, 2293, 13, 662, 7088, 278, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 5365, 278, 16, 350, 33, 474, 12, 7088, 278, 67, 350, 3719, 309, 662, 7088, 278, 18, 8443, 422, 729, 30, 309, 1301, 31713, 1937, 6877, 394, 15097, 273, 12540, 278, 10784, 1435, 394, 15097, 18, 1937, 12, 1397, 7088, 278, 16, 474, 12, 15097, 3719, 309, 1301, 31713, 1017, 1266, 6877, 888, 1266, 15097, 273, 12540, 278, 10784, 18, 6911, 18, 588, 12, 7088, 278, 33, 1397, 7088, 278, 16, 10353, 7919, 972, 723, 33, 474, 12, 15097, 3719, 2 ]
self.assy.w.history.message(self.getinfo())
if self.assy: self.assy.w.history.message(self.getinfo())
def pick(self): """select the Jig""" self.assy.w.history.message(self.getinfo()) if not self.picked: #bruce 050131 added this condition (maybe good for history.message too?) Node.pick(self) #bruce 050131 for Alpha: using Node.pick self.normcolor = self.color # bug if this is done twice in a row! [bruce 050131 maybe fixed now due to the 'if'] self.color = self.pickcolor return
c4bea2e8f67584ae8759f64407531178c46516aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/c4bea2e8f67584ae8759f64407531178c46516aa/jigs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6002, 12, 2890, 4672, 3536, 4025, 326, 804, 360, 8395, 309, 365, 18, 428, 93, 30, 365, 18, 428, 93, 18, 91, 18, 8189, 18, 2150, 12, 2890, 18, 22281, 10756, 309, 486, 365, 18, 11503, 329, 30, 468, 2848, 3965, 374, 9172, 6938, 3096, 333, 2269, 261, 19133, 7494, 364, 4927, 18, 2150, 4885, 8535, 2029, 18, 11503, 12, 2890, 13, 468, 2848, 3965, 374, 9172, 6938, 364, 24277, 30, 1450, 2029, 18, 11503, 365, 18, 7959, 3266, 273, 365, 18, 3266, 468, 7934, 309, 333, 353, 2731, 13605, 316, 279, 1027, 5, 306, 2848, 3965, 374, 9172, 6938, 6944, 5499, 2037, 6541, 358, 326, 296, 430, 3546, 365, 18, 3266, 273, 365, 18, 11503, 3266, 327, 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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 12, 2890, 18, 22281, 10756, 309, 486, 365, 18, 11503, 329, 30, 468, 2848, 3965, 374, 9172, 6938, 3096, 333, 2269, 261, 19133, 7494, 364, 4927, 18, 2150, 4885, 8535, 2029, 18, 11503, 12, 2890, 13, 468, 2848, 3965, 374, 9172, 6938, 364, 24277, 30, 1450, 2029, 18, 11503, 365, 18, 7959, 3266, 273, 365, 18, 3266, 468, 7934, 309, 333, 353, 2731, 13605, 316, 279, 1027, 5, 306, 2848, 3965, 374, 9172, 6938, 6944, 5499, 2037, 6541, 358, 326, 296, 430, 3546, 365, 18, 3266, 273, 365, 18, 11503, 3266, 327, 2 ]
manifesturl = manifesturl + alternate_id
manifesturl = manifesturl + urllib2.quote(alternate_id)
def getPrimaryManifest(alternate_id): """ Gets the client manifest from the server """ global errors manifest = "" managedinstallprefs = munkicommon.prefs() manifesturl = managedinstallprefs['ManifestURL'] clientidentifier = managedinstallprefs.get('ClientIdentifier','') if not manifesturl.endswith('?') and not manifesturl.endswith('/'): manifesturl = manifesturl + "/" if alternate_id: # use id passed in at command-line manifesturl = manifesturl + alternate_id elif clientidentifier: # use client_identfier from /Library/Preferences/ManagedInstalls.plist manifesturl = manifesturl + clientidentifier else: # no client identifier specified, so use the hostname hostname = os.uname()[1] munkicommon.display_detail("No client id specified. Requesting %s..." % (manifesturl + hostname)) manifest = getmanifest(manifesturl + hostname,suppress_errors=True) if not manifest: # try the short hostname munkicommon.display_detail("Request failed. Trying %s..." % (manifesturl + hostname.split('.')[0])) manifest = getmanifest(manifesturl + hostname.split('.')[0], suppress_errors=True) if not manifest: # last resort - try for the site_default manifest munkicommon.display_detail("Request failed. Trying %s..." % (manifesturl + "site_default")) manifesturl = manifesturl + "site_default" if not manifest: manifest = getmanifest(manifesturl) if manifest: # clear out any errors we got while trying to find # the primary manifest errors = "" return manifest
6ca682ec52a2a3b804566ebaf67e1666efdd5a94 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6241/6ca682ec52a2a3b804566ebaf67e1666efdd5a94/updatecheck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11398, 9121, 12, 16025, 340, 67, 350, 4672, 3536, 11881, 326, 1004, 5643, 628, 326, 1438, 3536, 2552, 1334, 5643, 273, 1408, 7016, 5425, 1484, 2556, 273, 312, 1683, 335, 362, 2586, 18, 1484, 2556, 1435, 5643, 718, 273, 7016, 5425, 1484, 2556, 3292, 9121, 1785, 3546, 1004, 5644, 273, 7016, 5425, 1484, 2556, 18, 588, 2668, 1227, 3004, 17023, 6134, 225, 309, 486, 5643, 718, 18, 5839, 1918, 2668, 4899, 13, 471, 486, 5643, 718, 18, 5839, 1918, 2668, 2473, 4672, 5643, 718, 273, 5643, 718, 397, 4016, 309, 12184, 67, 350, 30, 468, 999, 612, 2275, 316, 622, 1296, 17, 1369, 5643, 718, 273, 5643, 718, 397, 11527, 22, 18, 6889, 12, 16025, 340, 67, 350, 13, 1327, 1004, 5644, 30, 468, 999, 1004, 67, 6392, 74, 2453, 628, 342, 9313, 19, 12377, 19, 10055, 6410, 87, 18, 17842, 5643, 718, 273, 5643, 718, 397, 1004, 5644, 469, 30, 468, 1158, 1004, 2756, 1269, 16, 1427, 999, 326, 5199, 5199, 273, 1140, 18, 318, 339, 1435, 63, 21, 65, 312, 1683, 335, 362, 2586, 18, 5417, 67, 8992, 2932, 2279, 1004, 612, 1269, 18, 1567, 310, 738, 87, 7070, 738, 261, 14357, 718, 397, 5199, 3719, 5643, 273, 336, 14357, 12, 14357, 718, 397, 5199, 16, 10840, 67, 4324, 33, 5510, 13, 309, 486, 5643, 30, 468, 775, 326, 3025, 5199, 312, 1683, 335, 362, 2586, 18, 5417, 67, 8992, 2932, 691, 2535, 18, 6161, 310, 738, 87, 7070, 738, 261, 14357, 718, 397, 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, 11398, 9121, 12, 16025, 340, 67, 350, 4672, 3536, 11881, 326, 1004, 5643, 628, 326, 1438, 3536, 2552, 1334, 5643, 273, 1408, 7016, 5425, 1484, 2556, 273, 312, 1683, 335, 362, 2586, 18, 1484, 2556, 1435, 5643, 718, 273, 7016, 5425, 1484, 2556, 3292, 9121, 1785, 3546, 1004, 5644, 273, 7016, 5425, 1484, 2556, 18, 588, 2668, 1227, 3004, 17023, 6134, 225, 309, 486, 5643, 718, 18, 5839, 1918, 2668, 4899, 13, 471, 486, 5643, 718, 18, 5839, 1918, 2668, 2473, 4672, 5643, 718, 273, 5643, 718, 397, 4016, 309, 12184, 67, 350, 30, 468, 999, 612, 2275, 316, 622, 1296, 17, 1369, 5643, 718, 273, 5643, 718, 397, 11527, 22, 18, 6889, 12, 16025, 340, 67, 350, 2 ]
component = Component(self.__env, name)
component = Component(self.env_open(), name)
def _do_component_rename(self, name, newname): component = Component(self.__env, name) component.name = newname component.update()
132f03448459e7c8907500129479bb5f6c5bc47a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/132f03448459e7c8907500129479bb5f6c5bc47a/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 4652, 67, 18539, 12, 2890, 16, 508, 16, 26722, 4672, 1794, 273, 5435, 12, 2890, 18, 3074, 67, 3190, 9334, 508, 13, 1794, 18, 529, 273, 26722, 1794, 18, 2725, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2896, 67, 4652, 67, 18539, 12, 2890, 16, 508, 16, 26722, 4672, 1794, 273, 5435, 12, 2890, 18, 3074, 67, 3190, 9334, 508, 13, 1794, 18, 529, 273, 26722, 1794, 18, 2725, 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, -100, -100, -100, -100, -100, -100, -100, -100, -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.cal.append('')
self.cal_days.append('')
def SetCal(self, year, month): self.InitValues() # reset initial values
b25cb7db43121f1f6899b7ebfcd6ccc3806dd0f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/b25cb7db43121f1f6899b7ebfcd6ccc3806dd0f6/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 3005, 12, 2890, 16, 3286, 16, 3138, 4672, 365, 18, 2570, 1972, 1435, 4202, 468, 2715, 2172, 924, 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,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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 ]
file.Write(" GLint location = %s(%s, name_str.c_str());\n" %
file.Write(" *location = %s(%s, name_str.c_str());\n" %
def WriteImmediateServiceImplementation(self, func, file): """Overrriden from TypeHandler.""" file.Write( "parse_error::ParseError GLES2DecoderImpl::Handle%s(\n" % func.name) file.Write( " unsigned int arg_count, const gles2::%s& c) {\n" % func.name) last_arg = func.GetLastOriginalArg()
6b5cc7aeca6761c88c0f98b0e54990becbe32177 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/6b5cc7aeca6761c88c0f98b0e54990becbe32177/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1179, 13621, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 12, 315, 2670, 67, 1636, 2866, 21004, 611, 11386, 22, 7975, 2828, 2866, 3259, 9, 87, 4713, 82, 6, 738, 1326, 18, 529, 13, 585, 18, 3067, 12, 315, 565, 9088, 509, 1501, 67, 1883, 16, 1866, 314, 1040, 22, 2866, 9, 87, 10, 276, 13, 18890, 82, 6, 738, 1326, 18, 529, 13, 1142, 67, 3175, 273, 1326, 18, 967, 3024, 8176, 4117, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1179, 13621, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 12, 315, 2670, 67, 1636, 2866, 21004, 611, 11386, 22, 7975, 2828, 2866, 3259, 9, 87, 4713, 82, 6, 738, 1326, 18, 529, 13, 585, 18, 3067, 12, 315, 565, 9088, 509, 1501, 67, 1883, 16, 1866, 314, 1040, 22, 2866, 9, 87, 10, 276, 13, 18890, 82, 6, 738, 1326, 18, 529, 13, 1142, 67, 3175, 273, 1326, 18, 967, 3024, 8176, 4117, 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 ]
super_index = line_index
def line_index_to_top (self, line_index):
9f861d2f394f3af1067b299d5e87f62ebb289a8e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12310/9f861d2f394f3af1067b299d5e87f62ebb289a8e/GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 67, 1615, 67, 869, 67, 3669, 261, 2890, 16, 980, 67, 1615, 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, 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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, 980, 67, 1615, 67, 869, 67, 3669, 261, 2890, 16, 980, 67, 1615, 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 ]
if errwrite is not None: pass elif stderr is None or stderr == PIPE:
if errwrite is None: _, errwrite = CreatePipe(None, 0) elif stderr == PIPE:
def _get_handles(self, stdin, stdout, stderr): """Construct and return tupel with IO objects: p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite """ if stdin is None and stdout is None and stderr is None: return (None, None, None, None, None, None)
5920088074f1699bb896f233dab1a098f65692fe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/5920088074f1699bb896f233dab1a098f65692fe/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 24111, 12, 2890, 16, 8801, 16, 3909, 16, 4514, 4672, 3536, 7249, 471, 327, 15822, 292, 598, 1665, 2184, 30, 293, 22, 71, 896, 16, 293, 22, 71, 2626, 16, 276, 22, 84, 896, 16, 276, 22, 84, 2626, 16, 393, 896, 16, 393, 2626, 3536, 309, 8801, 353, 599, 471, 3909, 353, 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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, 389, 588, 67, 24111, 12, 2890, 16, 8801, 16, 3909, 16, 4514, 4672, 3536, 7249, 471, 327, 15822, 292, 598, 1665, 2184, 30, 293, 22, 71, 896, 16, 293, 22, 71, 2626, 16, 276, 22, 84, 896, 16, 276, 22, 84, 2626, 16, 393, 896, 16, 393, 2626, 3536, 309, 8801, 353, 599, 471, 3909, 353, 599, 471, 4514, 353, 599, 30, 327, 261, 7036, 16, 599, 16, 599, 16, 599, 16, 599, 16, 599, 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 ]
self.currSelEnd = QPoint(x,y)
self.currSelEnd = QRect(x, y, 1, 1)
def UpdateSel(self, x, y): self.currSelEnd = QPoint(x,y)
a33bbf6907f2e84b961c7aadc4d138664d7d1b60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/a33bbf6907f2e84b961c7aadc4d138664d7d1b60/OWDistanceMap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2315, 1877, 12, 2890, 16, 619, 16, 677, 4672, 365, 18, 17016, 1877, 1638, 273, 2238, 2148, 12, 92, 16, 93, 13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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, 2315, 1877, 12, 2890, 16, 619, 16, 677, 4672, 365, 18, 17016, 1877, 1638, 273, 2238, 2148, 12, 92, 16, 93, 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 ]
if not names: raise Exception("RenderPage called with empty names param") generator_url = "file:" + urllib.pathname2url(_generator_html) generator_url += "?" + ",".join(names) originals = {} for name in names: input_file = _base_dir + "/" + name + ".html" if (os.path.isfile(input_file)): originals[name] = open(input_file, 'rb').read() os.remove(input_file) else: originals[name] = "" shutil.copy(_page_shell_html, input_file)
if not name: raise Exception("RenderPage called with empty name") generator_url = "file:" + urllib.pathname2url(_generator_html) + "?" + name input_file = _base_dir + "/" + name + ".html" original = None if (os.path.isfile(input_file)): original = open(input_file, 'rb').read() os.remove(input_file) shutil.copy(_page_shell_html, input_file)
def RenderPages(names, test_shell): """ Calls test_shell --layout-tests .../generator.html?<names> and writes the results to .../docs/<name>.html """ if not names: raise Exception("RenderPage called with empty names param") generator_url = "file:" + urllib.pathname2url(_generator_html) generator_url += "?" + ",".join(names) # Start with a fresh copy of page shell for each file. # Save the current contents so that we can look for changes later. originals = {} for name in names: input_file = _base_dir + "/" + name + ".html" if (os.path.isfile(input_file)): originals[name] = open(input_file, 'rb').read() os.remove(input_file) else: originals[name] = "" shutil.copy(_page_shell_html, input_file) # Run test_shell and capture result p = Popen( [test_shell, "--layout-tests", "--time-out-ms=30000", generator_url], stdout=PIPE) # The remaining output will be the content of the generated pages. output = p.stdout.read() # Parse out just the JSON part. begin = output.find(_expected_output_preamble) end = output.rfind(_expected_output_postamble) if (begin < 0 or end < 0): raise Exception ("test_shell returned invalid output:\n\n" + output) begin += len(_expected_output_preamble) try: output_parsed = json.loads(output[begin:end]) except ValueError, msg: raise Exception("Could not parse test_shell output as JSON. Error: " + msg + "\n\nOutput was:\n" + output) changed_files = [] for name in names: result = output_parsed[name].encode("utf8") + '\n' # Remove CRs that are appearing from captured test_shell output. result = result.replace('\r', '') # Remove page_shell input_file = _base_dir + "/" + name + ".html" os.remove(input_file) # Write output open(input_file, 'wb').write(result) if (originals[name] and result != originals[name]): changed_files.append(input_file) return changed_files
416261c9a80c52eb9d5047727bbce605a485cf1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/416261c9a80c52eb9d5047727bbce605a485cf1c/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6987, 5716, 12, 1973, 16, 1842, 67, 10304, 4672, 3536, 23665, 1842, 67, 10304, 1493, 6741, 17, 16341, 1372, 19, 8812, 18, 2620, 35, 32, 1973, 34, 471, 7262, 326, 1686, 358, 1372, 19, 8532, 28177, 529, 18652, 2620, 3536, 309, 486, 1257, 30, 1002, 1185, 2932, 3420, 1964, 2566, 598, 1008, 1257, 579, 7923, 225, 4456, 67, 718, 273, 315, 768, 2773, 397, 11527, 18, 28336, 22, 718, 24899, 8812, 67, 2620, 13, 4456, 67, 718, 1011, 13574, 397, 5753, 18, 5701, 12, 1973, 13, 225, 468, 3603, 598, 279, 12186, 1610, 434, 1363, 5972, 364, 1517, 585, 18, 468, 7074, 326, 783, 2939, 1427, 716, 732, 848, 2324, 364, 3478, 5137, 18, 4026, 1031, 273, 2618, 364, 508, 316, 1257, 30, 810, 67, 768, 273, 389, 1969, 67, 1214, 397, 4016, 397, 508, 397, 3552, 2620, 6, 225, 309, 261, 538, 18, 803, 18, 291, 768, 12, 2630, 67, 768, 3719, 30, 4026, 1031, 63, 529, 65, 273, 1696, 12, 2630, 67, 768, 16, 296, 6731, 16063, 896, 1435, 1140, 18, 4479, 12, 2630, 67, 768, 13, 469, 30, 4026, 1031, 63, 529, 65, 273, 1408, 225, 11060, 18, 3530, 24899, 2433, 67, 10304, 67, 2620, 16, 810, 67, 768, 13, 225, 468, 1939, 1842, 67, 10304, 471, 7477, 563, 293, 273, 14339, 12, 306, 3813, 67, 10304, 16, 5238, 6741, 17, 16341, 3113, 5238, 957, 17, 659, 17, 959, 33, 23, 2787, 3113, 4456, 67, 718, 6487, 3909, 33, 27602, 13, 225, 468, 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, 6987, 5716, 12, 1973, 16, 1842, 67, 10304, 4672, 3536, 23665, 1842, 67, 10304, 1493, 6741, 17, 16341, 1372, 19, 8812, 18, 2620, 35, 32, 1973, 34, 471, 7262, 326, 1686, 358, 1372, 19, 8532, 28177, 529, 18652, 2620, 3536, 309, 486, 1257, 30, 1002, 1185, 2932, 3420, 1964, 2566, 598, 1008, 1257, 579, 7923, 225, 4456, 67, 718, 273, 315, 768, 2773, 397, 11527, 18, 28336, 22, 718, 24899, 8812, 67, 2620, 13, 4456, 67, 718, 1011, 13574, 397, 5753, 18, 5701, 12, 1973, 13, 225, 468, 3603, 598, 279, 12186, 1610, 434, 1363, 5972, 364, 1517, 585, 18, 468, 7074, 326, 783, 2939, 1427, 716, 732, 848, 2324, 364, 3478, 5137, 18, 4026, 1031, 273, 2618, 2 ]
bootList += (bootloader,)
bootList.append(bootloader)
def bootElement(bootDict): """ Creates a libvirt <os> element, a child of L{domain element <domainElement>}, that describes the operating system boot protocol for the Virtual Machine, specifically values to enable booting from the BIOS. @param bootDict: dictionary of boot arguments @type bootDict: dictionary @note: bootDict has specific key values for boot type: bootloader: - bootloader: path to bootloader - bootloader_args(optional): arguments to bootloader bios: - arch(optional): VM CPU architecture, e.g. i686 - devices: ordered boot device list: cdrom, hd, fd, or network - loader(optional): path to Xen loader - machine(optional): VM type, e.g. pc - type: hvm or linux kernel: - arch(optional): VM CPU architecture, e.g. i686 - cmdline(optional): arguments to kernel - initrd(optional): path to optional ramdisk image - kernel: path to kernel image - loader(optional): path to Xen loader - machine(optional): VM type, e.g. pc - type: hvm or linux @return: Ovf boot element tuple @rtype: DOM Element tuple """ document = Document() bootList = () # Bootloader if bootDict.has_key('bootloader'): if(bootDict.has_key('devices') | bootDict.has_key('kernel')): raise TypeError else: bootloader = document.createElement('bootloader') bootloaderText = document.createTextNode(bootDict['bootloader']) bootloader.appendChild(bootloaderText) bootList += (bootloader,) if bootDict.has_key('arguments'): arguments = document.createElement('bootloader_args') argumentsText = \ document.createTextNode(bootDict['bootloader_args']) arguments.appendChild(argumentsText) bootList += (arguments,) elif(bootDict.has_key('devices') ^ bootDict.has_key('kernel')): opSys = document.createElement('os') bootType = document.createElement('type') if bootDict.has_key('arch'): bootType.setAttribute('arch', bootDict['arch']) if bootDict.has_key('machine'): bootType.setAttribute('machine', bootDict['machine']) bootType.appendChild(document.createTextNode(bootDict['type'])) opSys.appendChild(bootType) if bootDict.has_key('loader'): loader = document.createElement('loader') loader.appendChild(document.createTextNode(bootDict['loader'])) opSys.appendChild(loader) # BIOS if bootDict.has_key('devices'): for device in bootDict['devices']: boot = document.createElement('boot') boot.setAttribute('dev', device) opSys.appendChild(boot) # Kernel else: kernel = document.createElement('kernel') kernel.appendChild(document.createTextNode(bootDict['kernel'])) opSys.appendChild(kernel) if bootDict.has_key('initrd'): initrd = document.createElement('initrd') initrdText = document.createTextNode(bootDict['initrd']) initrd.appendChild(initrdText) opSys.appendChild(initrd) if bootDict.has_key('cmdline'): cmdline = document.createElement('cmdline') cmdlineText = document.createTextNode(bootDict['cmdline']) cmdline.appendChild(cmdlineText) opSys.appendChild(cmdline) bootList += (opSys,) else: raise TypeError return bootList
f6c4ee20d191329103e90ea864f14e2fab886b83 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9789/f6c4ee20d191329103e90ea864f14e2fab886b83/OvfLibvirt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4835, 1046, 12, 7137, 5014, 4672, 3536, 10210, 279, 16388, 411, 538, 34, 930, 16, 279, 1151, 434, 511, 95, 4308, 930, 411, 4308, 1046, 34, 5779, 716, 19605, 326, 16929, 2619, 4835, 1771, 364, 326, 7269, 12026, 16, 21195, 924, 358, 4237, 4835, 310, 628, 326, 605, 30520, 18, 225, 632, 891, 4835, 5014, 30, 3880, 434, 4835, 1775, 632, 723, 4835, 5014, 30, 3880, 225, 632, 7652, 30, 4835, 5014, 711, 2923, 498, 924, 364, 4835, 618, 30, 225, 4835, 6714, 30, 300, 4835, 6714, 30, 589, 358, 4835, 6714, 300, 4835, 6714, 67, 1968, 12, 10444, 4672, 1775, 358, 4835, 6714, 225, 324, 7441, 30, 300, 6637, 12, 10444, 4672, 8251, 12154, 27418, 16, 425, 18, 75, 18, 277, 26, 5292, 300, 7166, 30, 5901, 4835, 2346, 666, 30, 7976, 520, 16, 15921, 16, 5194, 16, 578, 2483, 300, 4088, 12, 10444, 4672, 589, 358, 1139, 275, 4088, 300, 5228, 12, 10444, 4672, 8251, 618, 16, 425, 18, 75, 18, 6125, 300, 618, 30, 366, 3489, 578, 19725, 225, 5536, 30, 300, 6637, 12, 10444, 4672, 8251, 12154, 27418, 16, 425, 18, 75, 18, 277, 26, 5292, 300, 22877, 12, 10444, 4672, 1775, 358, 5536, 300, 1208, 13623, 12, 10444, 4672, 589, 358, 3129, 24975, 10863, 1316, 300, 5536, 30, 589, 358, 5536, 1316, 300, 4088, 12, 10444, 4672, 589, 358, 1139, 275, 4088, 300, 5228, 12, 10444, 4672, 8251, 618, 16, 425, 18, 75, 18, 6125, 300, 618, 30, 366, 3489, 578, 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, 4835, 1046, 12, 7137, 5014, 4672, 3536, 10210, 279, 16388, 411, 538, 34, 930, 16, 279, 1151, 434, 511, 95, 4308, 930, 411, 4308, 1046, 34, 5779, 716, 19605, 326, 16929, 2619, 4835, 1771, 364, 326, 7269, 12026, 16, 21195, 924, 358, 4237, 4835, 310, 628, 326, 605, 30520, 18, 225, 632, 891, 4835, 5014, 30, 3880, 434, 4835, 1775, 632, 723, 4835, 5014, 30, 3880, 225, 632, 7652, 30, 4835, 5014, 711, 2923, 498, 924, 364, 4835, 618, 30, 225, 4835, 6714, 30, 300, 4835, 6714, 30, 589, 358, 4835, 6714, 300, 4835, 6714, 67, 1968, 12, 10444, 4672, 1775, 358, 4835, 6714, 225, 324, 7441, 30, 300, 6637, 12, 10444, 4672, 8251, 12154, 27418, 16, 425, 2 ]
self.table.hideColumn(0)
self.table.show()
def setTable(self): """defines the attribute/predictions table and paints its contents""" if self.data==None: return
63e34d56e155a4f1aba288f36a71868771294735 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/63e34d56e155a4f1aba288f36a71868771294735/OWPredictions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30146, 12, 2890, 4672, 3536, 536, 1465, 326, 1566, 19, 25499, 1014, 471, 12574, 87, 2097, 2939, 8395, 309, 365, 18, 892, 631, 7036, 30, 327, 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,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939, 8395, 309, 365, 18, 892, 631, 7036, 30, 327, 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 ]
value = _EmptyClass() value.__class__ = klass else:
try: value = _EmptyClass() value.__class__ = klass except RuntimeError: pass if not instantiated:
def load_inst(self): k = self.marker() args = tuple(self.stack[k+1:]) del self.stack[k:] module = self.readline()[:-1] name = self.readline()[:-1] klass = self.find_class(module, name)
18acbe9164b1760b898437cf24b5488bd6a8d845 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/18acbe9164b1760b898437cf24b5488bd6a8d845/pickle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 8591, 12, 2890, 4672, 417, 273, 365, 18, 11145, 1435, 833, 273, 3193, 12, 2890, 18, 3772, 63, 79, 15, 21, 30, 5717, 1464, 365, 18, 3772, 63, 79, 26894, 1605, 273, 365, 18, 896, 1369, 1435, 10531, 17, 21, 65, 508, 273, 365, 18, 896, 1369, 1435, 10531, 17, 21, 65, 7352, 273, 365, 18, 4720, 67, 1106, 12, 2978, 16, 508, 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, 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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, 1262, 67, 8591, 12, 2890, 4672, 417, 273, 365, 18, 11145, 1435, 833, 273, 3193, 12, 2890, 18, 3772, 63, 79, 15, 21, 30, 5717, 1464, 365, 18, 3772, 63, 79, 26894, 1605, 273, 365, 18, 896, 1369, 1435, 10531, 17, 21, 65, 508, 273, 365, 18, 896, 1369, 1435, 10531, 17, 21, 65, 7352, 273, 365, 18, 4720, 67, 1106, 12, 2978, 16, 508, 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 ]
def _lines(self, account_id, date1, date2): lineobj = self.pool.get('account.analytic.line') line_ids = lineobj.search(self.cr, self.uid, [('account_id','=',account_id), ('date','>=',date1), ('date','<=',date2)]) result = {} for line in lineobj.browse(self.cr, self.uid, line_ids): if line.general_account_id.id not in result: result[line.general_account_id.id] = { 'code': line.general_account_id.code, 'name': line.general_account_id.name, 'lines': [] } result[line.general_account_id.id].update(dict.fromkeys(SUMS, 0.0))
for r in res: if r['balance'] > 0: r['debit'] = r['balance'] r['credit'] = 0.0 elif r['balance'] < 0: r['debit'] = 0.0 r['credit'] = -r['balance'] else: r['debit'] = 0.0 r['credit'] = 0.0 return res
def _lines(self, account_id, date1, date2): lineobj = self.pool.get('account.analytic.line') line_ids = lineobj.search(self.cr, self.uid, [('account_id','=',account_id), ('date','>=',date1), ('date','<=',date2)]) result = {} for line in lineobj.browse(self.cr, self.uid, line_ids): if line.general_account_id.id not in result: result[line.general_account_id.id] = { 'code': line.general_account_id.code, 'name': line.general_account_id.name, 'lines': [] } result[line.general_account_id.id].update(dict.fromkeys(SUMS, 0.0))
72f3ca8aa3d8c0857889e5ed6e0fb08e8b43eb98 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/72f3ca8aa3d8c0857889e5ed6e0fb08e8b43eb98/cost_ledger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3548, 12, 2890, 16, 2236, 67, 350, 16, 1509, 21, 16, 1509, 22, 4672, 980, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 304, 7834, 335, 18, 1369, 6134, 980, 67, 2232, 273, 980, 2603, 18, 3072, 12, 2890, 18, 3353, 16, 365, 18, 1911, 16, 306, 2668, 4631, 67, 350, 17023, 33, 2187, 4631, 67, 350, 3631, 7707, 712, 17023, 34, 33, 2187, 712, 21, 3631, 7707, 712, 17023, 32, 33, 2187, 712, 22, 13, 5717, 563, 273, 2618, 364, 980, 316, 980, 2603, 18, 25731, 12, 2890, 18, 3353, 16, 365, 18, 1911, 16, 980, 67, 2232, 4672, 309, 980, 18, 12259, 67, 4631, 67, 350, 18, 350, 486, 316, 563, 30, 563, 63, 1369, 18, 12259, 67, 4631, 67, 350, 18, 350, 65, 273, 288, 296, 710, 4278, 980, 18, 12259, 67, 4631, 67, 350, 18, 710, 16, 296, 529, 4278, 980, 18, 12259, 67, 4631, 67, 350, 18, 529, 16, 296, 3548, 4278, 5378, 289, 563, 63, 1369, 18, 12259, 67, 4631, 67, 350, 18, 350, 8009, 2725, 12, 1576, 18, 2080, 2452, 12, 14020, 55, 16, 374, 18, 20, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3548, 12, 2890, 16, 2236, 67, 350, 16, 1509, 21, 16, 1509, 22, 4672, 980, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 304, 7834, 335, 18, 1369, 6134, 980, 67, 2232, 273, 980, 2603, 18, 3072, 12, 2890, 18, 3353, 16, 365, 18, 1911, 16, 306, 2668, 4631, 67, 350, 17023, 33, 2187, 4631, 67, 350, 3631, 7707, 712, 17023, 34, 33, 2187, 712, 21, 3631, 7707, 712, 17023, 32, 33, 2187, 712, 22, 13, 5717, 563, 273, 2618, 364, 980, 316, 980, 2603, 18, 25731, 12, 2890, 18, 3353, 16, 365, 18, 1911, 16, 980, 67, 2232, 4672, 309, 980, 18, 12259, 67, 4631, 67, 350, 18, 350, 486, 316, 563, 30, 563, 2 ]
cline = cline + " -OUTPUT=" + self.output_type
cline = cline + " -OUTPUT=%s" % self.output_type
def __str__(self): """Write out the command line as a string.""" cline = self.command + " " + self.sequence_file
fbc9d0feeaf2175a11334f5254a38cd6dc48be65 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/fbc9d0feeaf2175a11334f5254a38cd6dc48be65/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 3536, 3067, 596, 326, 1296, 980, 487, 279, 533, 12123, 927, 558, 273, 365, 18, 3076, 397, 315, 315, 397, 365, 18, 6178, 67, 768, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 3536, 3067, 596, 326, 1296, 980, 487, 279, 533, 12123, 927, 558, 273, 365, 18, 3076, 397, 315, 315, 397, 365, 18, 6178, 67, 768, 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 ]
new_dir.children.append(k)
new_dir.children.append(v)
def normalise(self): """ Normalise the heirarchy into one with a single root. We do this by taking each root in turn and removing a component, creating a directory in the process. If the resulting root is in roots, we add it to the children of that root and eliminate it from the map.
9bf07a2221b160efc14cb9a4db22e3f4253c4fb4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4427/9bf07a2221b160efc14cb9a4db22e3f4253c4fb4/cpiofile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25475, 12, 2890, 4672, 3536, 8769, 784, 326, 3904, 481, 991, 93, 1368, 1245, 598, 279, 2202, 1365, 18, 225, 1660, 741, 333, 635, 13763, 1517, 1365, 316, 7005, 471, 9427, 279, 1794, 16, 4979, 279, 1867, 316, 326, 1207, 18, 971, 326, 8156, 1365, 353, 316, 12876, 16, 732, 527, 518, 358, 326, 2325, 434, 716, 1365, 471, 29529, 518, 628, 326, 852, 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, 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 2890, 4672, 3536, 8769, 784, 326, 3904, 481, 991, 93, 1368, 1245, 598, 279, 2202, 1365, 18, 225, 1660, 741, 333, 635, 13763, 1517, 1365, 316, 7005, 471, 9427, 279, 1794, 16, 4979, 279, 1867, 316, 326, 1207, 18, 971, 326, 8156, 1365, 353, 316, 12876, 16, 732, 527, 518, 358, 326, 2325, 434, 716, 1365, 471, 29529, 518, 628, 326, 852, 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 ]
def setUp(self):
def setUp(self):
def _test_currency(self, value, out, **format_opts): self.assertEqual(locale.currency(value, **format_opts), out)
8f0660e995b251c398fc5954f4432db05346d492 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/8f0660e995b251c398fc5954f4432db05346d492/test_locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 7095, 12, 2890, 16, 460, 16, 596, 16, 2826, 2139, 67, 4952, 4672, 365, 18, 11231, 5812, 12, 6339, 18, 7095, 12, 1132, 16, 2826, 2139, 67, 4952, 3631, 596, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 7095, 12, 2890, 16, 460, 16, 596, 16, 2826, 2139, 67, 4952, 4672, 365, 18, 11231, 5812, 12, 6339, 18, 7095, 12, 1132, 16, 2826, 2139, 67, 4952, 3631, 596, 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 ]
while self.running: try:
try: while self.running:
def start(self): """ Starts polling the backends for incoming messages, and blocks until a KeyboardInterrupt or SystemExit is raised, or Router.stop is called. """
67f5dd94b97dd233a45322dfcb992cfa84a25ae6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11809/67f5dd94b97dd233a45322dfcb992cfa84a25ae6/router.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 3536, 30620, 13708, 326, 18015, 364, 6935, 2743, 16, 471, 4398, 3180, 279, 19424, 578, 25454, 353, 11531, 16, 578, 9703, 18, 5681, 353, 2566, 18, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 3536, 30620, 13708, 326, 18015, 364, 6935, 2743, 16, 471, 4398, 3180, 279, 19424, 578, 25454, 353, 11531, 16, 578, 9703, 18, 5681, 353, 2566, 18, 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 ]
raise POSKeyError("No blob file", oid, serial)
raise POSException.POSKeyError("No blob file", oid, serial)
def loadBlob(self, oid, serial):
9c75c305c1e5993889088ed88c76b0b9d0de63c0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10048/9c75c305c1e5993889088ed88c76b0b9d0de63c0/ClientStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 9405, 12, 2890, 16, 7764, 16, 2734, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 9405, 12, 2890, 16, 7764, 16, 2734, 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 ]
admin = self.console.storage.getClient(clients.Client(id=w.adminId)) admin.console = self.console if admin.maxLevel <= client.maxLevel:
admin = None try: admin = self.console.storage.getClient(clients.Client(id=w.adminId)) admin.console = self.console except: pass if admin is None or admin.maxLevel <= client.maxLevel:
def clearAll(self, sclient, client=None): for w in sclient.warnings: admin = self.console.storage.getClient(clients.Client(id=w.adminId)) # client object needs console to get groups admin.console = self.console if admin.maxLevel <= client.maxLevel: w.inactive = 1 self.console.storage.setClientPenalty(w)
0980313b466c7e612220ea76890f688fa3f2a2f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12909/0980313b466c7e612220ea76890f688fa3f2a2f6/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29453, 12, 2890, 16, 888, 676, 16, 1004, 33, 7036, 4672, 364, 341, 316, 888, 676, 18, 12103, 30, 3981, 273, 365, 18, 8698, 18, 5697, 18, 588, 1227, 12, 16931, 18, 1227, 12, 350, 33, 91, 18, 3666, 548, 3719, 468, 1004, 733, 4260, 2983, 358, 336, 3252, 3981, 18, 8698, 273, 365, 18, 8698, 309, 3981, 18, 1896, 2355, 1648, 1004, 18, 1896, 2355, 30, 341, 18, 27366, 273, 404, 365, 18, 8698, 18, 5697, 18, 542, 1227, 24251, 15006, 12, 91, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29453, 12, 2890, 16, 888, 676, 16, 1004, 33, 7036, 4672, 364, 341, 316, 888, 676, 18, 12103, 30, 3981, 273, 365, 18, 8698, 18, 5697, 18, 588, 1227, 12, 16931, 18, 1227, 12, 350, 33, 91, 18, 3666, 548, 3719, 468, 1004, 733, 4260, 2983, 358, 336, 3252, 3981, 18, 8698, 273, 365, 18, 8698, 309, 3981, 18, 1896, 2355, 1648, 1004, 18, 1896, 2355, 30, 341, 18, 27366, 273, 404, 365, 18, 8698, 18, 5697, 18, 542, 1227, 24251, 15006, 12, 91, 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 ]
max_idx[0] = numpy.asarray(numpy.argmax(x, axis), dtype='int32')
max_idx[0] = numpy.asarray(numpy.argmax(x, axis), dtype='int32').view( numpy.int32)
def perform(self, node, (x, axis), (max, max_idx)): max[0] = numpy.asarray(numpy.max(x, axis)) max_idx[0] = numpy.asarray(numpy.argmax(x, axis), dtype='int32')
f609448164bdbb4e1cd0115f3f30beb35dd01a46 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/f609448164bdbb4e1cd0115f3f30beb35dd01a46/basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 12, 2890, 16, 756, 16, 261, 92, 16, 2654, 3631, 261, 1896, 16, 943, 67, 3465, 3719, 30, 943, 63, 20, 65, 273, 3972, 18, 345, 1126, 12, 15974, 18, 1896, 12, 92, 16, 2654, 3719, 943, 67, 3465, 63, 20, 65, 273, 3972, 18, 345, 1126, 12, 15974, 18, 3175, 1896, 12, 92, 16, 2654, 3631, 3182, 2218, 474, 1578, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 12, 2890, 16, 756, 16, 261, 92, 16, 2654, 3631, 261, 1896, 16, 943, 67, 3465, 3719, 30, 943, 63, 20, 65, 273, 3972, 18, 345, 1126, 12, 15974, 18, 1896, 12, 92, 16, 2654, 3719, 943, 67, 3465, 63, 20, 65, 273, 3972, 18, 345, 1126, 12, 15974, 18, 3175, 1896, 12, 92, 16, 2654, 3631, 3182, 2218, 474, 1578, 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 ]
self.cursor += 1
self.cursor += 1
def GetId(self): if self.cursor == len(self.ids): new_id = wx.NewId() self.ids.append(new_id) else: new_id = self.ids[self.cursor] self.cursor += 1 return new_id
2eaa3ab07d5dd95c60428e4bd5594c873f684dd5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2522/2eaa3ab07d5dd95c60428e4bd5594c873f684dd5/wxutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31857, 12, 2890, 4672, 309, 365, 18, 9216, 422, 562, 12, 2890, 18, 2232, 4672, 394, 67, 350, 273, 7075, 18, 1908, 548, 1435, 365, 18, 2232, 18, 6923, 12, 2704, 67, 350, 13, 469, 30, 394, 67, 350, 273, 365, 18, 2232, 63, 2890, 18, 9216, 65, 365, 18, 9216, 1011, 404, 327, 394, 67, 350, 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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 2890, 18, 9216, 65, 365, 18, 9216, 1011, 404, 327, 394, 67, 350, 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 ]
sql.append("\nWHERE " + " AND ".join(clauses))
sql.append(" AND ".join(clauses)) if cached_ids: if clauses: sql.append(" OR ") sql.append("id in (%s)" % (','.join( [str(id) for id in cached_ids])))
def get_constraint_sql(name, value, mode, neg): if name not in custom_fields: name = 't.' + name else: name = name + '.value' value = value[len(mode) + neg:]
3cf7e7336ed76e06678c3d00546ce7d95a23a053 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9317/3cf7e7336ed76e06678c3d00546ce7d95a23a053/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 13364, 67, 4669, 12, 529, 16, 460, 16, 1965, 16, 4251, 4672, 309, 508, 486, 316, 1679, 67, 2821, 30, 508, 273, 296, 88, 1093, 397, 508, 469, 30, 508, 273, 508, 397, 2418, 1132, 11, 460, 273, 460, 63, 1897, 12, 3188, 13, 397, 4251, 26894, 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,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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 13364, 67, 4669, 12, 529, 16, 460, 16, 1965, 16, 4251, 4672, 309, 508, 486, 316, 1679, 67, 2821, 30, 508, 273, 296, 88, 1093, 397, 508, 469, 30, 508, 273, 508, 397, 2418, 1132, 11, 460, 273, 460, 63, 1897, 12, 3188, 13, 397, 4251, 26894, 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 ]
self.main.xmlrpc.DBus("sendfiles", _("Teacher"), server, open )
self.main.xmlrpc.DBus("sendfiles", "%s %s %s" %(_("Teacher"), server, open) )
def send_external(self, filenames): if self.main.classview.ismultiple(): if not self.get_all_clients(): return elif not self.get_client(): return # action sent by vidal_joshur at gva dot es # send files # search for connected users if len(self.connected_users) == 0 or self.connected_users[0] == shared.NO_LOGIN_MSG: shared.error_msg ( _("Can't send files, user is not logged") ) return if not os.path.isdir("/tmp/tcos_share"): shared.info_msg( _("TcosMonitor: FTP+TLS server is not running.") ) return for filename in os.listdir("/tmp/tcos_share/"): if os.path.isfile("/tmp/tcos_share/%s" %filename): os.remove("/tmp/tcos_share/%s" %filename) open="True" basenames = "" for filename in filenames: basenames += "%s\n" % ( os.path.basename(filename[7:]) ) copy(filename[7:], "/tmp/tcos_share/") os.chmod("/tmp/tcos_share/%s" %os.path.basename(filename[7:]), 0644) self.main.write_into_statusbar( _("Waiting for send files...") ) newusernames=[] for user in self.connected_users: if user.find(":") != -1: usern, ip=user.split(":") self.main.xmlrpc.newhost(ip) server=self.main.xmlrpc.GetStandalone("get_server") self.main.xmlrpc.DBus("sendfiles", _("Teacher"), server, open ) self.main.xmlrpc.DBus("mess", _("Teacher has sent some files to %(teacher)s folder:\n\n%(basenames)s") %{"teacher":_("Teacher"), "basenames":basenames}) else: newusernames.append(user) interface=self.main.config.GetVar("network_interface") # maybe we the x remote display is other than tcosmonitor server server=self.get_ip_address(interface) result = self.main.dbus_action.do_sendfiles( newusernames , _("Teacher"), server, open) if not result: shared.error_msg ( _("Error while exec remote app:\nReason:%s") %( self.main.dbus_action.get_error_msg() ) ) self.main.write_into_statusbar( _("Error creating destination folder.") ) else: result = self.main.dbus_action.do_message(newusernames , _("Teacher has sent some files to %(teacher)s folder:\n\n%(basenames)s") %{"teacher":_("Teacher"), "basenames":basenames} ) self.main.write_into_statusbar( _("Files sent.") )
4c8b460e1e727762b6a3b10431823d1d6b889789 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13520/4c8b460e1e727762b6a3b10431823d1d6b889789/sendfiles.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 9375, 12, 2890, 16, 9066, 4672, 309, 365, 18, 5254, 18, 1106, 1945, 18, 291, 9622, 13332, 309, 486, 365, 18, 588, 67, 454, 67, 16931, 13332, 327, 1327, 486, 365, 18, 588, 67, 2625, 13332, 327, 468, 1301, 3271, 635, 18339, 287, 67, 78, 17636, 295, 622, 11404, 69, 3928, 5001, 468, 1366, 1390, 468, 1623, 364, 5840, 3677, 309, 562, 12, 2890, 18, 8537, 67, 5577, 13, 422, 374, 578, 365, 18, 8537, 67, 5577, 63, 20, 65, 422, 5116, 18, 3417, 67, 19022, 67, 11210, 30, 5116, 18, 1636, 67, 3576, 261, 389, 2932, 2568, 1404, 1366, 1390, 16, 729, 353, 486, 7545, 7923, 262, 327, 225, 309, 486, 1140, 18, 803, 18, 291, 1214, 2932, 19, 5645, 19, 5111, 538, 67, 14419, 6, 4672, 5116, 18, 1376, 67, 3576, 12, 389, 2932, 56, 14445, 7187, 30, 19324, 15, 9905, 1438, 353, 486, 3549, 1199, 13, 262, 327, 225, 364, 1544, 316, 1140, 18, 1098, 1214, 2932, 19, 5645, 19, 5111, 538, 67, 14419, 4898, 4672, 309, 1140, 18, 803, 18, 291, 768, 2932, 19, 5645, 19, 5111, 538, 67, 14419, 5258, 87, 6, 738, 3459, 4672, 1140, 18, 4479, 2932, 19, 5645, 19, 5111, 538, 67, 14419, 5258, 87, 6, 738, 3459, 13, 225, 1696, 1546, 5510, 6, 2580, 6809, 273, 1408, 364, 1544, 316, 9066, 30, 2580, 6809, 1011, 2213, 87, 64, 82, 6, 738, 261, 1140, 18, 803, 18, 13909, 12, 3459, 63, 27, 30, 5717, 262, 1610, 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, 1366, 67, 9375, 12, 2890, 16, 9066, 4672, 309, 365, 18, 5254, 18, 1106, 1945, 18, 291, 9622, 13332, 309, 486, 365, 18, 588, 67, 454, 67, 16931, 13332, 327, 1327, 486, 365, 18, 588, 67, 2625, 13332, 327, 468, 1301, 3271, 635, 18339, 287, 67, 78, 17636, 295, 622, 11404, 69, 3928, 5001, 468, 1366, 1390, 468, 1623, 364, 5840, 3677, 309, 562, 12, 2890, 18, 8537, 67, 5577, 13, 422, 374, 578, 365, 18, 8537, 67, 5577, 63, 20, 65, 422, 5116, 18, 3417, 67, 19022, 67, 11210, 30, 5116, 18, 1636, 67, 3576, 261, 389, 2932, 2568, 1404, 1366, 1390, 16, 729, 353, 486, 7545, 7923, 262, 327, 225, 309, 486, 1140, 18, 803, 18, 2 ]
return not self.is_on_page(pages.LoginPage) or self.is_logging
return not self.is_on_page(pages.LoginPage) or self.page.is_logged()
def is_logged(self): return not self.is_on_page(pages.LoginPage) or self.is_logging
d03bd479813247de7d1770b23f9fc4db93a6df8e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7471/d03bd479813247de7d1770b23f9fc4db93a6df8e/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 19385, 12, 2890, 4672, 327, 486, 365, 18, 291, 67, 265, 67, 2433, 12, 7267, 18, 5358, 1964, 13, 578, 365, 18, 291, 67, 11167, 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,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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, 353, 67, 19385, 12, 2890, 4672, 327, 486, 365, 18, 291, 67, 265, 67, 2433, 12, 7267, 18, 5358, 1964, 13, 578, 365, 18, 291, 67, 11167, 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 ]
from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY
def draw(self): from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY style = self.style lines = self.lines rightIndent = style.rightIndent leftIndent = style.leftIndent leading = style.leading font = style.fontName size = style.fontSize alignment = style.alignment firstindent = style.firstLineIndent c = self.canv escape = c._escape #if debug: # print "FAST", id(self), "page number", c.getPageNumber() height = self.height #if debug: # c.rect(0,0,-1, height-size, fill=1, stroke=1) c.translate(0, height-size) textobject = c.beginText() code = textobject._code #textobject.setTextOrigin(0,firstindent) textobject.setFont(font, size) if style.textColor: textobject.setFillColor(style.textColor) first = 1 y = 0 basicWidth = self.availableWidth - rightIndent count = 0 nlines = len(lines) while count<nlines: (text, length, nwords) = lines[count] count = count+1 thisindent = leftIndent if first: thisindent = firstindent if alignment==TA_LEFT: x = thisindent elif alignment==TA_CENTER: extra = basicWidth - length x = thisindent + extra/2.0 elif alignment==TA_RIGHT: extra = basicWidth - length x = thisindent + extra elif alignment==TA_JUSTIFY: x = thisindent if count<nlines and nwords>1: # patch from doug@pennatus.com, 9 Nov 2002, no extraspace on last line textobject.setWordSpace((basicWidth-length)/(nwords-1.0)) else: textobject.setWordSpace(0.0) textobject.setTextOrigin(x,y) text = escape(text) code.append('(%s) Tj' % text) #textobject.textOut(text) y = y-leading c.drawText(textobject)
a9fe2a25d7fcc8f510447cdecc4f6473c43d80f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/a9fe2a25d7fcc8f510447cdecc4f6473c43d80f7/para.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 2154, 273, 365, 18, 4060, 2362, 273, 365, 18, 3548, 2145, 7790, 273, 2154, 18, 4083, 7790, 2002, 7790, 273, 2154, 18, 4482, 7790, 7676, 273, 2154, 18, 27200, 3512, 273, 2154, 18, 5776, 461, 963, 273, 2154, 18, 5776, 1225, 8710, 273, 2154, 18, 14409, 1122, 9355, 273, 2154, 18, 3645, 1670, 7790, 276, 273, 365, 18, 4169, 90, 4114, 273, 276, 6315, 6939, 468, 430, 1198, 30, 468, 565, 1172, 315, 2046, 882, 3113, 612, 12, 2890, 3631, 315, 2433, 1300, 3113, 276, 18, 588, 1964, 1854, 1435, 2072, 273, 365, 18, 4210, 468, 430, 1198, 30, 468, 565, 276, 18, 2607, 12, 20, 16, 20, 16, 17, 21, 16, 2072, 17, 1467, 16, 3636, 33, 21, 16, 11040, 33, 21, 13, 276, 18, 13929, 12, 20, 16, 2072, 17, 1467, 13, 977, 1612, 273, 276, 18, 10086, 1528, 1435, 981, 273, 977, 1612, 6315, 710, 468, 955, 1612, 18, 542, 1528, 7571, 12, 20, 16, 3645, 9355, 13, 977, 1612, 18, 542, 5711, 12, 5776, 16, 963, 13, 309, 2154, 18, 955, 2957, 30, 977, 1612, 18, 542, 8026, 2957, 12, 4060, 18, 955, 2957, 13, 1122, 273, 404, 677, 273, 374, 5337, 2384, 273, 365, 18, 5699, 2384, 300, 2145, 7790, 1056, 273, 374, 290, 3548, 273, 562, 12, 3548, 13, 1323, 1056, 32, 82, 3548, 30, 261, 955, 16, 769, 16, 290, 3753, 13, 273, 2362, 63, 1883, 65, 1056, 273, 1056, 15, 21, 333, 9355, 273, 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, 3724, 12, 2890, 4672, 2154, 273, 365, 18, 4060, 2362, 273, 365, 18, 3548, 2145, 7790, 273, 2154, 18, 4083, 7790, 2002, 7790, 273, 2154, 18, 4482, 7790, 7676, 273, 2154, 18, 27200, 3512, 273, 2154, 18, 5776, 461, 963, 273, 2154, 18, 5776, 1225, 8710, 273, 2154, 18, 14409, 1122, 9355, 273, 2154, 18, 3645, 1670, 7790, 276, 273, 365, 18, 4169, 90, 4114, 273, 276, 6315, 6939, 468, 430, 1198, 30, 468, 565, 1172, 315, 2046, 882, 3113, 612, 12, 2890, 3631, 315, 2433, 1300, 3113, 276, 18, 588, 1964, 1854, 1435, 2072, 273, 365, 18, 4210, 468, 430, 1198, 30, 468, 565, 276, 18, 2607, 12, 20, 16, 20, 16, 17, 21, 16, 2072, 17, 2 ]
zip file will be named 'base_dir' + ".zip". Uses either the InfoZIP "zip" utility (if installed and found on the default search path) or the "zipfile" Python module (if available). If neither tool is available, raises DistutilsExecError. Returns the name of the output zip file.
zip file will be named 'base_dir' + ".zip". Uses either the "zipfile" Python module (if available) or the InfoZIP "zip" utility (if installed and found on the default search path). If neither tool is available, raises DistutilsExecError. Returns the name of the output zip file.
def make_zipfile (base_name, base_dir, verbose=0, dry_run=0): """Create a zip file from all the files under 'base_dir'. The output zip file will be named 'base_dir' + ".zip". Uses either the InfoZIP "zip" utility (if installed and found on the default search path) or the "zipfile" Python module (if available). If neither tool is available, raises DistutilsExecError. Returns the name of the output zip file. """ # This initially assumed the Unix 'zip' utility -- but # apparently InfoZIP's zip.exe works the same under Windows, so # no changes needed! zip_filename = base_name + ".zip" mkpath(os.path.dirname(zip_filename), dry_run=dry_run) try: spawn(["zip", "-rq", zip_filename, base_dir], dry_run=dry_run) except DistutilsExecError: # XXX really should distinguish between "couldn't find # external 'zip' command" and "zip failed" -- shouldn't try # again in the latter case. (I think fixing this will # require some cooperation from the spawn module -- perhaps # a utility function to search the path, so we can fallback # on zipfile.py without the failed spawn.) try: import zipfile except ImportError: raise DistutilsExecError, \ ("unable to create zip file '%s': " + "could neither find a standalone zip utility nor " + "import the 'zipfile' module") % zip_filename log.info("creating '%s' and adding '%s' to it", zip_filename, base_dir) def visit (z, dirname, names): for name in names: path = os.path.normpath(os.path.join(dirname, name)) if os.path.isfile(path): z.write(path, path) if not dry_run: z = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_DEFLATED) os.path.walk(base_dir, visit, z) z.close() return zip_filename
cbfcb6dd959f4bc0079a4504d9fe6a502d153bac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/cbfcb6dd959f4bc0079a4504d9fe6a502d153bac/archive_util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4450, 768, 261, 1969, 67, 529, 16, 1026, 67, 1214, 16, 3988, 33, 20, 16, 10299, 67, 2681, 33, 20, 4672, 3536, 1684, 279, 3144, 585, 628, 777, 326, 1390, 3613, 296, 1969, 67, 1214, 10332, 225, 1021, 876, 3144, 585, 903, 506, 4141, 296, 1969, 67, 1214, 11, 397, 3552, 4450, 9654, 225, 14854, 3344, 326, 315, 4450, 768, 6, 6600, 1605, 261, 430, 2319, 13, 578, 326, 3807, 13951, 315, 4450, 6, 12788, 261, 430, 5876, 471, 1392, 603, 326, 805, 1623, 589, 2934, 225, 971, 15826, 5226, 353, 2319, 16, 14183, 19893, 5471, 1905, 668, 18, 225, 2860, 326, 508, 434, 326, 876, 3144, 585, 18, 3536, 468, 1220, 22458, 12034, 326, 9480, 296, 4450, 11, 12788, 1493, 1496, 468, 29614, 715, 3807, 13951, 1807, 3144, 18, 14880, 6330, 326, 1967, 3613, 8202, 16, 1427, 468, 1158, 3478, 3577, 5, 225, 3144, 67, 3459, 273, 1026, 67, 529, 397, 3552, 4450, 6, 5028, 803, 12, 538, 18, 803, 18, 12287, 12, 4450, 67, 3459, 3631, 10299, 67, 2681, 33, 25011, 67, 2681, 13, 775, 30, 12560, 3816, 6, 4450, 3113, 3701, 86, 85, 3113, 3144, 67, 3459, 16, 1026, 67, 1214, 6487, 10299, 67, 2681, 33, 25011, 67, 2681, 13, 1335, 19893, 5471, 1905, 668, 30, 225, 468, 11329, 8654, 1410, 23926, 3086, 315, 15195, 82, 1404, 1104, 468, 3903, 296, 4450, 11, 1296, 6, 471, 315, 4450, 2535, 6, 1493, 12044, 1404, 775, 468, 3382, 316, 326, 23740, 648, 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, 1221, 67, 4450, 768, 261, 1969, 67, 529, 16, 1026, 67, 1214, 16, 3988, 33, 20, 16, 10299, 67, 2681, 33, 20, 4672, 3536, 1684, 279, 3144, 585, 628, 777, 326, 1390, 3613, 296, 1969, 67, 1214, 10332, 225, 1021, 876, 3144, 585, 903, 506, 4141, 296, 1969, 67, 1214, 11, 397, 3552, 4450, 9654, 225, 14854, 3344, 326, 315, 4450, 768, 6, 6600, 1605, 261, 430, 2319, 13, 578, 326, 3807, 13951, 315, 4450, 6, 12788, 261, 430, 5876, 471, 1392, 603, 326, 805, 1623, 589, 2934, 225, 971, 15826, 5226, 353, 2319, 16, 14183, 19893, 5471, 1905, 668, 18, 225, 2860, 326, 508, 434, 326, 876, 3144, 585, 18, 3536, 468, 1220, 22458, 12034, 326, 9480, 2 ]
"title": category + "AFFE!!!"
"title": library + " " + version + " " + variant
def getDemoData(self, category, item): demoDict = { "name": item + ".html", "nr": item.capitalize(), "tags": [ category #TODO: get more tags ], "title": category + "AFFE!!!" }
af45795645c936e589ff222ecc4bcbe944e80256 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/af45795645c936e589ff222ecc4bcbe944e80256/repository.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2343, 351, 83, 751, 12, 2890, 16, 3150, 16, 761, 4672, 21477, 5014, 273, 288, 315, 529, 6877, 761, 397, 3552, 2620, 3113, 315, 11611, 6877, 761, 18, 5909, 7053, 554, 9334, 315, 4156, 6877, 306, 3150, 468, 6241, 30, 336, 1898, 2342, 308, 16, 315, 2649, 6877, 5313, 397, 315, 315, 397, 1177, 397, 315, 315, 397, 5437, 289, 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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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, 2343, 351, 83, 751, 12, 2890, 16, 3150, 16, 761, 4672, 21477, 5014, 273, 288, 315, 529, 6877, 761, 397, 3552, 2620, 3113, 315, 11611, 6877, 761, 18, 5909, 7053, 554, 9334, 315, 4156, 6877, 306, 3150, 468, 6241, 30, 336, 1898, 2342, 308, 16, 315, 2649, 6877, 5313, 397, 315, 315, 397, 1177, 397, 315, 315, 397, 5437, 289, 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 ]
self.membernames = []
def __init__(self, name=None, mode="r", fileobj=None): """Open an (uncompressed) tar archive `name'. `mode' is either 'r' to read from an existing archive, 'a' to append data to an existing file or 'w' to create a new file overwriting an existing one. `mode' defaults to 'r'. If `fileobj' is given, it is used for reading or writing data. If it can be determined, `mode' is overridden by `fileobj's mode. `fileobj' is not closed, when TarFile is closed. """ self.name = name
f3c5611fef7cbd2ac8f0bf4e44bf11fe210817be /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/f3c5611fef7cbd2ac8f0bf4e44bf11fe210817be/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 1965, 1546, 86, 3113, 17041, 33, 7036, 4672, 3536, 3678, 392, 261, 551, 362, 10906, 13, 8232, 5052, 1375, 529, 10332, 1375, 3188, 11, 353, 3344, 296, 86, 11, 358, 855, 628, 392, 2062, 5052, 16, 296, 69, 11, 358, 714, 501, 358, 392, 2062, 585, 578, 296, 91, 11, 358, 752, 279, 394, 585, 23492, 392, 2062, 1245, 18, 1375, 3188, 11, 3467, 358, 296, 86, 10332, 971, 1375, 768, 2603, 11, 353, 864, 16, 518, 353, 1399, 364, 6453, 578, 7410, 501, 18, 971, 518, 848, 506, 11383, 16, 1375, 3188, 11, 353, 11000, 635, 1375, 768, 2603, 1807, 1965, 18, 1375, 768, 2603, 11, 353, 486, 4375, 16, 1347, 20334, 812, 353, 4375, 18, 3536, 365, 18, 529, 273, 508, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 1965, 1546, 86, 3113, 17041, 33, 7036, 4672, 3536, 3678, 392, 261, 551, 362, 10906, 13, 8232, 5052, 1375, 529, 10332, 1375, 3188, 11, 353, 3344, 296, 86, 11, 358, 855, 628, 392, 2062, 5052, 16, 296, 69, 11, 358, 714, 501, 358, 392, 2062, 585, 578, 296, 91, 11, 358, 752, 279, 394, 585, 23492, 392, 2062, 1245, 18, 1375, 3188, 11, 3467, 358, 296, 86, 10332, 971, 1375, 768, 2603, 11, 353, 864, 16, 518, 353, 1399, 364, 6453, 578, 7410, 501, 18, 971, 518, 848, 506, 11383, 16, 1375, 3188, 11, 353, 11000, 635, 1375, 768, 2603, 1807, 1965, 18, 1375, 768, 2603, 11, 353, 2 ]
val = self._exml.find(util.nspath('TransactionResponse/TransactionSummary', namespaces['csw']))
val = self._exml.find(util.nspath('TransactionSummary', namespaces['csw']))
def _parsetransactionsummary(self): val = self._exml.find(util.nspath('TransactionResponse/TransactionSummary', namespaces['csw'])) if val is not None: id = val.attrib.get('requestId') self.results['requestid'] = util.testXMLValue(id, True) ts = val.find(util.nspath('totalInserted', namespaces['csw'])) self.results['inserted'] = util.testXMLValue(ts) ts = val.find(util.nspath('totalUpdated', namespaces['csw'])) self.results['updated'] = util.testXMLValue(ts) ts = val.find(util.nspath('totalDeleted', namespaces['csw'])) self.results['deleted'] = util.testXMLValue(ts)
71fc78ef0795d82250b17d79eb6b817ce5864632 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11708/71fc78ef0795d82250b17d79eb6b817ce5864632/csw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1065, 542, 28001, 1128, 7687, 12, 2890, 4672, 1244, 273, 365, 6315, 338, 781, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 3342, 4733, 2187, 7728, 3292, 2143, 91, 3546, 3719, 309, 1244, 353, 486, 599, 30, 612, 273, 1244, 18, 14588, 18, 588, 2668, 2293, 548, 6134, 365, 18, 4717, 3292, 2293, 350, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 350, 16, 1053, 13, 3742, 273, 1244, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 4963, 27329, 2187, 7728, 3292, 2143, 91, 3546, 3719, 365, 18, 4717, 3292, 6387, 329, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 3428, 13, 3742, 273, 1244, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 4963, 7381, 2187, 7728, 3292, 2143, 91, 3546, 3719, 365, 18, 4717, 3292, 7007, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 3428, 13, 3742, 273, 1244, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 4963, 7977, 2187, 7728, 3292, 2143, 91, 3546, 3719, 365, 18, 4717, 3292, 8600, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 3428, 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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, 1244, 18, 14588, 18, 588, 2668, 2293, 548, 6134, 365, 18, 4717, 3292, 2293, 350, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 350, 16, 1053, 13, 3742, 273, 1244, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 4963, 27329, 2187, 7728, 3292, 2143, 91, 3546, 3719, 365, 18, 4717, 3292, 6387, 329, 3546, 273, 1709, 18, 3813, 4201, 620, 12, 3428, 13, 3742, 273, 1244, 18, 4720, 12, 1367, 18, 2387, 803, 2668, 4963, 7381, 2187, 7728, 2 ]
def _createRepoPackage(self, name, version='1', release='0', epoch='0', arch='noarch'):
def repoPackage(self, name, version='1', release='0', epoch='0', arch='noarch'):
def _createRepoPackage(self, name, version='1', release='0', epoch='0', arch='noarch'): po = FakePackage(name, version, release, epoch, arch, repo=self.xrepo) self.xsack.addPackage(po) return po
f29fddfeba059aed51f7896bf712a7e74ea6c59d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/f29fddfeba059aed51f7896bf712a7e74ea6c59d/skipbroken-tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3538, 2261, 12, 2890, 16, 508, 16, 1177, 2218, 21, 2187, 3992, 2218, 20, 2187, 7632, 2218, 20, 2187, 6637, 2218, 2135, 991, 11, 4672, 8275, 273, 11551, 2261, 12, 529, 16, 1177, 16, 3992, 16, 7632, 16, 6637, 16, 3538, 33, 2890, 18, 92, 7422, 13, 365, 18, 13713, 484, 18, 1289, 2261, 12, 1631, 13, 327, 8275, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3538, 2261, 12, 2890, 16, 508, 16, 1177, 2218, 21, 2187, 3992, 2218, 20, 2187, 7632, 2218, 20, 2187, 6637, 2218, 2135, 991, 11, 4672, 8275, 273, 11551, 2261, 12, 529, 16, 1177, 16, 3992, 16, 7632, 16, 6637, 16, 3538, 33, 2890, 18, 92, 7422, 13, 365, 18, 13713, 484, 18, 1289, 2261, 12, 1631, 13, 327, 8275, 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 ]
def setComponentList(self, l, key):
def setComponentList(self, l):
def setComponentList(self, l, key): """Remove all components, set them to `l`""" if self.hasTickets(): raise Exception("Will not modify database with existing tickets!") c = self.db().cursor() c.execute("""DELETE FROM component""") for comp in l: print "inserting component ", comp[key] c.execute("""INSERT INTO component (name) VALUES (%s)""", comp[key]) self.db().commit()
bdf7574edc4cb2b55e7db1424e146142fbbbc08d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/bdf7574edc4cb2b55e7db1424e146142fbbbc08d/sourceforge2trac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 1841, 682, 12, 2890, 16, 328, 4672, 3536, 3288, 777, 4085, 16, 444, 2182, 358, 1375, 80, 68, 8395, 309, 365, 18, 5332, 6264, 2413, 13332, 1002, 1185, 2932, 13670, 486, 5612, 2063, 598, 2062, 24475, 4442, 13, 225, 276, 273, 365, 18, 1966, 7675, 9216, 1435, 276, 18, 8837, 2932, 3660, 6460, 4571, 1794, 3660, 7923, 364, 1161, 316, 328,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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, 444, 1841, 682, 12, 2890, 16, 328, 4672, 3536, 3288, 777, 4085, 16, 444, 2182, 358, 1375, 80, 68, 8395, 309, 365, 18, 5332, 6264, 2413, 13332, 1002, 1185, 2932, 13670, 486, 5612, 2063, 598, 2062, 24475, 4442, 13, 225, 276, 273, 365, 18, 1966, 7675, 9216, 1435, 276, 18, 8837, 2932, 3660, 6460, 4571, 1794, 3660, 7923, 364, 1161, 316, 328, 30, 1172, 315, 6387, 310, 1794, 3104, 1161, 63, 856, 65, 276, 18, 8837, 2932, 3660, 11356, 12421, 1794, 261, 529, 13, 13477, 6142, 87, 2225, 6, 3113, 1161, 63, 856, 5717, 365, 18, 1966, 7675, 7371, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
memcache.set('view-project-data', data, time=CacheTimeout)
memcache.set(cache_key, data, time=CacheTimeout)
def list(self, additional_data={}): data = memcache.get('view-project-data') admin = users.is_current_user_admin() if admin or not data: projects = Project.all().order('category').order('name') if not admin: projects = projects.filter('approved =', True) projects = list(projects)
37fc8fce2775705d708d213121f8400e489bf195 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5761/37fc8fce2775705d708d213121f8400e489bf195/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 12, 2890, 16, 3312, 67, 892, 12938, 4672, 501, 273, 20549, 18, 588, 2668, 1945, 17, 4406, 17, 892, 6134, 3981, 273, 3677, 18, 291, 67, 2972, 67, 1355, 67, 3666, 1435, 309, 3981, 578, 486, 501, 30, 10137, 273, 5420, 18, 454, 7675, 1019, 2668, 4743, 16063, 1019, 2668, 529, 6134, 309, 486, 3981, 30, 10137, 273, 10137, 18, 2188, 2668, 25990, 273, 2187, 1053, 13, 10137, 273, 666, 12, 13582, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 12, 2890, 16, 3312, 67, 892, 12938, 4672, 501, 273, 20549, 18, 588, 2668, 1945, 17, 4406, 17, 892, 6134, 3981, 273, 3677, 18, 291, 67, 2972, 67, 1355, 67, 3666, 1435, 309, 3981, 578, 486, 501, 30, 10137, 273, 5420, 18, 454, 7675, 1019, 2668, 4743, 16063, 1019, 2668, 529, 6134, 309, 486, 3981, 30, 10137, 273, 10137, 18, 2188, 2668, 25990, 273, 2187, 1053, 13, 10137, 273, 666, 12, 13582, 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 ]
req = Mock(Request, method='POST', path_info='/build/test',
req = Mock(Request, method='POST', cgi_location='', path_info='/build/test', redirect=redirect, hdf=HDFWrapper(),
def redirect(url): redirected_to.append(url) raise RequestDone
31d623021a4051055a44ec529f842c01a8d178ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4547/31d623021a4051055a44ec529f842c01a8d178ba/web_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3136, 12, 718, 4672, 21808, 67, 869, 18, 6923, 12, 718, 13, 1002, 1567, 7387, 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 ]
[ 1, 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3136, 12, 718, 4672, 21808, 67, 869, 18, 6923, 12, 718, 13, 1002, 1567, 7387, 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 ]
if inscription.site and inscription.site.nom in day_lines: site_line = day_lines[inscription.site.nom]
if inscription.site and inscription.site in day_lines: site_line = day_lines[inscription.site]
def UpdateContents(self): if "Week-end" in creche.feries: self.count = 5 else: self.count = 7 first_monday = getFirstMonday() lines = [] for week_day in range(self.count): date = first_monday + datetime.timedelta(self.semaine * 7 + week_day) if date in creche.jours_fermeture: continue day_lines = {} if len(creche.sites) > 1: lines.append(days[week_day]) for site in creche.sites: line = Day() for i in range(int(creche.ouverture*60/BASE_GRANULARITY), int(creche.fermeture*60/BASE_GRANULARITY)): jour.values[i] = creche.capacite line.label = site.nom day_lines[site] = line lines.append(line) else: site_line = Day() for i in range(int(creche.ouverture*60/BASE_GRANULARITY), int(creche.fermeture*60/BASE_GRANULARITY)): site_line.values[i] = creche.capacite site_line.reference = None site_line.label = days[week_day] lines.append(site_line) for inscrit in creche.inscrits: inscription = inscrit.getInscription(date) if inscription is not None: # print inscrit.prenom, if date in inscrit.journees: line = inscrit.journees[date] else: line = inscrit.getReferenceDay(date) if len(creche.sites) > 1: if inscription.site and inscription.site.nom in day_lines: site_line = day_lines[inscription.site.nom] else: continue for i, value in enumerate(line.values): if value > 0 and value & PRESENT: site_line.values[i] -= 1
ac44a714b4be066ac3c008cb0ede5d964f935313 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8291/ac44a714b4be066ac3c008cb0ede5d964f935313/panel_releves.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2315, 6323, 12, 2890, 4672, 309, 315, 6630, 17, 409, 6, 316, 1519, 18706, 18, 586, 606, 30, 365, 18, 1883, 273, 1381, 469, 30, 365, 18, 1883, 273, 2371, 225, 1122, 67, 81, 28612, 273, 7521, 49, 28612, 1435, 225, 2362, 273, 5378, 364, 4860, 67, 2881, 316, 1048, 12, 2890, 18, 1883, 4672, 1509, 273, 1122, 67, 81, 28612, 397, 3314, 18, 31295, 12, 2890, 18, 307, 5254, 73, 380, 2371, 397, 4860, 67, 2881, 13, 309, 1509, 316, 1519, 18706, 18, 78, 4390, 67, 586, 10578, 594, 30, 1324, 225, 2548, 67, 3548, 273, 2618, 309, 562, 12, 1793, 18706, 18, 12180, 13, 405, 404, 30, 2362, 18, 6923, 12, 9810, 63, 10741, 67, 2881, 5717, 364, 2834, 316, 1519, 18706, 18, 12180, 30, 980, 273, 13735, 1435, 364, 277, 316, 1048, 12, 474, 12, 1793, 18706, 18, 1395, 1097, 594, 14, 4848, 19, 8369, 67, 6997, 1258, 19545, 4107, 3631, 509, 12, 1793, 18706, 18, 586, 10578, 594, 14, 4848, 19, 8369, 67, 6997, 1258, 19545, 4107, 3719, 30, 525, 477, 18, 2372, 63, 77, 65, 273, 1519, 18706, 18, 5909, 1077, 1137, 980, 18, 1925, 273, 2834, 18, 12306, 2548, 67, 3548, 63, 4256, 65, 273, 980, 2362, 18, 6923, 12, 1369, 13, 469, 30, 2834, 67, 1369, 273, 13735, 1435, 364, 277, 316, 1048, 12, 474, 12, 1793, 18706, 18, 1395, 1097, 594, 14, 4848, 19, 8369, 67, 6997, 1258, 19545, 4107, 3631, 509, 12, 1793, 18706, 18, 586, 10578, 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, 2315, 6323, 12, 2890, 4672, 309, 315, 6630, 17, 409, 6, 316, 1519, 18706, 18, 586, 606, 30, 365, 18, 1883, 273, 1381, 469, 30, 365, 18, 1883, 273, 2371, 225, 1122, 67, 81, 28612, 273, 7521, 49, 28612, 1435, 225, 2362, 273, 5378, 364, 4860, 67, 2881, 316, 1048, 12, 2890, 18, 1883, 4672, 1509, 273, 1122, 67, 81, 28612, 397, 3314, 18, 31295, 12, 2890, 18, 307, 5254, 73, 380, 2371, 397, 4860, 67, 2881, 13, 309, 1509, 316, 1519, 18706, 18, 78, 4390, 67, 586, 10578, 594, 30, 1324, 225, 2548, 67, 3548, 273, 2618, 309, 562, 12, 1793, 18706, 18, 12180, 13, 405, 404, 30, 2362, 18, 6923, 12, 9810, 63, 10741, 67, 2881, 2 ]
a2 = Table('addresses', meta2,
a2 = Table('addresses', meta2,
def test_override_existing_fkcols(self): """test that you can override columns and specify new foreign keys to other reflected tables, on columns which *do* already have that foreign key, and that the FK is not duped. """ meta = MetaData(testbase.db) users = Table('users', meta, Column('id', Integer, primary_key=True), Column('name', String(30)), test_needs_fk=True) addresses = Table('addresses', meta, Column('id', Integer,primary_key=True), Column('user_id', Integer, ForeignKey('users.id')), test_needs_fk=True)
35ff8ed25e8a03b36461fbe09d0530bb1164ce82 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1074/35ff8ed25e8a03b36461fbe09d0530bb1164ce82/reflection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10601, 67, 11711, 67, 23120, 6842, 12, 2890, 4672, 3536, 3813, 716, 1846, 848, 3849, 2168, 471, 4800, 394, 5523, 1311, 358, 1308, 21591, 4606, 16, 603, 2168, 1492, 380, 2896, 14, 1818, 1240, 716, 5523, 498, 16, 471, 716, 326, 478, 47, 353, 486, 9417, 329, 18, 3536, 225, 2191, 273, 27512, 12, 3813, 1969, 18, 1966, 13, 3677, 273, 3555, 2668, 5577, 2187, 2191, 16, 4753, 2668, 350, 2187, 2144, 16, 3354, 67, 856, 33, 5510, 3631, 4753, 2668, 529, 2187, 514, 12, 5082, 13, 3631, 1842, 67, 20600, 67, 23120, 33, 5510, 13, 6138, 273, 3555, 2668, 13277, 2187, 2191, 16, 4753, 2668, 350, 2187, 2144, 16, 8258, 67, 856, 33, 5510, 3631, 4753, 2668, 1355, 67, 350, 2187, 2144, 16, 24039, 2668, 5577, 18, 350, 6134, 3631, 1842, 67, 20600, 67, 23120, 33, 5510, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10601, 67, 11711, 67, 23120, 6842, 12, 2890, 4672, 3536, 3813, 716, 1846, 848, 3849, 2168, 471, 4800, 394, 5523, 1311, 358, 1308, 21591, 4606, 16, 603, 2168, 1492, 380, 2896, 14, 1818, 1240, 716, 5523, 498, 16, 471, 716, 326, 478, 47, 353, 486, 9417, 329, 18, 3536, 225, 2191, 273, 27512, 12, 3813, 1969, 18, 1966, 13, 3677, 273, 3555, 2668, 5577, 2187, 2191, 16, 4753, 2668, 350, 2187, 2144, 16, 3354, 67, 856, 33, 5510, 3631, 4753, 2668, 529, 2187, 514, 12, 5082, 13, 3631, 1842, 67, 20600, 67, 23120, 33, 5510, 13, 6138, 273, 3555, 2668, 13277, 2187, 2191, 16, 4753, 2668, 350, 2187, 2144, 16, 8258, 67, 856, 33, 5510, 3631, 2 ]
self._post_handlers = [
post_handlers = [
def __init__(self, request, client_address, socket_server): self._connect_handlers = [ self.RedirectConnectHandler, self.ServerAuthConnectHandler, self.DefaultConnectResponseHandler] self._get_handlers = [ self.NoCacheMaxAgeTimeHandler, self.NoCacheTimeHandler, self.CacheTimeHandler, self.CacheExpiresHandler, self.CacheProxyRevalidateHandler, self.CachePrivateHandler, self.CachePublicHandler, self.CacheSMaxAgeHandler, self.CacheMustRevalidateHandler, self.CacheMustRevalidateMaxAgeHandler, self.CacheNoStoreHandler, self.CacheNoStoreMaxAgeHandler, self.CacheNoTransformHandler, self.DownloadHandler, self.DownloadFinishHandler, self.EchoHeader, self.EchoHeaderOverride, self.EchoAllHandler, self.FileHandler, self.RealFileWithCommonHeaderHandler, self.RealBZ2FileWithCommonHeaderHandler, self.SetCookieHandler, self.AuthBasicHandler, self.AuthDigestHandler, self.SlowServerHandler, self.ContentTypeHandler, self.ServerRedirectHandler, self.ClientRedirectHandler, self.ChromiumSyncTimeHandler, self.MultipartHandler, self.DefaultResponseHandler] self._post_handlers = [ self.EchoTitleHandler, self.EchoAllHandler, self.ChromiumSyncCommandHandler, self.EchoHandler, self.DeviceManagementHandler] + self._get_handlers self._put_handlers = [ self.EchoTitleHandler, self.EchoAllHandler, self.EchoHandler] + self._get_handlers
a358fd8076527132d37e0262823abe3807da16b8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/a358fd8076527132d37e0262823abe3807da16b8/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 590, 16, 1004, 67, 2867, 16, 2987, 67, 3567, 4672, 365, 6315, 3612, 67, 11046, 273, 306, 365, 18, 5961, 5215, 1503, 16, 365, 18, 2081, 1730, 5215, 1503, 16, 365, 18, 1868, 5215, 1064, 1503, 65, 365, 6315, 588, 67, 11046, 273, 306, 365, 18, 2279, 1649, 2747, 9692, 950, 1503, 16, 365, 18, 2279, 1649, 950, 1503, 16, 365, 18, 1649, 950, 1503, 16, 365, 18, 1649, 14449, 1503, 16, 365, 18, 1649, 3886, 426, 5662, 1503, 16, 365, 18, 1649, 6014, 1503, 16, 365, 18, 1649, 4782, 1503, 16, 365, 18, 1649, 55, 2747, 9692, 1503, 16, 365, 18, 1649, 10136, 426, 5662, 1503, 16, 365, 18, 1649, 10136, 426, 5662, 2747, 9692, 1503, 16, 365, 18, 1649, 2279, 2257, 1503, 16, 365, 18, 1649, 2279, 2257, 2747, 9692, 1503, 16, 365, 18, 1649, 2279, 4059, 1503, 16, 365, 18, 7109, 1503, 16, 365, 18, 7109, 11641, 1503, 16, 365, 18, 19704, 1864, 16, 365, 18, 19704, 1864, 6618, 16, 365, 18, 19704, 1595, 1503, 16, 365, 18, 28942, 16, 365, 18, 6955, 812, 1190, 6517, 1864, 1503, 16, 365, 18, 6955, 38, 62, 22, 812, 1190, 6517, 1864, 1503, 16, 365, 18, 694, 6151, 1503, 16, 365, 18, 1730, 8252, 1503, 16, 365, 18, 1730, 9568, 1503, 16, 365, 18, 28733, 2081, 1503, 16, 365, 18, 8046, 1503, 16, 365, 18, 2081, 5961, 1503, 16, 365, 18, 1227, 5961, 1503, 16, 365, 18, 30761, 5077, 4047, 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, 1001, 2738, 972, 12, 2890, 16, 590, 16, 1004, 67, 2867, 16, 2987, 67, 3567, 4672, 365, 6315, 3612, 67, 11046, 273, 306, 365, 18, 5961, 5215, 1503, 16, 365, 18, 2081, 1730, 5215, 1503, 16, 365, 18, 1868, 5215, 1064, 1503, 65, 365, 6315, 588, 67, 11046, 273, 306, 365, 18, 2279, 1649, 2747, 9692, 950, 1503, 16, 365, 18, 2279, 1649, 950, 1503, 16, 365, 18, 1649, 950, 1503, 16, 365, 18, 1649, 14449, 1503, 16, 365, 18, 1649, 3886, 426, 5662, 1503, 16, 365, 18, 1649, 6014, 1503, 16, 365, 18, 1649, 4782, 1503, 16, 365, 18, 1649, 55, 2747, 9692, 1503, 16, 365, 18, 1649, 10136, 426, 5662, 1503, 16, 365, 18, 1649, 10136, 2 ]
y = (0.5 * p['V0'] * exp(-p['kappa'] * (r / beta - p['s0'])) * ksi / p['gamma2'] * theta)
y = (0.5 * p1['V0'] * exp(-p2['kappa'] * (r / beta - p2['s0'])) * ksi / p1['gamma2'] * theta)
def interact1(self, a1, a2, d, r, p, ksi): x = exp(acut * (r - p['rc'])) theta = 1.0 / (1.0 + x) y = (0.5 * p['V0'] * exp(-p['kappa'] * (r / beta - p['s0'])) * ksi / p['gamma2'] * theta) self.energy -= y f = y * (p['kappa'] / beta + acut * theta * x) * d / r self.forces[a1] += f self.forces[a2] -= f self.sigma1[a1] += (exp(-p['eta2'] * (r - beta * p['s0'])) * ksi * theta / p['gamma1'])
1d1e9034a00e074335b5193cf30cd09bb456808c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5735/1d1e9034a00e074335b5193cf30cd09bb456808c/emt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16592, 21, 12, 2890, 16, 279, 21, 16, 279, 22, 16, 302, 16, 436, 16, 293, 16, 417, 7722, 4672, 619, 273, 1329, 12, 1077, 322, 380, 261, 86, 300, 293, 3292, 1310, 3546, 3719, 7338, 273, 404, 18, 20, 342, 261, 21, 18, 20, 397, 619, 13, 677, 273, 261, 20, 18, 25, 380, 293, 21, 3292, 58, 20, 3546, 380, 1329, 19236, 84, 22, 3292, 79, 16569, 3546, 380, 261, 86, 342, 6796, 300, 293, 22, 3292, 87, 20, 3546, 3719, 380, 417, 7722, 342, 293, 21, 3292, 20589, 22, 3546, 380, 7338, 13, 365, 18, 15358, 3947, 677, 284, 273, 677, 380, 261, 84, 3292, 79, 16569, 3546, 342, 6796, 397, 1721, 322, 380, 7338, 380, 619, 13, 380, 302, 342, 436, 365, 18, 1884, 764, 63, 69, 21, 65, 1011, 284, 365, 18, 1884, 764, 63, 69, 22, 65, 3947, 284, 365, 18, 13201, 21, 63, 69, 21, 65, 1011, 261, 2749, 19236, 84, 3292, 1066, 22, 3546, 380, 261, 86, 300, 6796, 380, 293, 3292, 87, 20, 3546, 3719, 380, 417, 7722, 380, 7338, 342, 293, 3292, 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 21, 16, 279, 22, 16, 302, 16, 436, 16, 293, 16, 417, 7722, 4672, 619, 273, 1329, 12, 1077, 322, 380, 261, 86, 300, 293, 3292, 1310, 3546, 3719, 7338, 273, 404, 18, 20, 342, 261, 21, 18, 20, 397, 619, 13, 677, 273, 261, 20, 18, 25, 380, 293, 21, 3292, 58, 20, 3546, 380, 1329, 19236, 84, 22, 3292, 79, 16569, 3546, 380, 261, 86, 342, 6796, 300, 293, 22, 3292, 87, 20, 3546, 3719, 380, 417, 7722, 342, 293, 21, 3292, 20589, 22, 3546, 380, 7338, 13, 365, 18, 15358, 3947, 677, 284, 273, 677, 380, 261, 84, 3292, 79, 16569, 3546, 342, 6796, 397, 1721, 322, 380, 7338, 2 ]
"""returns an invalid value and expected parse result by index."""
"""overridden from Argument."""
def GetInvalidArg(self, offset, index): """returns an invalid value and expected parse result by index.""" return ("-1", "kNoError", "GL_INVALID_VALUE")
51330b3a08d845da9815b843e020833e62577828 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/51330b3a08d845da9815b843e020833e62577828/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1941, 4117, 12, 2890, 16, 1384, 16, 770, 4672, 3536, 83, 1107, 2794, 628, 5067, 12123, 327, 7566, 17, 21, 3113, 315, 79, 2279, 668, 3113, 315, 11261, 67, 9347, 67, 4051, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1941, 4117, 12, 2890, 16, 1384, 16, 770, 4672, 3536, 83, 1107, 2794, 628, 5067, 12123, 327, 7566, 17, 21, 3113, 315, 79, 2279, 668, 3113, 315, 11261, 67, 9347, 67, 4051, 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 ]
print "<tv generator-info-name=\"Script by Bart Heremans, fixes,testing and debuging by den_RDC\">"
print "<tv generator-info-name=\"Script by Bart Heremans and den_RDC\">"
def main(): try: opts, args = getopt.getopt(sys.argv[1:], "hd:", ["help", "days="]) except getopt.GetoptError: # print help information and exit: usage() sys.exit(2) dagen = 2 for o, a in opts: if o in ("-h", "--help"): print "help" usage() sys.exit() if o in ("-d", "--days"): dagen = int(a) print "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" print "<tv generator-info-name=\"Script by Bart Heremans, fixes,testing and debuging by den_RDC\">" cChannel(1,'TV1',dagen).xml() cChannel(2,'Ketnet',dagen).xml() cChannel(3,'Canvas',dagen).xml() cChannel(4,'VTM',dagen).xml() cChannel(5,'Kanaal2',dagen).xml() cChannel(6,'VT4',dagen).xml() cChannel(7,'Vitaya',dagen).xml() #cChannel(8,'EventTV',dagen).xml() #LibertyTV #cChannel(9,'KanaalZ',dagen).xml() #cChannel(10,'NBC',dagen).xml() cChannel(11,'Ned1',dagen).xml() cChannel(12,'Ned2',dagen).xml() cChannel(13,'Ned3',dagen).xml() cChannel(14,'Eurosport',dagen).xml() #cChannel(15,'Canal+',dagen).xml() #cChannel(16,'Canal+Blauw',dagen).xml() cChannel(17,'RTBF1',dagen).xml() cChannel(18,'RTBF2',dagen).xml() print "</tv>"
9392fbfdf763574a03e1401669d97418d30dd72e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/9392fbfdf763574a03e1401669d97418d30dd72e/xml_tv_be.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315, 22057, 2773, 16, 8247, 5201, 3113, 315, 9810, 1546, 5717, 1335, 336, 3838, 18, 967, 3838, 668, 30, 468, 1172, 2809, 1779, 471, 2427, 30, 4084, 1435, 2589, 18, 8593, 12, 22, 13, 22940, 275, 273, 576, 364, 320, 16, 279, 316, 1500, 30, 309, 320, 316, 7566, 17, 76, 3113, 5238, 5201, 6, 4672, 1172, 315, 5201, 6, 4084, 1435, 2589, 18, 8593, 1435, 309, 320, 316, 7566, 17, 72, 3113, 5238, 9810, 6, 4672, 22940, 275, 273, 509, 12, 69, 13, 1172, 20410, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 5189, 12609, 17, 17258, 17, 21, 2412, 35, 2984, 1172, 3532, 24161, 4456, 17, 1376, 17, 529, 5189, 3651, 635, 605, 485, 670, 264, 351, 634, 471, 5545, 67, 54, 5528, 21121, 225, 276, 2909, 12, 21, 11189, 15579, 21, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 22, 11189, 47, 278, 2758, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 23, 11189, 12971, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 24, 11189, 58, 22903, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 25, 11189, 47, 13848, 287, 22, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 26, 11189, 58, 56, 24, 2187, 30204, 275, 2934, 2902, 1435, 276, 2909, 12, 27, 11189, 58, 305, 528, 69, 2187, 30204, 275, 2934, 2902, 1435, 468, 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, 2774, 13332, 225, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315, 22057, 2773, 16, 8247, 5201, 3113, 315, 9810, 1546, 5717, 1335, 336, 3838, 18, 967, 3838, 668, 30, 468, 1172, 2809, 1779, 471, 2427, 30, 4084, 1435, 2589, 18, 8593, 12, 22, 13, 22940, 275, 273, 576, 364, 320, 16, 279, 316, 1500, 30, 309, 320, 316, 7566, 17, 76, 3113, 5238, 5201, 6, 4672, 1172, 315, 5201, 6, 4084, 1435, 2589, 18, 8593, 1435, 309, 320, 316, 7566, 17, 72, 3113, 5238, 9810, 6, 4672, 22940, 275, 273, 509, 12, 69, 13, 1172, 20410, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 5189, 12609, 2 ]
A wrapper around methods or functions wich automatically print the correct
A wrapper around methods or functions which automatically print the correct
sage: def bar():
1d78cf8d98d4fe595d10148b4d6738e63873a04e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/1d78cf8d98d4fe595d10148b4d6738e63873a04e/misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 4653, 13332, 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, 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, 1652, 4653, 13332, 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 ]
if user.is_superuser: return True
if permission >= 3: return False if user.is_superuser or user.is_staff: return True
def __has_permission(self, user, pref, permission): if permission == None or permission <= -1: return True
3bbe1b315cee2f8c8161a63eb2bf5543e0655652 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11563/3bbe1b315cee2f8c8161a63eb2bf5543e0655652/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5332, 67, 9827, 12, 2890, 16, 729, 16, 11307, 16, 4132, 4672, 309, 4132, 422, 599, 578, 4132, 1648, 300, 21, 30, 327, 1053, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1001, 5332, 67, 9827, 12, 2890, 16, 729, 16, 11307, 16, 4132, 4672, 309, 4132, 422, 599, 578, 4132, 1648, 300, 21, 30, 327, 1053, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"""The last child of this node. If ther is no such node
"""The last child of this node. If there is no such node
def getLastChild(self): """The last child of this node. If ther is no such node this returns None.""" return None
92d9f9e74555de20766dc34c52e48dbeb52376d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/92d9f9e74555de20766dc34c52e48dbeb52376d2/ZDOM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7595, 1763, 12, 2890, 4672, 3536, 1986, 1142, 1151, 434, 333, 756, 18, 971, 1915, 353, 1158, 4123, 756, 333, 1135, 599, 12123, 327, 599, 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,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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, 7595, 1763, 12, 2890, 4672, 3536, 1986, 1142, 1151, 434, 333, 756, 18, 971, 1915, 353, 1158, 4123, 756, 333, 1135, 599, 12123, 327, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]