rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
httpauth.findHTTPAuth(callback, host.decode('ascii','replace'), path.decode('ascii','replace'))
try: httpauth.findHTTPAuth(callback, host.decode('ascii', 'replace'), path.decode('ascii', 'replace')) except UnicodeDecodeError: httpauth.findHTTPAuth(callback, host.decode('ascii', 'ignore'), path.decode('ascii', 'ignore'))
def callback(authHeader): if self.cancelled: return if authHeader is not None: self.headers["Authorization"] = authHeader self.reallyStartRequest()
591369ea099136e00a527abdb8bf32272db62c82 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/591369ea099136e00a527abdb8bf32272db62c82/httpclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 1944, 1864, 4672, 309, 365, 18, 10996, 1259, 30, 327, 309, 1357, 1864, 353, 486, 599, 30, 365, 18, 2485, 9614, 6063, 11929, 273, 1357, 1864, 365, 18, 266, 1230, 1685, 691, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 1944, 1864, 4672, 309, 365, 18, 10996, 1259, 30, 327, 309, 1357, 1864, 353, 486, 599, 30, 365, 18, 2485, 9614, 6063, 11929, 273, 1357, 1864, 365, 18, 266, 1230, 1685, 691, 14...
c_ftime = self.llexternal('ftime', [lltype.Ptr(self.TIMEB)],
c_ftime = self.llexternal(FTIME, [lltype.Ptr(self.TIMEB)],
def register_time_time(self): # Note: time.time() is used by the framework GC during collect(), # which means that we have to be very careful about not allocating # GC memory here. This is the reason for the _nowrapper=True.
a0f59a944fe10d81aab27fc6f0db06718dbba302 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/a0f59a944fe10d81aab27fc6f0db06718dbba302/ll_time.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 957, 67, 957, 12, 2890, 4672, 468, 3609, 30, 813, 18, 957, 1435, 353, 1399, 635, 326, 8257, 15085, 4982, 3274, 9334, 468, 1492, 4696, 716, 732, 1240, 358, 506, 8572, 26850, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 957, 67, 957, 12, 2890, 4672, 468, 3609, 30, 813, 18, 957, 1435, 353, 1399, 635, 326, 8257, 15085, 4982, 3274, 9334, 468, 1492, 4696, 716, 732, 1240, 358, 506, 8572, 26850, 2...
self.vboxlayout10.addLayout(self.hboxlayout6)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(QtCore.QSize(QtCore.QRect(0,0,776,593).size()).expandedTo(MainWindow.minimumSizeHint())) MainWindow.setWindowIcon(QtGui.QIcon("../../../.designer/backup"))
79b42f390e6f53f319f4cccbce3f6018d111c729 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1108/79b42f390e6f53f319f4cccbce3f6018d111c729/main_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 12740, 3829, 4672, 12740, 3829, 18, 542, 16707, 2932, 6376, 3829, 7923, 12740, 3829, 18, 15169, 12, 23310, 4670, 18, 53, 1225, 12, 23310, 4670, 18, 53, 6120, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 12740, 3829, 4672, 12740, 3829, 18, 542, 16707, 2932, 6376, 3829, 7923, 12740, 3829, 18, 15169, 12, 23310, 4670, 18, 53, 1225, 12, 23310, 4670, 18, 53, 6120, 1...
raise Exception( "Can't create tables: %s" % retVal[ 'Message' ]) def getMyProxyServer(self):
raise Exception( "Can't create tables: %s" % retVal[ 'Message' ] ) def getMyProxyServer( self ):
def __init__(self, requireVoms = False, useMyProxy = False, maxQueueSize = 10 ): DB.__init__(self,'ProxyDB','Framework/ProxyDB',maxQueueSize) random.seed() self.__defaultRequestLifetime = 300 # 5min self.__defaultTokenLifetime = 86400 * 7 # 1 week self.__defaultTokenMaxUses = 50 self.__vomsRequired = requireVoms self._...
71763bc5d615265855ff68fdb1be8903192a3f1b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/71763bc5d615265855ff68fdb1be8903192a3f1b/ProxyDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2583, 58, 25390, 273, 1083, 16, 999, 12062, 3886, 273, 1083, 16, 943, 3183, 1225, 273, 1728, 262, 30, 2383, 16186, 2738, 972, 12, 2890, 11189, 3886, 2290, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2583, 58, 25390, 273, 1083, 16, 999, 12062, 3886, 273, 1083, 16, 943, 3183, 1225, 273, 1728, 262, 30, 2383, 16186, 2738, 972, 12, 2890, 11189, 3886, 2290, ...
cr.execute(""" create or replace view report_crm_case_features_user as ( select min(c.id) as id, c.user_id, count(*) as nbr from crm_case c left join project_task t on t.case_id=c.id left join project_project p on p.id = t.project_id where c.section_id = p.section_feature_id group by c.user_id, c.name )""")
global project if project: cr.execute(""" create or replace view report_crm_case_features_user as ( select min(c.id) as id, c.user_id, count(*) as nbr from crm_case c left join project_task t on t.case_id=c.id left join project_project p on p.id = t.project_id where c.section_id = p.section_feature_id and p.id=%s grou...
def init(self, cr): cr.execute(""" create or replace view report_crm_case_features_user as ( select min(c.id) as id, c.user_id, count(*) as nbr from crm_case c left join project_task t on t.case_id=c.id left join project_project p on p.id = t.project_id where c.section_id = p.section_feature_id group by c.user_id, c.n...
b1d94ef431a6eadea6342813a49fcdf00ea519b1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/b1d94ef431a6eadea6342813a49fcdf00ea519b1/portal_project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 16, 4422, 4672, 4422, 18, 8837, 2932, 3660, 752, 578, 1453, 1476, 2605, 67, 3353, 81, 67, 3593, 67, 7139, 67, 1355, 487, 261, 2027, 1131, 12, 71, 18, 350, 13, 487, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 16, 4422, 4672, 4422, 18, 8837, 2932, 3660, 752, 578, 1453, 1476, 2605, 67, 3353, 81, 67, 3593, 67, 7139, 67, 1355, 487, 261, 2027, 1131, 12, 71, 18, 350, 13, 487, 61...
self.assertEqual(utility, 'abc')
self.assertEqual(utility, factory)
def test_setup_registry_request_factory(self): from repoze.bfg.registry import Registry from repoze.bfg.interfaces import IRequestFactory reg = Registry() config = self._makeOne(reg) config.setup_registry(request_factory='abc') utility = reg.getUtility(IRequestFactory) self.assertEqual(utility, 'abc')
b474b5af1069c24384343766c8bfb6768a8a9520 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14321/b474b5af1069c24384343766c8bfb6768a8a9520/test_configuration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 8401, 67, 9893, 67, 2293, 67, 6848, 12, 2890, 4672, 628, 3538, 8489, 18, 70, 2137, 18, 9893, 1930, 5438, 628, 3538, 8489, 18, 70, 2137, 18, 15898, 1930, 467, 691, 1733, 960, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 8401, 67, 9893, 67, 2293, 67, 6848, 12, 2890, 4672, 628, 3538, 8489, 18, 70, 2137, 18, 9893, 1930, 5438, 628, 3538, 8489, 18, 70, 2137, 18, 15898, 1930, 467, 691, 1733, 960, ...
def unix_getpass(prompt='Password: '):
def unix_getpass(prompt='Password: ', stream=None):
def unix_getpass(prompt='Password: '): """Prompt for a password, with echo turned off. Restore terminal settings at end. """ try: fd = sys.stdin.fileno() except: return default_getpass(prompt) old = termios.tcgetattr(fd) # a copy to save new = old[:] new[3] = new[3] & ~termios.ECHO # 3 == 'lflags' try: termios....
1f1f631dd29e292259f19f3b5e641e5ae0d429db /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1f1f631dd29e292259f19f3b5e641e5ae0d429db/getpass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9753, 67, 588, 5466, 12, 13325, 2218, 3913, 30, 2265, 1407, 33, 7036, 4672, 3536, 15967, 364, 279, 2201, 16, 598, 3376, 21826, 3397, 18, 225, 11197, 8651, 1947, 622, 679, 18, 3536, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9753, 67, 588, 5466, 12, 13325, 2218, 3913, 30, 2265, 1407, 33, 7036, 4672, 3536, 15967, 364, 279, 2201, 16, 598, 3376, 21826, 3397, 18, 225, 11197, 8651, 1947, 622, 679, 18, 3536, 225, ...
'stop_after_init', 'logrotate', 'without_demo', 'netrpc', 'xmlrpc', 'xmlrpcs', 'syslog',
'stop_after_init', 'logrotate', 'without_demo', 'netrpc', 'xmlrpc', 'syslog',
def die(cond, msg): if cond: print msg sys.exit(1)
e8030b3852cc7d5a5b13d9d184a6c6a546a7d683 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/e8030b3852cc7d5a5b13d9d184a6c6a546a7d683/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10387, 12, 10013, 16, 1234, 4672, 309, 6941, 30, 1172, 1234, 2589, 18, 8593, 12, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10387, 12, 10013, 16, 1234, 4672, 309, 6941, 30, 1172, 1234, 2589, 18, 8593, 12, 21, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
items.append((col.name, getattr(self, col.name)))
items.append((col.name, value))
def _reprItems(self): items = [] for col in self.sqlmeta.columnList: value = getattr(self, col.name) r = repr(value) if len(r) > 20: value = r[:17] + "..." + r[-1] items.append((col.name, getattr(self, col.name))) return items
dc13ed5bcb44fc09f7376a7e2e1b9adbac031f00 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8798/dc13ed5bcb44fc09f7376a7e2e1b9adbac031f00/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 3126, 12, 2890, 4672, 1516, 273, 5378, 364, 645, 316, 365, 18, 4669, 3901, 18, 2827, 682, 30, 460, 273, 3869, 12, 2890, 16, 645, 18, 529, 13, 436, 273, 8480, 12, 1132, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 3126, 12, 2890, 4672, 1516, 273, 5378, 364, 645, 316, 365, 18, 4669, 3901, 18, 2827, 682, 30, 460, 273, 3869, 12, 2890, 16, 645, 18, 529, 13, 436, 273, 8480, 12, 1132, 13...
if label.strip() != '']
if label.strip()]
def _generate_toc(self): """Generate key-to-(start, stop) table of contents.""" starts, stops = [], [] self._file.seek(0) next_pos = 0 label_lists = [] while True: line_pos = next_pos line = self._file.readline() next_pos = self._file.tell() if line == '\037\014' + os.linesep: if len(stops) < len(starts): stops.append(...
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, 7163, 67, 1391, 12, 2890, 4672, 3536, 4625, 498, 17, 869, 17, 12, 1937, 16, 2132, 13, 1014, 434, 2939, 12123, 2542, 16, 12349, 273, 5378, 16, 5378, 365, 6315, 768, 18, 16508, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7163, 67, 1391, 12, 2890, 4672, 3536, 4625, 498, 17, 869, 17, 12, 1937, 16, 2132, 13, 1014, 434, 2939, 12123, 2542, 16, 12349, 273, 5378, 16, 5378, 365, 6315, 768, 18, 16508, 12, ...
vb37yAONRfBQ3GaLSAoDQAxRYdj70Ht0Sn38GQNQ4XVvpqQ7+HUJC4idhy+U7psOVmoEVhCghIs9 iN/X4CKQhg9oOIk8mu3WNusmrCsCUyqcU8/3W9uuCCV2CDvGdRcnECjChmYwhJURM8B8ti385FvJ OFOLXVKLIVeh2B4W/kYIZj0IAFGeADiayG1uu13sUOjWPrJMEDZXyLbLVrgiEkC7CMwWXgbYtvvP 3SVoqFgq8VCJXdQtFVze+/7CjVrAdHf/dChQaJCfGUtbutvnBBZ8lXQTGg18kobPde4E0JH2IR8V rqEbyGEfZNxQ...
vb37yAONRfBQ3GaLSAoDQAxRYdj70HuESn38GQNQ4XVvppQ7+HUJC1Sdhy+U7psOVmoEVhBwhIs9 VN/X4CKQhg9oOIk8mu3WNusmrCsCUyp0U8/3W9uuCCV2CDvGdRcnECjChmYwhJURM8B8ti385FvJ OFOLXVKLIVeh2B4W/kYIZj0IAFGeADiayG1uu13sUOjWP+JMEDZXyLbLVrgiEkC7CMwWXgbYtvvP 3SVoqFgq8VCJXdQtFoze+/7CjVrAdHf/dChQaJCfGUtbutvnBBeslXQTGg18kvLPde4E0JH2IR8W PIXAHrqBHGTc...
def get_exe_bytes (self): import base64 return base64.decodestring (EXEDATA)
ad2a84ae68ac2d93b5505f0c0ba349b667bb7c04 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/ad2a84ae68ac2d93b5505f0c0ba349b667bb7c04/bdist_wininst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 14880, 67, 3890, 261, 2890, 4672, 1930, 1026, 1105, 327, 1026, 1105, 18, 4924, 1145, 371, 261, 2294, 2056, 3706, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 14880, 67, 3890, 261, 2890, 4672, 1930, 1026, 1105, 327, 1026, 1105, 18, 4924, 1145, 371, 261, 2294, 2056, 3706, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
blogpath += '<a href="http://%s">%s</a>' % \ (os.path.join(webroot[1], sitepath), sitepath[sidx+1:])
if len(sitepath[sidx+1:]) > 0: blogpath += '<a href="http://%s">%s</a>' % \ (os.path.join(webroot[1], sitepath), sitepath[sidx+1:])
def generatePage(root, cfg, entry): data = {} data['title'] = entry['title'] data['author'] = entry['log'][-1]['author'] path, css = cfg.get('misc', 'css') relpath = '../'*root[len(path):].count('/') data['css'] = os.path.join(relpath, css) path, icon = cfg.get('misc', 'x-icon') relpath = '../'*root[len(path):].count(...
d4fbd9a27e2ff2b87f101233605dbf8307dcfa6d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2412/d4fbd9a27e2ff2b87f101233605dbf8307dcfa6d/pages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 1964, 12, 3085, 16, 2776, 16, 1241, 4672, 501, 273, 2618, 501, 3292, 2649, 3546, 273, 1241, 3292, 2649, 3546, 501, 3292, 4161, 3546, 273, 1241, 3292, 1330, 3546, 18919, 21, 23962, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1964, 12, 3085, 16, 2776, 16, 1241, 4672, 501, 273, 2618, 501, 3292, 2649, 3546, 273, 1241, 3292, 2649, 3546, 501, 3292, 4161, 3546, 273, 1241, 3292, 1330, 3546, 18919, 21, 23962, ...
"order_sensitive",
"ordered_properties",
def reorder_tests(tests, first_test): try: n = tests.index(first_test) return [first_test] + tests[:n] + tests[n+1:] except ValueError: return tests
7870e1fadb0575b50c683b184d7f572837bcbb4c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9981/7870e1fadb0575b50c683b184d7f572837bcbb4c/test_all.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19427, 67, 16341, 12, 16341, 16, 1122, 67, 3813, 4672, 775, 30, 290, 273, 7434, 18, 1615, 12, 3645, 67, 3813, 13, 327, 306, 3645, 67, 3813, 65, 397, 7434, 10531, 82, 65, 397, 7434, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19427, 67, 16341, 12, 16341, 16, 1122, 67, 3813, 4672, 775, 30, 290, 273, 7434, 18, 1615, 12, 3645, 67, 3813, 13, 327, 306, 3645, 67, 3813, 65, 397, 7434, 10531, 82, 65, 397, 7434, 6...
urlargs=req.args,
req=req,
def modifyrank(req, ln=cdslang, rnkID='', rnkcode='', template='', cfgfile='', confirm=0): navtrail_previous_links = brc.getnavtrail() + """&gt; <a class=navtrail href="%s/admin/bibrank/bibrankadmin.py/">BibRank Admin Interface</a> """ % (weburl) try: uid = getUid(req) except MySQLdb.Error, e: return error_page(req) ...
51fd4e75f5f8e85735d5b083099a24c7de0a5947 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/51fd4e75f5f8e85735d5b083099a24c7de0a5947/bibrankadmin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5612, 11500, 12, 3658, 16, 7211, 33, 4315, 2069, 539, 16, 20594, 79, 734, 2218, 2187, 20594, 79, 710, 2218, 2187, 1542, 2218, 2187, 2776, 768, 2218, 2187, 6932, 33, 20, 4672, 8775, 15565...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5612, 11500, 12, 3658, 16, 7211, 33, 4315, 2069, 539, 16, 20594, 79, 734, 2218, 2187, 20594, 79, 710, 2218, 2187, 1542, 2218, 2187, 2776, 768, 2218, 2187, 6932, 33, 20, 4672, 8775, 15565...
request.write("Pages to revert:<br>%s" % "<br>".join(revertpages))
request.write("Pages to revert:<br>%s" % "<br>".join([wikiutil.escape(p) for p in revertpages]))
def revert_pages(request, editor, timestamp): _ = request.getText editor = wikiutil.url_unquote(editor, want_unicode=False) timestamp = int(timestamp * 1000000) log = editlog.EditLog(request) pages = {} revertpages = [] for line in log.reverse(): if line.ed_time_usecs < timestamp: break if not request.user.may.read(l...
142c7d41b43d63cb7ddcfa4f67174999701c4bf1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/888/142c7d41b43d63cb7ddcfa4f67174999701c4bf1/Despam.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15226, 67, 7267, 12, 2293, 16, 4858, 16, 2858, 4672, 389, 273, 590, 18, 588, 1528, 225, 4858, 273, 9050, 1367, 18, 718, 67, 318, 6889, 12, 9177, 16, 2545, 67, 9124, 33, 8381, 13, 285...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15226, 67, 7267, 12, 2293, 16, 4858, 16, 2858, 4672, 389, 273, 590, 18, 588, 1528, 225, 4858, 273, 9050, 1367, 18, 718, 67, 318, 6889, 12, 9177, 16, 2545, 67, 9124, 33, 8381, 13, 285...
if REQUEST is None: return
if REQUEST is None: return
def manage_undo_transactions(self, transaction_info=(), REQUEST=None): """ """ undo=self._p_jar.db().undo
966fde8b9dcbf826b59950a8749914790b8a3c9a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9658/966fde8b9dcbf826b59950a8749914790b8a3c9a/Undo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 31226, 67, 20376, 12, 2890, 16, 2492, 67, 1376, 33, 9334, 12492, 33, 7036, 4672, 3536, 3536, 15436, 33, 2890, 6315, 84, 67, 11930, 18, 1966, 7675, 31226, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 31226, 67, 20376, 12, 2890, 16, 2492, 67, 1376, 33, 9334, 12492, 33, 7036, 4672, 3536, 3536, 15436, 33, 2890, 6315, 84, 67, 11930, 18, 1966, 7675, 31226, 2, -100, -100, -100, ...
cwd=os.path.join(topsrcdir, checkoutdir, parent))
cwd=os.path.join(topsrcdir, checkoutdir, parent), retryMax=options.retries)
def do_cvs_checkout(modules, tag, cvsroot, cvs, checkoutdir): """Check out a CVS directory into the checkoutdir subdirectory. modules is a list of directories to check out, e.g. ['extensions/irc'] """ for module in modules: (parent, leaf) = os.path.split(module) print "CVS checkout begin: " + datetime.datetime.utcnow()...
0376e156dff5362923ab01c36e488d21031811d4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11044/0376e156dff5362923ab01c36e488d21031811d4/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 71, 6904, 67, 17300, 12, 6400, 16, 1047, 16, 276, 6904, 3085, 16, 276, 6904, 16, 13926, 1214, 4672, 3536, 1564, 596, 279, 385, 14640, 1867, 1368, 326, 13926, 1214, 29869, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 71, 6904, 67, 17300, 12, 6400, 16, 1047, 16, 276, 6904, 3085, 16, 276, 6904, 16, 13926, 1214, 4672, 3536, 1564, 596, 279, 385, 14640, 1867, 1368, 326, 13926, 1214, 29869, 18, ...
class MiroUpdateDriver (SUUIBasedUpdateDriver):
def updateAlert_finishedWithChoice_(self, alert, choice): alert.release()
def objectForUserDefaultsKey_(self, key): descriptor = prefs.Pref(key=key, default='', platformSpecific=False) return config.get(descriptor)
41bf08b438cd2494197892903b24e4db4970e69f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/41bf08b438cd2494197892903b24e4db4970e69f/sparkleupdater.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 733, 19894, 7019, 653, 67, 12, 2890, 16, 498, 4672, 4950, 273, 15503, 18, 23218, 12, 856, 33, 856, 16, 805, 2218, 2187, 4072, 9969, 33, 8381, 13, 327, 642, 18, 588, 12, 12628, 13, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 733, 19894, 7019, 653, 67, 12, 2890, 16, 498, 4672, 4950, 273, 15503, 18, 23218, 12, 856, 33, 856, 16, 805, 2218, 2187, 4072, 9969, 33, 8381, 13, 327, 642, 18, 588, 12, 12628, 13, 2,...
res = res + " " + x
res = res + ' "%s"' % x
def __repr__(self):
e67561249eaa7bf8b9aed6633ade6e67a0806d73 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3182/e67561249eaa7bf8b9aed6633ade6e67a0806d73/fetchmailconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
for i in self.uploads: if msg.req == i.req and i.conn is None: i.conn = msg.conn i.req = None if i.transfertimer is not None: i.transfertimer.cancel() try: f = open(i.filename.replace("\\",os.sep),"rb") self.queue.put(slskmessages.UploadFile(i.conn,file = f,size = i.size)) i.status = _("Initializing transfer") i.file =...
for i in self.uploads: if msg.req == i.req and i.conn is None: i.conn = msg.conn i.req = None if i.transfertimer is not None: i.transfertimer.cancel() try: f = open(i.filename.replace("\\",os.sep),"rb") self.queue.put(slskmessages.UploadFile(i.conn,file = f,size = i.size)) i.status = _("Initializing transfer") i.file =...
def FileRequest(self, msg): """ Got an incoming file request. Could be an upload request or a request to get the file that was previously queued""" downloaddir = self.eventprocessor.config.sections["transfers"]["downloaddir"] incompletedir = self.eventprocessor.config.sections["transfers"]["incompletedir"]
aabec7c0ef6f4f7b08e22a98f52502d0393be0f3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/aabec7c0ef6f4f7b08e22a98f52502d0393be0f3/transfers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1387, 691, 12, 2890, 16, 1234, 4672, 3536, 19578, 392, 6935, 585, 590, 18, 14312, 506, 392, 3617, 590, 578, 279, 590, 358, 336, 326, 585, 716, 1703, 7243, 12234, 8395, 225, 4224, 1214, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1387, 691, 12, 2890, 16, 1234, 4672, 3536, 19578, 392, 6935, 585, 590, 18, 14312, 506, 392, 3617, 590, 578, 279, 590, 358, 336, 326, 585, 716, 1703, 7243, 12234, 8395, 225, 4224, 1214, ...
'shortterm.adlogentry': { 'Meta': {'object_name': 'AdLogEntry'}, 'agent': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'ipaddr': ('django.db.models.fields.CharField', [], {'max_length': '32'}), 'ts': ('django.db.models.fields...
def backwards(self, orm): # Deleting model 'AdLogEntry' db.delete_table('shortterm_adlogentry')
6cd63885478004e45d58e9bdbaa96ad38b570b02 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12041/6cd63885478004e45d58e9bdbaa96ad38b570b02/0001_initial.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12727, 12, 2890, 16, 13969, 4672, 225, 468, 20988, 310, 938, 296, 1871, 25548, 11, 1319, 18, 3733, 67, 2121, 2668, 6620, 6408, 67, 361, 1330, 4099, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12727, 12, 2890, 16, 13969, 4672, 225, 468, 20988, 310, 938, 296, 1871, 25548, 11, 1319, 18, 3733, 67, 2121, 2668, 6620, 6408, 67, 361, 1330, 4099, 6134, 2, -100, -100, -100, -100, -100,...
totalcpu += max(percentused, cpulimit)*elapsedtime
totalcpu += max(percentused, cpulimit)*elapsedtime
def enforce_cpu_quota(readfobj, cpulimit, frequency, childpid): global totaltime, totalcpu elapsedtime, percentused = get_time_and_cpu_percent(readfobj) # They get a free pass (likely their first or last time) if elapsedtime == 0.0: return # Increment total time totaltime += elapsedtime # Increment CPU use if ((tota...
e1823dc70527bec11e574ce421aa24df304b075e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7263/e1823dc70527bec11e574ce421aa24df304b075e/nonportable.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12980, 67, 11447, 67, 23205, 12, 896, 27936, 16, 3283, 332, 1038, 16, 8670, 16, 1151, 6610, 4672, 2552, 2078, 957, 16, 2078, 11447, 225, 9613, 957, 16, 5551, 3668, 273, 336, 67, 957, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12980, 67, 11447, 67, 23205, 12, 896, 27936, 16, 3283, 332, 1038, 16, 8670, 16, 1151, 6610, 4672, 2552, 2078, 957, 16, 2078, 11447, 225, 9613, 957, 16, 5551, 3668, 273, 336, 67, 957, 6...
children = self.viewhandler.retrieve_children(session, parent, label)
children = self.viewhandler.retrieve_children(session, parent, label, uniqueContext)
def get_children(self,parent, label=None): """Load the children of an object from the database Attribute: parent -- An object derived from datamanager.objects.ObjectDict or the integer id describing this object. Raises: RequestObjectError -- If the objects whos children should be loaded is not properly saved in the d...
9101ee5ed942f49b4c7452eb911c64df9b35601a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11635/9101ee5ed942f49b4c7452eb911c64df9b35601a/proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5906, 12, 2890, 16, 2938, 16, 1433, 33, 7036, 4672, 3536, 2563, 326, 2325, 434, 392, 733, 628, 326, 2063, 225, 3601, 30, 982, 1493, 1922, 733, 10379, 628, 1150, 301, 1063, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5906, 12, 2890, 16, 2938, 16, 1433, 33, 7036, 4672, 3536, 2563, 326, 2325, 434, 392, 733, 628, 326, 2063, 225, 3601, 30, 982, 1493, 1922, 733, 10379, 628, 1150, 301, 1063, 18,...
self._fileno = self.socket.fileno()
self._fileno = self.socket
def create_socket(self, family, type): self.family_and_type = family, type self.socket = socket.socket(family, type) self.socket.setblocking(0) self._fileno = self.socket.fileno() self.add_channel()
fb2239973bdaffdbf4cfe94e1bf122fd67b170d6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6753/fb2239973bdaffdbf4cfe94e1bf122fd67b170d6/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 7814, 12, 2890, 16, 6755, 16, 618, 4672, 365, 18, 9309, 67, 464, 67, 723, 273, 6755, 16, 618, 365, 18, 7814, 273, 2987, 18, 7814, 12, 9309, 16, 618, 13, 365, 18, 7814, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 7814, 12, 2890, 16, 6755, 16, 618, 4672, 365, 18, 9309, 67, 464, 67, 723, 273, 6755, 16, 618, 365, 18, 7814, 273, 2987, 18, 7814, 12, 9309, 16, 618, 13, 365, 18, 7814, 18,...
class StreamWriter(Codec,codecs.StreamWriter): pass
class StreamWriter(codecs.StreamWriter): encode = mbcs_encode
def _buffer_decode(self, input, errors, final): return mbcs_decode(input,self.errors,final)
961b91bd3c48af639acbf20bbf15a85e7152ff6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/961b91bd3c48af639acbf20bbf15a85e7152ff6e/mbcs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4106, 67, 3922, 12, 2890, 16, 810, 16, 1334, 16, 727, 4672, 327, 4903, 2143, 67, 3922, 12, 2630, 16, 2890, 18, 4324, 16, 6385, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4106, 67, 3922, 12, 2890, 16, 810, 16, 1334, 16, 727, 4672, 327, 4903, 2143, 67, 3922, 12, 2630, 16, 2890, 18, 4324, 16, 6385, 13, 2, -100, -100, -100, -100, -100, -100, -100, -...
def _shmemAlloc(size):
def _shmemAlloc(size, type):
def _shmemAlloc(size): # starts out UNprotected return ExprCall(ExprVar('Shmem::Alloc'), args=[ _shmemBackstagePass(), size ])
d9fcd325bb89a6dd20a5eefb536c3f9ee4bdf884 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/d9fcd325bb89a6dd20a5eefb536c3f9ee4bdf884/lower.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 674, 3917, 8763, 12, 1467, 16, 618, 4672, 468, 2542, 596, 5019, 1117, 327, 8074, 1477, 12, 4742, 1537, 2668, 1555, 3917, 2866, 8763, 19899, 833, 22850, 389, 674, 3917, 2711, 12869, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 674, 3917, 8763, 12, 1467, 16, 618, 4672, 468, 2542, 596, 5019, 1117, 327, 8074, 1477, 12, 4742, 1537, 2668, 1555, 3917, 2866, 8763, 19899, 833, 22850, 389, 674, 3917, 2711, 12869, ...
print "Maay Realm : creating session for avatar", avatarId,
print "MaayRealm : creating session for avatar", avatarId,
def createUserSession(self, avatarId, querier): """associate a querier to an avatarId. Use avatarId=None for the internal private database connection""" print "Maay Realm : creating session for avatar", avatarId, print "with a", type(querier), "querier." self._sessions[avatarId] = querier
c69488baab48113060c1176346c929048f89832a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/c69488baab48113060c1176346c929048f89832a/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22992, 2157, 12, 2890, 16, 16910, 548, 16, 21287, 2453, 4672, 3536, 11577, 279, 21287, 2453, 358, 392, 16910, 548, 18, 2672, 16910, 548, 33, 7036, 364, 326, 2713, 3238, 2063, 1459, 8395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22992, 2157, 12, 2890, 16, 16910, 548, 16, 21287, 2453, 4672, 3536, 11577, 279, 21287, 2453, 358, 392, 16910, 548, 18, 2672, 16910, 548, 33, 7036, 364, 326, 2713, 3238, 2063, 1459, 8395, ...
def _setSacks(self, value): self._pkgSack = value
def _setSacks(self, value): self._pkgSack = value
e1d2f06ab3a5de4006ebffea34315ac5c5d6ec0b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5445/e1d2f06ab3a5de4006ebffea34315ac5c5d6ec0b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 55, 22098, 12, 2890, 16, 460, 4672, 365, 6315, 10657, 55, 484, 273, 460, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 55, 22098, 12, 2890, 16, 460, 4672, 365, 6315, 10657, 55, 484, 273, 460, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return def _count_bondpoints(self, bondpoints): """ """ self._counted_atoms += len(bondpoints)
if 0: print "counted atom", atom, "from chunk", chunk bondpoints = atom.singNeighbors() self._counted_atoms += (1 + len(bondpoints)) if 0 and bondpoints: print "counted bondpoints", bondpoints print "their base atom lists are", [bp.neighbors() for bp in bondpoints] for bp in bondpoints: assert len(bp.neighbors()) =...
def _count_atom(self, atom): """ """ self._counted_atoms += 1 chunk = atom.molecule # no need to check chunk for being None, killed, _nullMol, etc -- # caller will do that if necessary self._counted_chunks[id(chunk)] = chunk return
5c7b29f5a6435a205e8fef4630656f094a7053f0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/5c7b29f5a6435a205e8fef4630656f094a7053f0/DnaLadderRailChunk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1883, 67, 7466, 12, 2890, 16, 3179, 4672, 3536, 3536, 365, 6315, 1883, 329, 67, 14937, 1011, 404, 2441, 273, 3179, 18, 81, 10545, 468, 1158, 1608, 358, 866, 2441, 364, 3832, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1883, 67, 7466, 12, 2890, 16, 3179, 4672, 3536, 3536, 365, 6315, 1883, 329, 67, 14937, 1011, 404, 2441, 273, 3179, 18, 81, 10545, 468, 1158, 1608, 358, 866, 2441, 364, 3832, 599, ...
OPTIONS = [{'wideBuild': True}]
OPTIONS = [{'wideBuild': False}, {'wideBuild': True}]
def removeMySQL(databaseUrls): return [url for url in databaseUrls if not url.startswith('mysql://')]
e8178f9cde5e6cf38fb27545ff38e41c9ae489ed /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/e8178f9cde5e6cf38fb27545ff38e41c9ae489ed/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 28723, 12, 6231, 10509, 4672, 327, 306, 718, 364, 880, 316, 2063, 10509, 309, 486, 880, 18, 17514, 1918, 2668, 12527, 2207, 6134, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 28723, 12, 6231, 10509, 4672, 327, 306, 718, 364, 880, 316, 2063, 10509, 309, 486, 880, 18, 17514, 1918, 2668, 12527, 2207, 6134, 65, 2, -100, -100, -100, -100, -100, -100, -100, -...
self.creds = credentials.SSHPrivateKey(self.username, self.algorithm, self.blob, self.data,
self.creds = credentials.SSHPrivateKey(self.username, self.algorithm, self.blob, self.data,
def setUp(self): Session = init_db(self.test_db.name) self.jobdb = JobDatabase(Session) self.workerdb = WorkerDatabase(Session) self.clientdb = ClientDatabase(Session) self.dsage_server = DSageServer(self.jobdb, self.workerdb, self.clientdb, log_level=5) self.realm = Realm(self.dsage_server) self.p = _SSHKeyPortalRoot(...
c9375d5a2f6f15e62e3d47a256c35f844f980db3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c9375d5a2f6f15e62e3d47a256c35f844f980db3/test_remote.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 3877, 273, 1208, 67, 1966, 12, 2890, 18, 3813, 67, 1966, 18, 529, 13, 365, 18, 4688, 1966, 273, 3956, 4254, 12, 2157, 13, 365, 18, 10124, 1966, 273, 11016, 4254,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24292, 12, 2890, 4672, 3877, 273, 1208, 67, 1966, 12, 2890, 18, 3813, 67, 1966, 18, 529, 13, 365, 18, 4688, 1966, 273, 3956, 4254, 12, 2157, 13, 365, 18, 10124, 1966, 273, 11016, 4254,...
For example, the dashed cell below is the outer_rim of the partitions `(4,1)`::
The outer rim of the partition `[4,1]` consists of the cells marked with ``
def outer_rim(self): """ Returns the outer rim of ``self``
51f56d3cf09714ec116e12377fb73f8de4d6ae00 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/51f56d3cf09714ec116e12377fb73f8de4d6ae00/partition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6390, 67, 86, 381, 12, 2890, 4672, 3536, 2860, 326, 6390, 436, 381, 434, 12176, 2890, 10335, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6390, 67, 86, 381, 12, 2890, 4672, 3536, 2860, 326, 6390, 436, 381, 434, 12176, 2890, 10335, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sage: import operator
def derivative(self, ex, operator): """ EXAMPLES::
a2648bce7d829c98198521873589084f0019ebd3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/a2648bce7d829c98198521873589084f0019ebd3/expression_conversions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16417, 12, 2890, 16, 431, 16, 3726, 4672, 3536, 5675, 8900, 11386, 2866, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16417, 12, 2890, 16, 431, 16, 3726, 4672, 3536, 5675, 8900, 11386, 2866, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
ctx.rectangle(*(self.coordinates(x-0.5, y-0.5) + self.coordinates(x + w + 0.5, y + h + 0.5)))
ctx.rectangle(*(self.coordinates(x-0.5, y + h + 0.5) + self.coordinates(x + w + 0.5, y - 0.5)))
def paintSquares(self, ctx, x, y, w, h): ctx.rectangle(*(self.coordinates(x-0.5, y-0.5) + self.coordinates(x + w + 0.5, y + h + 0.5))) ctx.clip() self.paint(ctx)
2681f4bcd14c854eb6599987b683ba8a06ea196d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10214/2681f4bcd14c854eb6599987b683ba8a06ea196d/maze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12574, 55, 29405, 12, 2890, 16, 1103, 16, 619, 16, 677, 16, 341, 16, 366, 4672, 1103, 18, 2607, 4341, 12, 21556, 2890, 18, 16941, 12, 92, 17, 20, 18, 25, 16, 677, 397, 366, 397, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12574, 55, 29405, 12, 2890, 16, 1103, 16, 619, 16, 677, 16, 341, 16, 366, 4672, 1103, 18, 2607, 4341, 12, 21556, 2890, 18, 16941, 12, 92, 17, 20, 18, 25, 16, 677, 397, 366, 397, 37...
blocks.append({'type': kind, 'base': {'offset': fromline - 1, 'lines': []}, 'changed': {'offset': toline - 1, 'lines': []}})
block = {'type': kind, 'base': {'offset': fromline - 1, 'lines': []}, 'changed': {'offset': toline - 1, 'lines': []}} blocks.append(block) else: block = blocks[-1]
def htmlify(match): div, mod = divmod(len(match.group(0)), 2) return div * '&nbsp; ' + mod * '&nbsp;'
e1a8a539d46d5b9614fd8fd97db894c5d4a82835 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2831/e1a8a539d46d5b9614fd8fd97db894c5d4a82835/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 1164, 12, 1916, 4672, 3739, 16, 681, 273, 26105, 12, 1897, 12, 1916, 18, 1655, 12, 20, 13, 3631, 576, 13, 327, 3739, 380, 5183, 10600, 31, 296, 397, 681, 380, 5183, 10600, 4359, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 1164, 12, 1916, 4672, 3739, 16, 681, 273, 26105, 12, 1897, 12, 1916, 18, 1655, 12, 20, 13, 3631, 576, 13, 327, 3739, 380, 5183, 10600, 31, 296, 397, 681, 380, 5183, 10600, 4359, ...
if match[0] == '!': return match[1:] else: return self.simple_tag_handler('<sup>', '</sup>')
return self.simple_tag_handler(match, '<sup>', '</sup>')
def _superscript_formatter(self, match, fullmatch): if match[0] == '!': return match[1:] else: return self.simple_tag_handler('<sup>', '</sup>')
7cfaf9e41e58aa1a79fc07abc5bd868b4121f4f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/7cfaf9e41e58aa1a79fc07abc5bd868b4121f4f9/formatter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2859, 414, 9118, 67, 12354, 12, 2890, 16, 845, 16, 1983, 1916, 4672, 309, 845, 63, 20, 65, 422, 11817, 4278, 327, 845, 63, 21, 26894, 469, 30, 327, 365, 18, 9647, 67, 2692, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2859, 414, 9118, 67, 12354, 12, 2890, 16, 845, 16, 1983, 1916, 4672, 309, 845, 63, 20, 65, 422, 11817, 4278, 327, 845, 63, 21, 26894, 469, 30, 327, 365, 18, 9647, 67, 2692, 67, ...
this = apply(_quickfix.new_DiscretionOffsetValue, args)
this = _quickfix.new_DiscretionOffsetValue(*args)
def __init__(self, *args): this = apply(_quickfix.new_DiscretionOffsetValue, 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, 28912, 1349, 285, 2335, 620, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28912, 1349, 285, 2335, 620, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, ...
pass
if node.get('ids'): self.out += self.ids_to_labels(node) + ['\n']
def depart_image(self, node): pass
4d433b8e438a145ac037d2160decc5abe210ca46 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5620/4d433b8e438a145ac037d2160decc5abe210ca46/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 2730, 12, 2890, 16, 756, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 2730, 12, 2890, 16, 756, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
"".join(map(lambda i: "0123456789ABCDEF"[i], digits)) + "L"
"".join(map(lambda i: "0123456789abcdef"[i], digits)) + "L"
def slow_format(self, x, base): if (x, base) == (0, 8): # this is an oddball! return "0L" digits = [] sign = 0 if x < 0: sign, x = 1, -x while x: x, r = divmod(x, base) digits.append(int(r)) digits.reverse() digits = digits or [0] return '-'[:sign] + \ {8: '0', 10: '', 16: '0x'}[base] + \ "".join(map(lambda i: "0123456...
c3281563dd6a44a2ed04056618dbb248acf6557c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/c3281563dd6a44a2ed04056618dbb248acf6557c/test_long.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11816, 67, 2139, 12, 2890, 16, 619, 16, 1026, 4672, 309, 261, 92, 16, 1026, 13, 422, 261, 20, 16, 1725, 4672, 468, 333, 353, 392, 14800, 19067, 5, 327, 315, 20, 48, 6, 6815, 273, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11816, 67, 2139, 12, 2890, 16, 619, 16, 1026, 4672, 309, 261, 92, 16, 1026, 13, 422, 261, 20, 16, 1725, 4672, 468, 333, 353, 392, 14800, 19067, 5, 327, 315, 20, 48, 6, 6815, 273, 5...
self.body.clear()
def show_music_information(self, music): if not self.is_visible: return
43a0f8d3d71fafa93f66b7de5c6311692b8b2ccd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5169/43a0f8d3d71fafa93f66b7de5c6311692b8b2ccd/aspyplayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 81, 14894, 67, 13117, 12, 2890, 16, 26225, 4672, 309, 486, 365, 18, 291, 67, 8613, 30, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 81, 14894, 67, 13117, 12, 2890, 16, 26225, 4672, 309, 486, 365, 18, 291, 67, 8613, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.setSessionInfo([MESSAGE_SAVEDCHANGES % self.utGetTodayDate()])
self.setSessionInfoTrans(MESSAGE_SAVEDCHANGES, date=self.utGetTodayDate())
def admin_deleteitems(self, id='', ids=[], REQUEST=None): """ """ ob = self.getRateListById(id) if ob is not None: ob.manage_delete_items(self.utConvertToList(ids)) if REQUEST: self.setSessionInfo([MESSAGE_SAVEDCHANGES % self.utGetTodayDate()]) REQUEST.RESPONSE.redirect('%s/admin_ratelist_html?id=%s' % (self.absolute_u...
9ebbed155972a1637136ab18d27c45686fe46b10 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/9ebbed155972a1637136ab18d27c45686fe46b10/NyConsultation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3981, 67, 3733, 3319, 12, 2890, 16, 612, 2218, 2187, 3258, 22850, 6487, 12492, 33, 7036, 4672, 3536, 3536, 3768, 273, 365, 18, 588, 4727, 682, 5132, 12, 350, 13, 309, 3768, 353, 486, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3981, 67, 3733, 3319, 12, 2890, 16, 612, 2218, 2187, 3258, 22850, 6487, 12492, 33, 7036, 4672, 3536, 3536, 3768, 273, 365, 18, 588, 4727, 682, 5132, 12, 350, 13, 309, 3768, 353, 486, 5...
self.__testMethodDoc = testMethod.__doc__
self._testMethodDoc = testMethod.__doc__
def __init__(self, methodName='runTest'): """Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name. """ try: self.__testMethodName = methodName testMethod = getattr(self, methodName) self.__testMethodDoc = te...
dcb7d97fc6f9b6b40c3037899d0a94b46e4e2b77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/dcb7d97fc6f9b6b40c3037899d0a94b46e4e2b77/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4918, 2218, 2681, 4709, 11, 4672, 3536, 1684, 392, 791, 434, 326, 667, 716, 903, 999, 326, 4141, 1842, 707, 1347, 7120, 18, 20497, 279, 2068, 309, 326, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4918, 2218, 2681, 4709, 11, 4672, 3536, 1684, 392, 791, 434, 326, 667, 716, 903, 999, 326, 4141, 1842, 707, 1347, 7120, 18, 20497, 279, 2068, 309, 326, 7...
indx = numpy.argsort( perm ) return numpy.take( flag, indx[:len( ar1 )] )
ii = numpy.where( flag * aux2 ) aux = perm[ii+1] perm[ii+1] = perm[ii] perm[ii] = aux indx = numpy.argsort( perm )[:len( ar1 )] return numpy.take( flag, indx )
def setmember1d( ar1, ar2 ): """Return an array of shape of ar1 containing 1 where the elements of ar1 are in ar2 and 0 otherwise.""" ar = numpy.concatenate( (ar1, ar2 ) ) perm = numpy.argsort( ar ) aux = numpy.take( ar, perm ) flag = ediff1d( aux, 1 ) == 0 indx = numpy.argsort( perm ) return numpy.take( flag, indx[:le...
70bf077d4de719bbe527ecd1eb60e7c0c2b2957b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/70bf077d4de719bbe527ecd1eb60e7c0c2b2957b/arraysetops.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 5990, 21, 72, 12, 419, 21, 16, 419, 22, 262, 30, 3536, 990, 392, 526, 434, 2179, 434, 419, 21, 4191, 404, 1625, 326, 2186, 434, 419, 21, 854, 316, 419, 22, 471, 374, 3541, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 5990, 21, 72, 12, 419, 21, 16, 419, 22, 262, 30, 3536, 990, 392, 526, 434, 2179, 434, 419, 21, 4191, 404, 1625, 326, 2186, 434, 419, 21, 854, 316, 419, 22, 471, 374, 3541, 121...
if kind is not None: kind._setupClass(cls) if parent is None:
if itsKind is not None: itsKind._setupClass(cls) if itsParent is None:
def __init__(self, name=None, parent=None, kind=None, _uuid=None, _noMonitors=False, **values): """ Construct an Item.
bce2bcce626fee54a986d1b25fc98fb223380651 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/bce2bcce626fee54a986d1b25fc98fb223380651/Item.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 982, 33, 7036, 16, 3846, 33, 7036, 16, 389, 7080, 33, 7036, 16, 389, 2135, 11415, 13704, 33, 8381, 16, 2826, 2372, 4672, 3536, 14291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 982, 33, 7036, 16, 3846, 33, 7036, 16, 389, 7080, 33, 7036, 16, 389, 2135, 11415, 13704, 33, 8381, 16, 2826, 2372, 4672, 3536, 14291, ...
m235 to share a single generator". Unfortunately, using generators this way creates a reference-cycle that the garbage collector (currently) can't clean up, so we have to explicitly break the cycle (by calling the inner generator's close() method)
m235 to share a single generator".
... def tail(g):
b711645931fe300a2e48a1ce3e68ab2bcdfdb477 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b711645931fe300a2e48a1ce3e68ab2bcdfdb477/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 5798, 12, 75, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 5798, 12, 75, 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...
result = reduce(lambda x,y: x*y, args) % 65536
result = self._unmake_signed( self._make_signed(a) * self._make_signed(b))
def op_mul(self, *args): """Signed 16-bit multiplication.""" result = reduce(lambda x,y: x*y, args) % 65536 self._write_result(result)
93d0b695130d8c250df6b688d1af1bb43176f564 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2052/93d0b695130d8c250df6b688d1af1bb43176f564/zcpu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1061, 67, 16411, 12, 2890, 16, 380, 1968, 4672, 3536, 12294, 2872, 17, 3682, 23066, 12123, 563, 273, 365, 6315, 318, 6540, 67, 5679, 12, 365, 6315, 6540, 67, 5679, 12, 69, 13, 380, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1061, 67, 16411, 12, 2890, 16, 380, 1968, 4672, 3536, 12294, 2872, 17, 3682, 23066, 12123, 563, 273, 365, 6315, 318, 6540, 67, 5679, 12, 365, 6315, 6540, 67, 5679, 12, 69, 13, 380, 365...
block_info = {
""" Default means 'use default function instead' """ BLOCK_INFO = {
def createFields(self): yield Bit(self, "has_next_vol", "Whether there is another next volume") yield Bit(self, "has_data_crc", "Whether a CRC value is present") yield Bit(self, "rev_space", "??") yield Bit(self, "has_vol_number", "Whether the volume number is present") yield Bits(self, "unused[]", 4, "??") for bit in ...
a9c108cfa3009177581752043b9da12659e5c31a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9327/a9c108cfa3009177581752043b9da12659e5c31a/rar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2314, 12, 2890, 4672, 2824, 6539, 12, 2890, 16, 315, 5332, 67, 4285, 67, 15416, 3113, 315, 18247, 1915, 353, 4042, 1024, 3940, 7923, 2824, 6539, 12, 2890, 16, 315, 5332, 67, 892, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2314, 12, 2890, 4672, 2824, 6539, 12, 2890, 16, 315, 5332, 67, 4285, 67, 15416, 3113, 315, 18247, 1915, 353, 4042, 1024, 3940, 7923, 2824, 6539, 12, 2890, 16, 315, 5332, 67, 892, ...
def test_table_header2(self):
def test_table_th_td(self): """Test <th> tags with <td> tags"""
def test_table_header2(self): html = """<html xmlns="http://www.w3.org/1999/xhtml"> <table> <tr> <th>Cell1</th> <th>Cell2</th> </tr> <tr> <td>Cell3</td> <td>Cell4</td> </tr> </table> </html> """ odt = xhtml2odt(html) # remove namespaces odt = re.sub('(xmlns:[a-z0-9=:".-]+\s+)*', '', str(odt)) # remove comments odt = re...
9cd87a34e72c7238b1b710177511eae4bd213897 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7063/9cd87a34e72c7238b1b710177511eae4bd213897/test_tables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2121, 67, 451, 67, 4465, 12, 2890, 4672, 3536, 4709, 411, 451, 34, 2342, 598, 411, 4465, 34, 2342, 8395, 1729, 273, 3536, 32, 2620, 12302, 1546, 2505, 2207, 5591, 18, 91, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2121, 67, 451, 67, 4465, 12, 2890, 4672, 3536, 4709, 411, 451, 34, 2342, 598, 411, 4465, 34, 2342, 8395, 1729, 273, 3536, 32, 2620, 12302, 1546, 2505, 2207, 5591, 18, 91, 23,...
return source
return tools.ustr(source)
def _get_source(self, cr, uid, name, tt, lang, source=None): if not lang: return '' if source: #if isinstance(source, unicode): # source = source.encode('utf8') cr.execute('select value ' \ 'from ir_translation ' \ 'where lang=%s ' \ 'and type=%s ' \ 'and name=%s ' \ 'and src=%s', (lang or '', tt, tools.ustr(name), s...
d247901dcc8482d7f02af82eac34e30891132c96 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/d247901dcc8482d7f02af82eac34e30891132c96/ir_translation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3168, 12, 2890, 16, 4422, 16, 4555, 16, 508, 16, 3574, 16, 3303, 16, 1084, 33, 7036, 4672, 309, 486, 3303, 30, 327, 875, 309, 1084, 30, 468, 430, 1549, 12, 3168, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3168, 12, 2890, 16, 4422, 16, 4555, 16, 508, 16, 3574, 16, 3303, 16, 1084, 33, 7036, 4672, 309, 486, 3303, 30, 327, 875, 309, 1084, 30, 468, 430, 1549, 12, 3168, 16, ...
except KeyError, ValueError as errmsg: msg = "stream translation error (%s) " % errmsg
except (KeyError, ValueError), errmsg: msg = "stream translation error (%s) " % str(errmsg)
def parsetuple(self,xmltuple): """ Parse an XML tuple returned by pyRXP into a dictionary of LIGO metadata elements. The dictionary contains one entry for each table found in the XML tuple. """ # first extract all the table and columns from the tuple from the # children of the ligo lightweight parent tuple table = {} t...
0f66fd247e04dfe69e9908fe799931503dac5d24 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/0f66fd247e04dfe69e9908fe799931503dac5d24/ldbd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 779, 542, 2268, 12, 2890, 16, 2902, 8052, 4672, 3536, 2884, 392, 3167, 3193, 2106, 635, 2395, 54, 60, 52, 1368, 279, 3880, 434, 511, 3047, 51, 1982, 2186, 18, 1021, 3880, 1914, 1245, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 779, 542, 2268, 12, 2890, 16, 2902, 8052, 4672, 3536, 2884, 392, 3167, 3193, 2106, 635, 2395, 54, 60, 52, 1368, 279, 3880, 434, 511, 3047, 51, 1982, 2186, 18, 1021, 3880, 1914, 1245, 1...
self.Blocked = False
self.Block = 0
def __init__(self, main, context): self.Context = context self.Main = main self.Blocked = False rightChild = gtk.VBox() rightChild.set_border_width(10) # Auto sort autoSort = gtk.CheckButton(_("Automatic plugin sorting")) rightChild.pack_start(autoSort, False, False, 10) # Lists listBox = gtk.HBox() listBox.set_spaci...
23240c9cd4341c1551a27b8ee7d7cc16beeb2bcd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7183/23240c9cd4341c1551a27b8ee7d7cc16beeb2bcd/Pages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 1768, 273, 374, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 1768, 273, 374, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763, ...
if self.helo_resp is None and self.ehlo_resp is None: if not (200 <= self.ehlo()[0] <= 299): (code,resp) = self.helo() if not (200 <= code <= 299): raise SMTPHeloError(code, resp)
self.ehlo_or_helo_if_needed()
def sendmail(self, from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]): """This command performs an entire mail transaction.
bde4ae4bdeb3328fbc744662ecdebfac52b2d5ba /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/bde4ae4bdeb3328fbc744662ecdebfac52b2d5ba/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 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, 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, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2...
if mask.ndim and mask.all():
if mask.ndim and (not mask.dtype.names and mask.all()):
def __call__(self, *args, **params): methodname = self.__name__ data = self.obj._data mask = self.obj._mask cls = type(self.obj) result = getattr(data, methodname)(*args, **params).view(cls) result._update_from(self.obj) if result.ndim: if not self._onmask: result.__setmask__(mask) elif mask is not nomask: result.__set...
4b9c0f2208305046275c74ec1c9d6fda8af1f5bb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/4b9c0f2208305046275c74ec1c9d6fda8af1f5bb/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 2010, 4672, 707, 529, 273, 365, 16186, 529, 972, 501, 273, 365, 18, 2603, 6315, 892, 3066, 273, 365, 18, 2603, 6315, 4455, 2028, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 2010, 4672, 707, 529, 273, 365, 16186, 529, 972, 501, 273, 365, 18, 2603, 6315, 892, 3066, 273, 365, 18, 2603, 6315, 4455, 2028, 273...
for func in ['__import__', 'eval', 'dir', 'open', 'exit']: del g['__builtins__'][func]
for func in FORBIDDEN_BUILTINS: if func in g['__builtins__']: del g['__builtins__'][func] for func in FORBIDDEN_GLOBALS: if func in g: del g[func]
def _eval_worker(pipe): ''' Pops the incoming expressions from given Pipe, evaluates them and sends the back. Continues indefinetaly. ''' # Construct a (relatively) safe dictionary of globals # to be used by evaluated expressions g = math.__dict__.copy() g['__builtins__'] = __builtins__.copy() for func in ['__import__'...
4548997123946d6de39540d519fd03107f2de4fd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12347/4548997123946d6de39540d519fd03107f2de4fd/standard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 67, 10124, 12, 14772, 4672, 9163, 453, 4473, 326, 6935, 8041, 628, 864, 20024, 16, 20996, 2182, 471, 9573, 326, 1473, 18, 1816, 267, 3610, 316, 5649, 278, 3450, 18, 9163, 468,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8622, 67, 10124, 12, 14772, 4672, 9163, 453, 4473, 326, 6935, 8041, 628, 864, 20024, 16, 20996, 2182, 471, 9573, 326, 1473, 18, 1816, 267, 3610, 316, 5649, 278, 3450, 18, 9163, 468,...
except: locale.setlocale(locale.LC_ALL, 'en_US')
except: locale.setlocale(locale.LC_ALL, '')
def tt_get_messages(self, query, skey, rkey): """ Returns a list of messages, filtered and sorted according with the given parameters. @param query: query against the list of messages @type query: string @param skey: the sorting key @type skey: string @param rkey: indicates if the list must be reversed @type rkey: stri...
cc3b6fdb9ce6364fc4d4f23a4d0e93c1a739ea7c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/cc3b6fdb9ce6364fc4d4f23a4d0e93c1a739ea7c/TranslationsTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3574, 67, 588, 67, 6833, 12, 2890, 16, 843, 16, 272, 856, 16, 436, 856, 4672, 3536, 2860, 279, 666, 434, 2743, 16, 5105, 471, 3115, 4888, 598, 326, 864, 1472, 18, 632, 891, 843, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3574, 67, 588, 67, 6833, 12, 2890, 16, 843, 16, 272, 856, 16, 436, 856, 4672, 3536, 2860, 279, 666, 434, 2743, 16, 5105, 471, 3115, 4888, 598, 326, 864, 1472, 18, 632, 891, 843, 30, ...
if Numeric.alltrue(Numeric.fabs(test-ref) <= threshold_byte):
ary = Numeric.fabs(test - ref) if Numeric.alltrue(ary <= threshold_byte):
def warp_4(): gdaltest.tiff_drv = gdal.GetDriverByName( 'GTiff' ) if gdaltest.tiff_drv is None: return 'skip' test = gdalnumeric.LoadFile( 'data/utmsmall_cubicspline.vrt' ) ref = gdalnumeric.LoadFile( 'data/utmsmall_cubicspline.tiff' ) if Numeric.alltrue(Numeric.fabs(test-ref) <= threshold_byte): return 'success' el...
c0a83b8cb1446b92392a54c791147b49b3bbe70a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10289/c0a83b8cb1446b92392a54c791147b49b3bbe70a/warp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 11441, 67, 24, 13332, 225, 15551, 2390, 395, 18, 88, 3048, 67, 3069, 90, 273, 15551, 287, 18, 967, 4668, 5911, 12, 296, 16506, 3048, 11, 262, 309, 15551, 2390, 395, 18, 88, 3048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 341, 11441, 67, 24, 13332, 225, 15551, 2390, 395, 18, 88, 3048, 67, 3069, 90, 273, 15551, 287, 18, 967, 4668, 5911, 12, 296, 16506, 3048, 11, 262, 309, 15551, 2390, 395, 18, 88, 3048, ...
if cn.nodeName in mg_tags:
if ModelGroup.IsGroupMemberNode(cn):
def CreateFromDOM (cls, wxs, node, owner=None): """Create a Model Group Definition from a DOM element node.
25939b2ff98f2edd2f1dc9410de2d46bf5d6cdce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/25939b2ff98f2edd2f1dc9410de2d46bf5d6cdce/structures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1265, 8168, 261, 6429, 16, 7075, 87, 16, 756, 16, 3410, 33, 7036, 4672, 3536, 1684, 279, 3164, 3756, 10849, 628, 279, 4703, 930, 756, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1265, 8168, 261, 6429, 16, 7075, 87, 16, 756, 16, 3410, 33, 7036, 4672, 3536, 1684, 279, 3164, 3756, 10849, 628, 279, 4703, 930, 756, 18, 2, -100, -100, -100, -100, -100, -100, -...
self.__bad_macro_chars = re.compile(r'[-_]')
self.__bad_macro_chars = re.compile(r'[-]')
def __init__(self, job): """ job = the CondorJob that this node corresponds to. """ if not isinstance(job, CondorDAGJob): raise CondorDAGNodeError, "A DAG node must correspond to a Condor DAG job" self.__name = None self.__job = job self.__vars = {} self.__retry = 0 self.__parents = [] self.__bad_macro_chars = re.compi...
43ad3bfe54a06486dd70add90f5eb657d1f9038a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/43ad3bfe54a06486dd70add90f5eb657d1f9038a/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1719, 4672, 3536, 1719, 273, 326, 735, 72, 280, 2278, 716, 333, 756, 13955, 358, 18, 3536, 309, 486, 1549, 12, 4688, 16, 735, 72, 280, 40, 1781, 2278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 4672, 3536, 1719, 273, 326, 735, 72, 280, 2278, 716, 333, 756, 13955, 358, 18, 3536, 309, 486, 1549, 12, 4688, 16, 735, 72, 280, 40, 1781, 2278, ...
self.task_modelsort.foreach(self.update_collapsed_row, None)
def do_toggle_workview(self): #We have to be careful here to avoid a loop of signals #menu_state = self.menu_view_workview.get_active() #button_state = self.toggle_workview.get_active() #We cannot have note and workview at the same time
1a7f1370f28f3e5b66447a7ed5fb6581efceb629 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/1a7f1370f28f3e5b66447a7ed5fb6581efceb629/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 14401, 67, 1252, 1945, 12, 2890, 4672, 468, 3218, 1240, 358, 506, 26850, 2674, 358, 4543, 279, 2798, 434, 11505, 468, 5414, 67, 2019, 282, 273, 365, 18, 5414, 67, 1945, 67, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 14401, 67, 1252, 1945, 12, 2890, 4672, 468, 3218, 1240, 358, 506, 26850, 2674, 358, 4543, 279, 2798, 434, 11505, 468, 5414, 67, 2019, 282, 273, 365, 18, 5414, 67, 1945, 67, 12...
print "***D"
def __init__(self, mainhandler, name, connects=[]): if (mainhandler.domains.has_key(name)): print "***D" raise InvalidDomainError("Domain name already exists") self.name = name self.mainhandler = mainhandler self.ui = mainhandler.ui self.entities = { } self.mcs = { }
9a494271213765e6cd1c2cecaa81860143e9e82a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3867/9a494271213765e6cd1c2cecaa81860143e9e82a/_domain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2774, 4176, 16, 508, 16, 23441, 33, 8526, 4672, 309, 261, 5254, 4176, 18, 14180, 18, 5332, 67, 856, 12, 529, 3719, 30, 1002, 1962, 3748, 668, 2932, 3748,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 4176, 16, 508, 16, 23441, 33, 8526, 4672, 309, 261, 5254, 4176, 18, 14180, 18, 5332, 67, 856, 12, 529, 3719, 30, 1002, 1962, 3748, 668, 2932, 3748,...
(
(?P<footnotelabel>
def parse(self, text, lineno, memo, parent): """ Return 2 lists: nodes (text and inline elements), and system_messages.
6782c922e166489b456fc617b1d5765e9532726e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1532/6782c922e166489b456fc617b1d5765e9532726e/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, -100, -100, -100, -100, -100,...
4 = x_0 - 3x_1 - 11x_3 - 8x_4 8 = x_1 - 2x_4 - 10x_3
4 = x_0 - 3x_0 - 11x_3 - 8x_4 8 = x_1 - 2x_1 - 10x_3
def GetLinearEquations(state_space_at_current_level,sigma, level): """ Output a constant vector (made up of kappa_ij 's), and a dimension*dimension matrix each row of which composes of coefficients of the unknown (which in this case is P(F|z) Input Parameters ----------------- state_space_at_current_level A list conta...
7faf202b1836f91fc50c86fe3b92f5a5d79dc08b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7945/7faf202b1836f91fc50c86fe3b92f5a5d79dc08b/cjumpchain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 15982, 13142, 1012, 12, 2019, 67, 2981, 67, 270, 67, 2972, 67, 2815, 16, 13201, 16, 1801, 4672, 3536, 3633, 279, 5381, 3806, 261, 81, 2486, 731, 434, 23125, 67, 8302, 296, 87, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 15982, 13142, 1012, 12, 2019, 67, 2981, 67, 270, 67, 2972, 67, 2815, 16, 13201, 16, 1801, 4672, 3536, 3633, 279, 5381, 3806, 261, 81, 2486, 731, 434, 23125, 67, 8302, 296, 87, 363...
startup_notes + ( notes and notes or [] ),
root_notes,
def json( string ): return escape( unicode( Json( string ) ), quote = True )
ae92e04e8367ea967da3b71554544d183dd542df /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6754/ae92e04e8367ea967da3b71554544d183dd542df/Main_page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1163, 12, 533, 262, 30, 327, 4114, 12, 5252, 12, 3424, 12, 533, 262, 262, 16, 3862, 273, 1053, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1163, 12, 533, 262, 30, 327, 4114, 12, 5252, 12, 3424, 12, 533, 262, 262, 16, 3862, 273, 1053, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
this = apply(_quickfix.new_QuoteRespID, args)
this = _quickfix.new_QuoteRespID(*args)
def __init__(self, *args): this = apply(_quickfix.new_QuoteRespID, 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, 10257, 9732, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 10257, 9732, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
def _check_mathieu_modcem2(self):
def check_mathieu_modcem2(self):
def _check_mathieu_modcem2(self): cephes.mathieu_modcem2(1,1,1)
2a0571808f9b68627e9152f6f1037281e69d9d98 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/2a0571808f9b68627e9152f6f1037281e69d9d98/test_cephes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 15949, 1385, 89, 67, 1711, 311, 81, 22, 12, 2890, 4672, 5898, 844, 281, 18, 15949, 1385, 89, 67, 1711, 311, 81, 22, 12, 21, 16, 21, 16, 21, 13, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 15949, 1385, 89, 67, 1711, 311, 81, 22, 12, 2890, 4672, 5898, 844, 281, 18, 15949, 1385, 89, 67, 1711, 311, 81, 22, 12, 21, 16, 21, 16, 21, 13, 2, -100, -100, -100, -100, ...
self.openElements[-1].name not in tableInsertModeElements)):
self.openElements[-1].name not in tableInsertModeElements)):
def insertElement(self, name, attributes): element = self.createElement(name, attributes) if (not(self.insertFromTable) or (self.insertFromTable and self.openElements[-1].name not in tableInsertModeElements)): self.openElements[-1].appendChild(element) self.openElements.append(element) else: #We should be in the InTabl...
6ebfd25148cae79629247c487e7dc2bdeeb84818 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4487/6ebfd25148cae79629247c487e7dc2bdeeb84818/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 1046, 12, 2890, 16, 508, 16, 1677, 4672, 930, 273, 365, 18, 2640, 1046, 12, 529, 16, 1677, 13, 309, 261, 902, 12, 2890, 18, 6387, 1265, 1388, 13, 578, 261, 2890, 18, 6387, 1265...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2243, 1046, 12, 2890, 16, 508, 16, 1677, 4672, 930, 273, 365, 18, 2640, 1046, 12, 529, 16, 1677, 13, 309, 261, 902, 12, 2890, 18, 6387, 1265, 1388, 13, 578, 261, 2890, 18, 6387, 1265...
graph.createProjectionAsNumericArray(indices, useAnchorData = 1)
graph.createProjectionAsNumericArray(indices, useAnchorData = 1, removeMissingData = 0, validData = validData, jitterSize = -1)
def __init__(self, data, freeviz): self.FreeViz = freeviz
360c2f29c8c0ca88d1a1b17243997c2bb35e7808 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6366/360c2f29c8c0ca88d1a1b17243997c2bb35e7808/orngLinProj.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 16, 4843, 23167, 4672, 365, 18, 9194, 58, 452, 273, 4843, 23167, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 16, 4843, 23167, 4672, 365, 18, 9194, 58, 452, 273, 4843, 23167, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
while dirname!=null :
while dirname!=None :
def svnAdd(location, all=False): client = pysvn.Client() dirname, fname = path.split(location) svnAdds = [location] while dirname!=null : if isKnownSVNFile(dirname): if all: client.add(svnAdds.pop()) else: svnAdds.reverse() client.add(svnAdds, recurse=false); return svnAdds.append(dirname) dirname, fname = path.split(d...
a8b7ecead2e974c3152a4af45b8a47e5977a901f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4259/a8b7ecead2e974c3152a4af45b8a47e5977a901f/svn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5893, 82, 986, 12, 3562, 16, 777, 33, 8381, 4672, 1004, 273, 21027, 25031, 18, 1227, 1435, 4283, 16, 5299, 273, 589, 18, 4939, 12, 3562, 13, 5893, 82, 3655, 273, 306, 3562, 65, 1323, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5893, 82, 986, 12, 3562, 16, 777, 33, 8381, 4672, 1004, 273, 21027, 25031, 18, 1227, 1435, 4283, 16, 5299, 273, 589, 18, 4939, 12, 3562, 13, 5893, 82, 3655, 273, 306, 3562, 65, 1323, ...
for j in range(len(cls[i])):
added = 0 while cls[i] != [] and added == 0:
def evaluateAttributes(data, contMeasure, discMeasure): attrs = []; contAttrs = [] corr = MeasureCorrelation() for attr in data.domain.attributes: if data.domain.classVar.varType == orange.VarTypes.Continuous and attr.varType == orange.VarTypes.Continuous: attrs.append((corr(attr.name, data), attr.name)) elif data.doma...
be37a84b85277ea706046947cbb2b31f9864c7d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/be37a84b85277ea706046947cbb2b31f9864c7d7/OWVisAttrSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5956, 2498, 12, 892, 16, 466, 7197, 16, 19169, 7197, 4672, 3422, 273, 5378, 31, 466, 8262, 273, 5378, 19480, 273, 13544, 31685, 1435, 364, 1604, 316, 501, 18, 4308, 18, 4350, 30, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5956, 2498, 12, 892, 16, 466, 7197, 16, 19169, 7197, 4672, 3422, 273, 5378, 31, 466, 8262, 273, 5378, 19480, 273, 13544, 31685, 1435, 364, 1604, 316, 501, 18, 4308, 18, 4350, 30, 309, ...
fmt = _(u"%(index)3d. %(em)s%(person)s%(/em)s removed this item from the %(em)sCalendar%(/em)s")
fmt = _(u"%(conflictNumber)3d. %(user)s removed this item from the <emphasis>Calendar</emphasis>")
def __init__(self, frame, conflicts, callback): self.conflicts = conflicts self.acceptButtons = list() self.discardButtons = list() self.textControls = list() self.callback = callback
2e25d8e497965606c80971d25c22cfc5478fdf17 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/2e25d8e497965606c80971d25c22cfc5478fdf17/ConflictDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2623, 16, 14450, 16, 1348, 4672, 365, 18, 20340, 87, 273, 14450, 365, 18, 9436, 14388, 273, 666, 1435, 365, 18, 31992, 14388, 273, 666, 1435, 365, 18, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2623, 16, 14450, 16, 1348, 4672, 365, 18, 20340, 87, 273, 14450, 365, 18, 9436, 14388, 273, 666, 1435, 365, 18, 31992, 14388, 273, 666, 1435, 365, 18, 95...
'action': 'base_view',
'action': 'string:${object_url}/base_view',
def getCMFVersion(): from os.path import join from Globals import package_home from Products.CMFCore import cmfcore_globals
fddba000165158aa0c6df6b9e406843fecae48f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/fddba000165158aa0c6df6b9e406843fecae48f2/ArchetypeTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 13542, 1444, 13332, 628, 1140, 18, 803, 1930, 1233, 628, 18901, 1031, 1930, 2181, 67, 8712, 628, 8094, 87, 18, 9611, 4488, 479, 1930, 5003, 74, 3644, 67, 16227, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 13542, 1444, 13332, 628, 1140, 18, 803, 1930, 1233, 628, 18901, 1031, 1930, 2181, 67, 8712, 628, 8094, 87, 18, 9611, 4488, 479, 1930, 5003, 74, 3644, 67, 16227, 2, -100, -100, -100...
self.sock = _ssl_wrap_socket(self.sock, self.cert_file, self.key_file)
self.sock = _ssl_wrap_socket(self.sock, self.key_file, self.cert_file)
def connect(self): if self.realhostport: # use CONNECT proxy self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.connect((self.host, self.port)) if _generic_proxytunnel(self): self.sock = _ssl_wrap_socket(self.sock, self.cert_file, self.key_file) else: BetterHTTPS.connect(self)
b9df894f327937920e415249ccf8a4dd39d7318a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/b9df894f327937920e415249ccf8a4dd39d7318a/url.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 4672, 309, 365, 18, 7688, 2564, 655, 30, 468, 999, 21593, 2889, 365, 18, 15031, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3077, 12, 2890, 4672, 309, 365, 18, 7688, 2564, 655, 30, 468, 999, 21593, 2889, 365, 18, 15031, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693,...
if os.path.exists(csPath):
dataPath = csPath + '.data' if os.path.exists(csPath) and os.path.exists(dataPath):
def _addToCache(fingerPrint, inF, csVersion, returnVal, size): csPath = self.csCache.hashToPath(fingerPrint + '-%d' % csVersion) csDir = os.path.dirname(csPath) util.mkdirChain(csDir) (fd, csTmpPath) = tempfile.mkstemp(dir = csDir, suffix = '.ccs-new') outF = os.fdopen(fd, "w") util.copyfileobj(inF, outF) inF.close() #...
b86998432fc72ca61ee53a9f48b520c47a927c6f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/b86998432fc72ca61ee53a9f48b520c47a927c6f/proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 774, 1649, 12, 74, 6658, 5108, 16, 316, 42, 16, 2873, 1444, 16, 28702, 16, 963, 4672, 2873, 743, 273, 365, 18, 2143, 1649, 18, 2816, 774, 743, 12, 74, 6658, 5108, 397, 240...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 774, 1649, 12, 74, 6658, 5108, 16, 316, 42, 16, 2873, 1444, 16, 28702, 16, 963, 4672, 2873, 743, 273, 365, 18, 2143, 1649, 18, 2816, 774, 743, 12, 74, 6658, 5108, 397, 240...
methods.append(value)
methods.append((key, value))
def docclass(self, object, funcs={}, classes={}): """Produce HTML documentation for a class object.""" name = object.__name__ bases = object.__bases__ contents = ''
2c3f3ddf9452a1f3f228e0d8c7abdbeed214a6b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2c3f3ddf9452a1f3f228e0d8c7abdbeed214a6b7/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 1106, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 12938, 4672, 3536, 25884, 3982, 7323, 364, 279, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 1106, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 12938, 4672, 3536, 25884, 3982, 7323, 364, 279, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, ...
stream.recordfile.write(message)
stream.recordfile.write(m)
def mediahandler(self, stream, message): '''Handle incoming media on the stream, by sending to other stream in this application instance.''' if stream.client is not None: inst = self.clients[stream.client.path][0] result = inst.onPublishData(stream.client, stream, message) if result: client = stream.client for s in (in...
d95dc1846e40cafcad7e207f1460dc58842890d1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10498/d95dc1846e40cafcad7e207f1460dc58842890d1/rtmp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3539, 4176, 12, 2890, 16, 1407, 16, 883, 4672, 9163, 3259, 6935, 3539, 603, 326, 1407, 16, 635, 5431, 358, 1308, 1407, 316, 333, 2521, 791, 1093, 6309, 309, 1407, 18, 2625, 353, 486, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3539, 4176, 12, 2890, 16, 1407, 16, 883, 4672, 9163, 3259, 6935, 3539, 603, 326, 1407, 16, 635, 5431, 358, 1308, 1407, 316, 333, 2521, 791, 1093, 6309, 309, 1407, 18, 2625, 353, 486, 5...
if not isinstance(formatted_traceback, unicode): formatted_traceback = formatted_traceback.decode(preferred_encoding, 'replace') msg += formatted_traceback + '</pre>' msg += '<p><b>Log:</b></p><pre>' if log: msg += log.encode('utf8', 'ignore') if isinstance(log, unicode) else log.decode('utf8', 'ignore')
msg += formatted_traceback + u'</pre>' msg += u'<p><b>Log:</b></p><pre>' msg += log
def conversion_job_exception(self, id, description, exception, formatted_traceback, log): try: print >>sys.stderr, 'Error in job:', description.encode('utf8') if log: print >>sys.stderr, log.encode('utf8', 'ignore') if isinstance(log, unicode) else log print >>sys.stderr, exception print >>sys.stderr, formatted_traceba...
8f2800d3017989418bba4e2d8db31321d3a4c0c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/8f2800d3017989418bba4e2d8db31321d3a4c0c5/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4105, 67, 4688, 67, 4064, 12, 2890, 16, 612, 16, 2477, 16, 1520, 16, 4955, 67, 21696, 16, 613, 4672, 775, 30, 1172, 1671, 9499, 18, 11241, 16, 296, 668, 316, 1719, 30, 2187, 2477, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4105, 67, 4688, 67, 4064, 12, 2890, 16, 612, 16, 2477, 16, 1520, 16, 4955, 67, 21696, 16, 613, 4672, 775, 30, 1172, 1671, 9499, 18, 11241, 16, 296, 668, 316, 1719, 30, 2187, 2477, 18...
'nfs_server', 'nfs_dir', 'pxe_dir', 'pxe_image', 'pxe_initrd', 'install_virtio', 'tftp', 'floppy', 'cdrom_unattended']
'nfs_server', 'nfs_dir', 'install_virtio', 'floppy', 'cdrom_unattended', 'boot_path', 'extra_params']
def __init__(self): """ Gets params from environment variables and sets class attributes. """ images_dir = os.path.join(KVM_TEST_DIR, 'images') self.deps_dir = os.path.join(KVM_TEST_DIR, 'deps') self.unattended_dir = os.path.join(KVM_TEST_DIR, 'unattended')
295f8a35ea41100c5c7582c4a6b666d666dbf25a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12268/295f8a35ea41100c5c7582c4a6b666d666dbf25a/unattended.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 11881, 859, 628, 3330, 3152, 471, 1678, 667, 1677, 18, 3536, 4602, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 47, 7397, 67, 16961, 67, 4537, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 11881, 859, 628, 3330, 3152, 471, 1678, 667, 1677, 18, 3536, 4602, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 47, 7397, 67, 16961, 67, 4537, 16,...
def handle_read(self): blob=self.recv() if blob is None: pass elif blob=='': self.handle_close() else: self.buffer = self.buffer + blob
def handle_read(self): self.rc = self.rc + 1 if self.peer is None: self.peer = self.get_peer_cert() if self.peer is not None: print 'rc =', self.rc print self.peer.get_subject() try: blob=self.recv() if blob is None: pass elif blob == '': self.handle_close() else: self.buffer = self.buffer + blob except: self.close()
def handle_read(self): blob=self.recv() if blob is None: pass elif blob=='': self.handle_close() else: self.buffer = self.buffer + blob
2d0557876cb42157a58a49bde92eca30bdbd803e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8055/2d0557876cb42157a58a49bde92eca30bdbd803e/echod-async.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 896, 12, 2890, 4672, 4795, 33, 2890, 18, 18334, 1435, 309, 4795, 353, 599, 30, 1342, 1327, 4795, 18920, 4278, 365, 18, 4110, 67, 4412, 1435, 469, 30, 365, 18, 4106, 273, 365,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 896, 12, 2890, 4672, 4795, 33, 2890, 18, 18334, 1435, 309, 4795, 353, 599, 30, 1342, 1327, 4795, 18920, 4278, 365, 18, 4110, 67, 4412, 1435, 469, 30, 365, 18, 4106, 273, 365,...
if l_obj is not None:
if l_obj is not None and l_obj != 'NULL':
def ExecuteSQL( self, statement, region = None, dialect = "" ): l_obj = _gdal.OGR_DS_ExecuteSQL( self._o, statement, region, dialect ) if l_obj is not None: return Layer( l_obj ) else: return None
3168cde22e4a9933a110dc046a57cda148cf2a16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10290/3168cde22e4a9933a110dc046a57cda148cf2a16/ogr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 3997, 12, 365, 16, 3021, 16, 3020, 273, 599, 16, 10864, 273, 1408, 262, 30, 328, 67, 2603, 273, 389, 19016, 287, 18, 51, 6997, 67, 3948, 67, 5289, 3997, 12, 365, 6315, 83, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 3997, 12, 365, 16, 3021, 16, 3020, 273, 599, 16, 10864, 273, 1408, 262, 30, 328, 67, 2603, 273, 389, 19016, 287, 18, 51, 6997, 67, 3948, 67, 5289, 3997, 12, 365, 6315, 83, 16, ...
if self.command and self.command.hasValidStructure(): strandList = [] strandList = self.command.struct.getStrands() params = len(strandList)
part = self.command.assy.part nanotubes = part.get_topmost_subnodes_of_class(self.command.assy.NanotubeSegment) params = len(nanotubes)
def _currentStructureParams_NOT_APPLICABLE(self): """ Return current structure parameters of interest to self.model_changed. Right now it only returns the number of strands within the structure (or None). This is a good enough check (and no need to compare each and every strand within the structure with a previously st...
1235b6715ff62eb812d26f2083809e1d3b430cb8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/1235b6715ff62eb812d26f2083809e1d3b430cb8/BuildNanotube_PropertyManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2972, 6999, 1370, 67, 4400, 67, 7215, 6065, 2782, 12, 2890, 4672, 3536, 2000, 783, 3695, 1472, 434, 16513, 358, 365, 18, 2284, 67, 6703, 18, 13009, 2037, 518, 1338, 1135, 326, 1300,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2972, 6999, 1370, 67, 4400, 67, 7215, 6065, 2782, 12, 2890, 4672, 3536, 2000, 783, 3695, 1472, 434, 16513, 358, 365, 18, 2284, 67, 6703, 18, 13009, 2037, 518, 1338, 1135, 326, 1300,...
self.openElements[-1].appendChild(clone) self.openElements.append(clone) self.activeFormattingElements[i] = clone if clone == self.activeFormattingElements[-1]:
element = self.insertElement(clone.name, clone.attributes) self.activeFormattingElements[i] = element if element == self.activeFormattingElements[-1]:
def reconstructActiveFormattingElements(self): # This covers the ", if any" case mentioned often in the drafts, before # you have to reconstruct the active formatting elements. if not self.activeFormattingElements: return
011e7f06fa21cd26114ee13532f1307d83fc7818 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10463/011e7f06fa21cd26114ee13532f1307d83fc7818/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23243, 3896, 23974, 3471, 12, 2890, 4672, 468, 1220, 25559, 326, 3104, 309, 1281, 6, 648, 27635, 16337, 316, 326, 12246, 87, 16, 1865, 468, 1846, 1240, 358, 23243, 326, 2695, 10407, 2186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23243, 3896, 23974, 3471, 12, 2890, 4672, 468, 1220, 25559, 326, 3104, 309, 1281, 6, 648, 27635, 16337, 316, 326, 12246, 87, 16, 1865, 468, 1846, 1240, 358, 23243, 326, 2695, 10407, 2186, ...
cur.execute('insert into booze values (:1)',("Cooper's",))
cur.execute( 'insert into %sbooze values (:1)' % self.table_prefix, ("Cooper's",) )
def _paraminsert(self,cur): self.executeDDL1(cur) cur.execute("insert into booze values ('Victoria Bitter')") self.failUnless(cur.rowcount in (-1,1))
cfcc2c93bb2f3afff81cb651f606e164b84e739d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7955/cfcc2c93bb2f3afff81cb651f606e164b84e739d/dbapi20.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 891, 6387, 12, 2890, 16, 1397, 4672, 365, 18, 8837, 21293, 21, 12, 1397, 13, 662, 18, 8837, 2932, 6387, 1368, 800, 83, 8489, 924, 7707, 58, 933, 280, 1155, 605, 6132, 23291, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 891, 6387, 12, 2890, 16, 1397, 4672, 365, 18, 8837, 21293, 21, 12, 1397, 13, 662, 18, 8837, 2932, 6387, 1368, 800, 83, 8489, 924, 7707, 58, 933, 280, 1155, 605, 6132, 23291, 13, ...
static xmlValidCtxtPtr gen_xmlValidCtxtPtr(int no) {
static xmlValidCtxtPtr gen_xmlValidCtxtPtr(int no, int nr ATTRIBUTE_UNUSED) {
def is_known_param_type(name): for type in known_param_types: if type == name: return 1 return 0
3d97e669eca6f4849c7b3014f472cacc57817015 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12659/3d97e669eca6f4849c7b3014f472cacc57817015/gentest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2994, 67, 891, 67, 723, 12, 529, 4672, 364, 618, 316, 4846, 67, 891, 67, 2352, 30, 309, 618, 422, 508, 30, 327, 404, 327, 374, 225, 2, 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, 0, 0, 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, 2994, 67, 891, 67, 723, 12, 529, 4672, 364, 618, 316, 4846, 67, 891, 67, 2352, 30, 309, 618, 422, 508, 30, 327, 404, 327, 374, 225, 2, -100, -100, -100, -100, -100, -100, ...
def ndpointer(datatype=None, ndim=None, shape=None, flags=None): if datatype is not None: datatype = dtype(datatype)
def ndpointer(dtype=None, ndim=None, shape=None, flags=None): if dtype is not None: dtype = _dtype(dtype)
def ndpointer(datatype=None, ndim=None, shape=None, flags=None): if datatype is not None: datatype = dtype(datatype) num = None if flags is not None: if isinstance(flags, str): flags = flags.split(',') elif isinstance(flags, (int, integer)): num = flags flags = _flags_fromnum(flags) if num is None: flags = [x.strip().u...
7aa30aee6bae9a2c28539b06331225efbd3f5370 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/7aa30aee6bae9a2c28539b06331225efbd3f5370/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5346, 10437, 12, 8972, 33, 7036, 16, 9209, 33, 7036, 16, 2179, 33, 7036, 16, 2943, 33, 7036, 4672, 309, 3182, 353, 486, 599, 30, 3182, 273, 389, 8972, 12, 8972, 13, 818, 273, 599, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5346, 10437, 12, 8972, 33, 7036, 16, 9209, 33, 7036, 16, 2179, 33, 7036, 16, 2943, 33, 7036, 4672, 309, 3182, 353, 486, 599, 30, 3182, 273, 389, 8972, 12, 8972, 13, 818, 273, 599, 30...
"<div padding=6 id='div-interact-3'> ...</div>\n "
"<!--notruncate--><div padding=6 id='div-interact-3'> ...</div>\n "
def wrap_in_outside_frame(self, inside): """ Return the entire HTML for the interactive canvas, obtained by wrapping all the inside html of the canvas in a div and a table.
9e366083336fb9b8019771087639e77b994a18f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/9e366083336fb9b8019771087639e77b994a18f5/interact.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2193, 67, 267, 67, 659, 5564, 67, 3789, 12, 2890, 16, 4832, 4672, 3536, 2000, 326, 7278, 3982, 364, 326, 12625, 5953, 16, 12700, 635, 14702, 777, 326, 4832, 1729, 434, 326, 5953, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2193, 67, 267, 67, 659, 5564, 67, 3789, 12, 2890, 16, 4832, 4672, 3536, 2000, 326, 7278, 3982, 364, 326, 12625, 5953, 16, 12700, 635, 14702, 777, 326, 4832, 1729, 434, 326, 5953, 316, ...
"line" : node.get("line"),
"line" : node.get("line"),
def _addTranslationBlock(self, method, data, node, var): entry = { "method" : method, "line" : node.get("line"), "column" : node.get("column") }
ee807d2763090dbf13e7caa178f7ce2c8405e637 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/ee807d2763090dbf13e7caa178f7ce2c8405e637/Locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 6717, 1768, 12, 2890, 16, 707, 16, 501, 16, 756, 16, 569, 4672, 1241, 273, 288, 315, 2039, 6, 294, 707, 16, 315, 1369, 6, 282, 294, 756, 18, 588, 2932, 1369, 6, 3631, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 6717, 1768, 12, 2890, 16, 707, 16, 501, 16, 756, 16, 569, 4672, 1241, 273, 288, 315, 2039, 6, 294, 707, 16, 315, 1369, 6, 282, 294, 756, 18, 588, 2932, 1369, 6, 3631, 31...
if resp[:3] not in ('426', '226'):
if resp[:3] not in ('426', '225', '226'):
def abort(self): '''Abort a file transfer. Uses out-of-band data. This does not follow the procedure from the RFC to send Telnet IP and Synch; that doesn't seem to work with the servers I've tried. Instead, just send the ABOR command as OOB data.''' line = 'ABOR' + CRLF if self.debugging > 1: print '*put urgent*', se...
cf445fced474f4df3b67ec3cb4ae6f761173d93c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/cf445fced474f4df3b67ec3cb4ae6f761173d93c/ftplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6263, 12, 2890, 4672, 9163, 13572, 279, 585, 7412, 18, 225, 14854, 596, 17, 792, 17, 12752, 501, 18, 1220, 1552, 486, 2805, 326, 12131, 628, 326, 8372, 358, 1366, 399, 292, 2758, 2971, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6263, 12, 2890, 4672, 9163, 13572, 279, 585, 7412, 18, 225, 14854, 596, 17, 792, 17, 12752, 501, 18, 1220, 1552, 486, 2805, 326, 12131, 628, 326, 8372, 358, 1366, 399, 292, 2758, 2971, ...
symmetry_flags = symmetry_flags)
symmetry_flags = symmetry_flags, fmodel = self)
def fft_map(resolution_factor = None, symmetry_flags = None, map_coefficients = None, other_fft_map = None): if(resolution_factor is None): resolution_factor = self.resolution_factor if(symmetry_flags is None): symmetry_flags = self.symmetry_flags return map_coefficients.fft_map( resolution_factor = resolution_factor,...
bfcf922c5cf8839b7c038240ba50c763b3658b81 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/696/bfcf922c5cf8839b7c038240ba50c763b3658b81/twin_f_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15741, 67, 1458, 12, 19182, 67, 6812, 273, 599, 16, 26144, 67, 7133, 273, 599, 16, 852, 67, 8075, 12344, 273, 599, 16, 1308, 67, 25174, 67, 1458, 273, 599, 4672, 309, 12, 19182, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15741, 67, 1458, 12, 19182, 67, 6812, 273, 599, 16, 26144, 67, 7133, 273, 599, 16, 852, 67, 8075, 12344, 273, 599, 16, 1308, 67, 25174, 67, 1458, 273, 599, 4672, 309, 12, 19182, 67, ...
def keyNumberGlobal(self, number): print "You pressed number " + str(number) if (self["config"].getCurrent()[1].parent.enabled == True): self["config"].handleKey(config.key[str(number)])
config.timerentry.service = configElement_nonSave("config.timerentry.service", configSelection, 0, ((str(self.timer.service_ref.getServiceName())),))
def keyNumberGlobal(self, number): print "You pressed number " + str(number) if (self["config"].getCurrent()[1].parent.enabled == True): self["config"].handleKey(config.key[str(number)])
aceb62aeebc259a4da520b303a31a6a174d9400a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/aceb62aeebc259a4da520b303a31a6a174d9400a/TimerEntry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 1854, 5160, 12, 2890, 16, 1300, 4672, 1172, 315, 6225, 19504, 1300, 315, 397, 609, 12, 2696, 13, 309, 261, 2890, 9614, 1425, 6, 8009, 588, 3935, 1435, 63, 21, 8009, 2938, 18, 5745...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 498, 1854, 5160, 12, 2890, 16, 1300, 4672, 1172, 315, 6225, 19504, 1300, 315, 397, 609, 12, 2696, 13, 309, 261, 2890, 9614, 1425, 6, 8009, 588, 3935, 1435, 63, 21, 8009, 2938, 18, 5745...
'''
"""
def field(self, **kwargs): ''' Render the property as a field in HTML.
16a3ebf380b95607b344181655488d818a27791f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1906/16a3ebf380b95607b344181655488d818a27791f/templating.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 12, 2890, 16, 2826, 4333, 4672, 3536, 6987, 326, 1272, 487, 279, 652, 316, 3982, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 12, 2890, 16, 2826, 4333, 4672, 3536, 6987, 326, 1272, 487, 279, 652, 316, 3982, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
sage: q = PowerSeriesRing(QQ,'q').gen() sage: prod((1-q^k)^(-1) for k in range(1,20)) 1 + q + 2*q^2 + 3*q^3 + 5*q^4 + 7*q^5 + 11*q^6 + 15*q^7 + 22*q^8 + 30*q^9 + 42*q^10 + 56*q^11 + 77*q^12 + 101*q^13 + 135*q^14 + 176*q^15 + 231*q^16 + 297*q^17 + 385*q^18 + 490*q^19 + O(q^20)
sage: q = PowerSeriesRing(QQ, 'q', default_prec=9).gen() sage: prod([(1-q^k)^(-1) for k in range(1,9)]) 1 + q + 2*q^2 + 3*q^3 + 5*q^4 + 7*q^5 + 11*q^6 + 15*q^7 + 22*q^8 + O(q^9)
def number_of_partitions_list(n,k=None): r""" Returns the size of partitions_list(n,k). Wraps GAP's NrPartitions. It is possible to associate with every partition of the integer n a conjugacy class of permutations in the symmetric group on n points and vice versa. Therefore p(n) = NrPartitions(n) is the number of co...
602ed066a71fa2add0f925373cff3d945f705457 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/602ed066a71fa2add0f925373cff3d945f705457/combinat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 792, 67, 21275, 67, 1098, 12, 82, 16, 79, 33, 7036, 4672, 436, 8395, 2860, 326, 963, 434, 10060, 67, 1098, 12, 82, 16, 79, 2934, 225, 678, 7506, 611, 2203, 1807, 423, 86, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 792, 67, 21275, 67, 1098, 12, 82, 16, 79, 33, 7036, 4672, 436, 8395, 2860, 326, 963, 434, 10060, 67, 1098, 12, 82, 16, 79, 2934, 225, 678, 7506, 611, 2203, 1807, 423, 86, ...
-b/(a*(a*b - (b/a)))
-b/(a*(a*b - b/a))
def _repr_(self, simplify=True): """ TESTS: sage: a = (1-1/r)^(-1); a 1/(1 - (1/r)) sage: a.derivative(r) -1/((1 - (1/r))^2*r^2)
b3ba17c1357de84983fbf0c3d95f1ba232a95810 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/b3ba17c1357de84983fbf0c3d95f1ba232a95810/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 16, 16499, 33, 5510, 4672, 3536, 22130, 55, 30, 272, 410, 30, 279, 273, 261, 21, 17, 21, 19, 86, 13, 66, 19236, 21, 1769, 279, 404, 19, 12, 21, 300, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 16, 16499, 33, 5510, 4672, 3536, 22130, 55, 30, 272, 410, 30, 279, 273, 261, 21, 17, 21, 19, 86, 13, 66, 19236, 21, 1769, 279, 404, 19, 12, 21, 300, 261, ...
[ "-IUUID", "-IRevDateStr", svndmp, pydmp2 ] )
[ svndmp, pydmp2 ] )
def test_dumps( params ): """Test 1: Test creating dumps.""" # get params tempdir = params["tempdir"] tempfiles = params["tempfiles"] temprepos = params["temprepos"] tempwc = params["tempwc"] # test1: create a dump with commandline and python classes then compare svndmp = tempdir + "/test_dumps_svn" pydmp = tempdir +...
ea426dfb93d645bcd795a74b9f5557fd11fb9429 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13212/ea426dfb93d645bcd795a74b9f5557fd11fb9429/svndumptest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13302, 1121, 12, 859, 262, 30, 3536, 4709, 404, 30, 7766, 4979, 6711, 12123, 225, 468, 336, 859, 23101, 273, 859, 9614, 5814, 1214, 11929, 1906, 2354, 273, 859, 9614, 5814, 235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13302, 1121, 12, 859, 262, 30, 3536, 4709, 404, 30, 7766, 4979, 6711, 12123, 225, 468, 336, 859, 23101, 273, 859, 9614, 5814, 1214, 11929, 1906, 2354, 273, 859, 9614, 5814, 235...
self.clearPath() re = compile('.+?;') tmp = re.findall(config.radio.lastroot.value) cnt = 0 for i in tmp: self.servicePathRadio.append(eServiceReference(i[:-1])) cnt += 1 if cnt: path = self.servicePathRadio.pop() self.enterPath(path) else: self.showFavourites() self.saveRoot()
tmp = [x for x in self.lastroot.value.split(';') if x != ''] current = [x.toString() for x in self.servicePath] if tmp != current or self.rootChanged: cnt = 0 for i in tmp: self.servicePathRadio.append(eServiceReference(i)) cnt += 1 if cnt: path = self.servicePathRadio.pop() self.enterPath(path) else: self.showFavourit...
def restoreRoot(self): self.clearPath() re = compile('.+?;') tmp = re.findall(config.radio.lastroot.value) cnt = 0 for i in tmp: self.servicePathRadio.append(eServiceReference(i[:-1])) cnt += 1 if cnt: path = self.servicePathRadio.pop() self.enterPath(path) else: self.showFavourites() self.saveRoot()
a2a6f4401a59a912f39992a989576fc00542d6a5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6652/a2a6f4401a59a912f39992a989576fc00542d6a5/ChannelSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 2375, 12, 2890, 4672, 365, 18, 8507, 743, 1435, 283, 273, 4074, 2668, 15591, 35, 4359, 13, 1853, 273, 283, 18, 4720, 454, 12, 1425, 18, 17006, 18, 2722, 3085, 18, 1132, 13, 7599,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5217, 2375, 12, 2890, 4672, 365, 18, 8507, 743, 1435, 283, 273, 4074, 2668, 15591, 35, 4359, 13, 1853, 273, 283, 18, 4720, 454, 12, 1425, 18, 17006, 18, 2722, 3085, 18, 1132, 13, 7599,...
word = urllib.unquote(word)
word = uunquote(word)
def runImport(dbFN, useDBM, newDBM, inFN): if newDBM: try: os.unlink(dbFN) except OSError, e: if e.errno != 2: # errno.<WHAT> raise try: os.unlink(dbFN+".dat") except OSError, e: if e.errno != 2: # errno.<WHAT> raise try: os.unlink(dbFN+".dir") except OSError, e: if e.errno != 2: # errno.<WHAT> raise if...
3f6976fbf0f5600a27a7868fcd12480629c14470 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/3f6976fbf0f5600a27a7868fcd12480629c14470/sb_dbexpimp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 5010, 12, 1966, 19793, 16, 999, 2290, 49, 16, 394, 2290, 49, 16, 316, 19793, 4672, 225, 309, 394, 2290, 49, 30, 775, 30, 1140, 18, 318, 1232, 12, 1966, 19793, 13, 1335, 10002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 5010, 12, 1966, 19793, 16, 999, 2290, 49, 16, 394, 2290, 49, 16, 316, 19793, 4672, 225, 309, 394, 2290, 49, 30, 775, 30, 1140, 18, 318, 1232, 12, 1966, 19793, 13, 1335, 10002, ...
self.factory, contextFactory)
self.factory, cred)
def connect(self): """ This methods establishes the conection to the remote server.
b01496f2cd8f05bb79396a87e556ea7352fc425d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/b01496f2cd8f05bb79396a87e556ea7352fc425d/dsage_interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 4672, 3536, 1220, 2590, 18312, 281, 326, 356, 794, 358, 326, 2632, 1438, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 4672, 3536, 1220, 2590, 18312, 281, 326, 356, 794, 358, 326, 2632, 1438, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sty=m.make('sty',type='sty',xyz=pig_sty_xyz,status=1.0,bbox=[5,5,3])
sty=m.make('sty',type='sty',xyz=pig_sty_xyz,status=1.0,bbox=[5,5,3],area={'points' : [ [0,0], [0,5], [5,5], [5,0] ], 'layer' : 5})
#def dontrunme():
a95708014fbae9e8bbf06f3f34ca5e45fcd04850 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12932/a95708014fbae9e8bbf06f3f34ca5e45fcd04850/define_world.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 2727, 313, 318, 3501, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 2727, 313, 318, 3501, 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, -1...
if self.debugging: print '*welcome*', `self.welcome`
if self.debugging: print '*welcome*', self.sanitize(self.welcome)
def getwelcome(self): if self.debugging: print '*welcome*', `self.welcome` return self.welcome
ebaf104665158f0dd215062b699e7f1a2b4580b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/ebaf104665158f0dd215062b699e7f1a2b4580b7/ftplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 91, 16312, 12, 2890, 4672, 309, 365, 18, 4148, 1998, 30, 1172, 14609, 91, 16312, 14, 2187, 365, 18, 20266, 12, 2890, 18, 91, 16312, 13, 327, 365, 18, 91, 16312, 2, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 91, 16312, 12, 2890, 4672, 309, 365, 18, 4148, 1998, 30, 1172, 14609, 91, 16312, 14, 2187, 365, 18, 20266, 12, 2890, 18, 91, 16312, 13, 327, 365, 18, 91, 16312, 2, -100, -100, -...
self.assert_(self.g.read(20, 5) == "22222")
self.assert_(self.g.read(20, 5) == "2") self.assert_(self.g.read(20, 1) == "2")
def runTest(self): # First try to read from a device that isn't open yet. self.assertRaises(_ped.IOException, self.g.read, 0, 10)
7cea44689161ba7044ed18844581da0ae56ffda9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5978/7cea44689161ba7044ed18844581da0ae56ffda9/test_geometry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4709, 12, 2890, 4672, 468, 5783, 775, 358, 855, 628, 279, 2346, 716, 5177, 1404, 1696, 4671, 18, 365, 18, 11231, 12649, 6141, 24899, 1845, 18, 14106, 16, 365, 18, 75, 18, 896, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4709, 12, 2890, 4672, 468, 5783, 775, 358, 855, 628, 279, 2346, 716, 5177, 1404, 1696, 4671, 18, 365, 18, 11231, 12649, 6141, 24899, 1845, 18, 14106, 16, 365, 18, 75, 18, 896, 16...
"\n\n(Currently using %r)" ) % (version, e.args[0])
"\n\n(Currently using %r)") % (version, e.args[0])
def use_setuptools( version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, download_delay=15
9376c7db5895d2451fb358ccc8f545d1e5dc3f7a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8186/9376c7db5895d2451fb358ccc8f545d1e5dc3f7a/distribute_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 999, 67, 542, 30693, 12, 1177, 33, 5280, 67, 5757, 16, 4224, 67, 1969, 33, 5280, 67, 1785, 16, 358, 67, 1214, 33, 538, 18, 1397, 1214, 16, 4224, 67, 10790, 33, 3600, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 999, 67, 542, 30693, 12, 1177, 33, 5280, 67, 5757, 16, 4224, 67, 1969, 33, 5280, 67, 1785, 16, 358, 67, 1214, 33, 538, 18, 1397, 1214, 16, 4224, 67, 10790, 33, 3600, 2, -100, -100, ...