rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
"-f", "./" + "reftest/components/httpd.js",
"-f", os.path.join(self.scriptDir, "reftest/components/httpd.js"),
def start(self): "Run the Refest server, returning the process ID of the server." env = self._automation.environment(xrePath = self._xrePath) env["XPCOM_DEBUG_BREAK"] = "warn" if self._automation.IS_WIN32: env["PATH"] = env["PATH"] + ";" + self._xrePath
d8153eeb556758ccf4599a5cc0eeface51ec22b1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/d8153eeb556758ccf4599a5cc0eeface51ec22b1/remotereftest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 315, 1997, 326, 3941, 395, 1438, 16, 5785, 326, 1207, 1599, 434, 326, 1438, 1199, 225, 1550, 273, 365, 6315, 5854, 11978, 18, 10274, 12, 92, 266, 743, 273, 365, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 315, 1997, 326, 3941, 395, 1438, 16, 5785, 326, 1207, 1599, 434, 326, 1438, 1199, 225, 1550, 273, 365, 6315, 5854, 11978, 18, 10274, 12, 92, 266, 743, 273, 365, 63...
item = event.GetItem() itemText = self.tree.GetItemText(item)
def OnSelChanged(self, event): if self.dying: return
5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1877, 5033, 12, 2890, 16, 871, 4672, 309, 365, 18, 72, 14946, 30, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1877, 5033, 12, 2890, 16, 871, 4672, 309, 365, 18, 72, 14946, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
p_to = self.__emBuildEmailAddress(p_to) l_message = self.__emCreateEmail(p_content, p_to, p_from, p_subject)
p_to = self.__build_addresses(p_to) l_message = self.__create_email(p_content, p_to, p_from, p_subject)
def sendEmail(self, p_content, p_to, p_from, p_subject): #sends a generic email try: p_to = self.__emBuildEmailAddress(p_to) l_message = self.__emCreateEmail(p_content, p_to, p_from, p_subject) server = smtplib.SMTP(self.mail_server_name, self.mail_server_port) server.sendmail(p_from, p_to, l_message) server.quit() ret...
866e2e83d21be08185a93199e05c821a9bd88ea1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3287/866e2e83d21be08185a93199e05c821a9bd88ea1/EmailTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4134, 12, 2890, 16, 293, 67, 1745, 16, 293, 67, 869, 16, 293, 67, 2080, 16, 293, 67, 7857, 4672, 468, 4661, 87, 279, 5210, 2699, 775, 30, 293, 67, 869, 273, 365, 16186, 3510, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4134, 12, 2890, 16, 293, 67, 1745, 16, 293, 67, 869, 16, 293, 67, 2080, 16, 293, 67, 7857, 4672, 468, 4661, 87, 279, 5210, 2699, 775, 30, 293, 67, 869, 273, 365, 16186, 3510, ...
<unittest.TestResult run=3 errors=0 failures=3>
<unittest.TestResult run=3 errors=0 failures=2>
def test_DocFileSuite(): """We can test tests found in text files using a DocFileSuite. We create a suite by providing the names of one or more text files that include examples: >>> import unittest >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... ...
52e0ffbd344513640f66899b50d386f5e487dfb1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/52e0ffbd344513640f66899b50d386f5e487dfb1/test_doctest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1759, 812, 13587, 13332, 3536, 3218, 848, 1842, 7434, 1392, 316, 977, 1390, 1450, 279, 3521, 812, 13587, 18, 225, 1660, 752, 279, 11371, 635, 17721, 326, 1257, 434, 1245, 578, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1759, 812, 13587, 13332, 3536, 3218, 848, 1842, 7434, 1392, 316, 977, 1390, 1450, 279, 3521, 812, 13587, 18, 225, 1660, 752, 279, 11371, 635, 17721, 326, 1257, 434, 1245, 578, ...
(cssclass, vararg_name, PARAM_JOIN))
(css_class, vararg_name, PARAM_JOIN))
def _func_signature(self, fname, fdoc, link=0, cssclass="sig"): """ @return: The HTML code for the function signature of the function with the given name and documentation. @param fname: The short name of the function. @type fname: C{string} @param fdoc: The documentation for the function. @type fdoc: L{objdoc.FuncDoc}...
36aef14a0edb4bd18076686105d0e4e6c7c10c23 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36aef14a0edb4bd18076686105d0e4e6c7c10c23/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 8195, 12, 2890, 16, 5299, 16, 284, 2434, 16, 1692, 33, 20, 16, 2873, 1017, 459, 1546, 7340, 6, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 445, 3372, 434, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 8195, 12, 2890, 16, 5299, 16, 284, 2434, 16, 1692, 33, 20, 16, 2873, 1017, 459, 1546, 7340, 6, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 445, 3372, 434, 326...
self.failUnlessEqual(3, getargs_l(3.14))
self.assertRaises(TypeError, getargs_l, 3.14)
def test_l(self): from _testcapi import getargs_l # l returns 'long', and does range checking (LONG_MIN ... LONG_MAX) self.failUnlessEqual(3, getargs_l(3.14)) self.failUnlessEqual(99, getargs_l(Long())) self.failUnlessEqual(99, getargs_l(Int()))
4995fad8b88b0660d17e06de8de078d7faa2ab94 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/4995fad8b88b0660d17e06de8de078d7faa2ab94/test_getargs2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 80, 12, 2890, 4672, 628, 389, 3813, 71, 2425, 1930, 336, 1968, 67, 80, 468, 328, 1135, 296, 5748, 2187, 471, 1552, 1048, 6728, 261, 14639, 67, 6236, 1372, 14011, 67, 6694, 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, 1842, 67, 80, 12, 2890, 4672, 628, 389, 3813, 71, 2425, 1930, 336, 1968, 67, 80, 468, 328, 1135, 296, 5748, 2187, 471, 1552, 1048, 6728, 261, 14639, 67, 6236, 1372, 14011, 67, 6694, 13...
mode = self._do_get_mode(query=False) if mode not in self._modes: logging.warning(__name__ + ' : Invalid mode %s, assuming current' % mode) mode = self._do_get_mode(query=False)
mode = self.get_mode(query=False) if mode not in self._modes: logging.warning(__name__ + ' : Invalid mode %s, assuming current' % mode) mode = self.get_mode(query=False)
def _do_get_digits(self, mode=None): ''' Get digits If mode=None the current mode is assumed
e225b63fff98abc004b966fd48b18f5af744fb7d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6471/e225b63fff98abc004b966fd48b18f5af744fb7d/Keithley_2700.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 588, 67, 16649, 12, 2890, 16, 1965, 33, 7036, 4672, 9163, 968, 6815, 971, 1965, 33, 7036, 326, 783, 1965, 353, 12034, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 588, 67, 16649, 12, 2890, 16, 1965, 33, 7036, 4672, 9163, 968, 6815, 971, 1965, 33, 7036, 326, 783, 1965, 353, 12034, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
if data: data = data + self._bufferedCharacter else: data = self._bufferedCharacter
data = self._bufferedCharacter + data
def readChunk(self, chunkSize=None): if chunkSize is None: chunkSize = self._defaultChunkSize
c9fcf443aaab7b0e004e8bb42f56679c67f7dd32 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10463/c9fcf443aaab7b0e004e8bb42f56679c67f7dd32/inputstream.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 5579, 12, 2890, 16, 17791, 33, 7036, 4672, 309, 17791, 353, 599, 30, 17791, 273, 365, 6315, 1886, 26307, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 5579, 12, 2890, 16, 17791, 33, 7036, 4672, 309, 17791, 353, 599, 30, 17791, 273, 365, 6315, 1886, 26307, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.stc.SetProperty('tab.timmy.whinge.level', self.classprefs.tab_highlight_style)
self.stc.SetProperty('tab.timmy.whinge.level', str(self.classprefs.tab_highlight_style))
def setTabStyle(self): self.stc.SetIndent(self.classprefs.tab_size) self.stc.SetProperty('tab.timmy.whinge.level', self.classprefs.tab_highlight_style) self.stc.SetUseTabs(self.classprefs.use_tab_characters)
6b014b8f8d82c3b9710161ca3927349a68c99cd6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/6b014b8f8d82c3b9710161ca3927349a68c99cd6/fundamental.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 5661, 2885, 12, 2890, 4672, 365, 18, 334, 71, 18, 694, 7790, 12, 2890, 18, 1106, 1484, 2556, 18, 7032, 67, 1467, 13, 365, 18, 334, 71, 18, 694, 1396, 2668, 7032, 18, 8584, 4811,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5661, 2885, 12, 2890, 4672, 365, 18, 334, 71, 18, 694, 7790, 12, 2890, 18, 1106, 1484, 2556, 18, 7032, 67, 1467, 13, 365, 18, 334, 71, 18, 694, 1396, 2668, 7032, 18, 8584, 4811,...
"Called when the socket is closed."
"""Called when the socket is closed."""
def handle_close(self): "Called when the socket is closed." debug("DTPHandler.handle_close()") tot_bytes = self.get_transmitted_bytes()
367a95e4363ae8b7515230480fff6ef354b95226 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/367a95e4363ae8b7515230480fff6ef354b95226/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 4412, 12, 2890, 4672, 3536, 8185, 1347, 326, 2987, 353, 4375, 12123, 225, 1198, 2932, 9081, 52, 1503, 18, 4110, 67, 4412, 1435, 7923, 9997, 67, 3890, 273, 365, 18, 588, 67, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4412, 12, 2890, 4672, 3536, 8185, 1347, 326, 2987, 353, 4375, 12123, 225, 1198, 2932, 9081, 52, 1503, 18, 4110, 67, 4412, 1435, 7923, 9997, 67, 3890, 273, 365, 18, 588, 67, 2...
def continuous(self, other): """ Return True if self and other are not disjoint. """ return not self.disjoint(other)
def __contains__(self, other): """ Return True if other is wholly contained in self. other can be another segment or an object of the same type as the bounds of self. """ if type(other) == segment: return (self[0] <= other[0]) and (self[1] >= other[1]) else: return self[0] <= other < self[1]
520d2d5c9ba3a388887bd08303f9bd636037f081 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3589/520d2d5c9ba3a388887bd08303f9bd636037f081/segments.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 1308, 4672, 3536, 2000, 1053, 309, 1308, 353, 600, 355, 715, 7542, 316, 365, 18, 225, 1308, 848, 506, 4042, 3267, 578, 392, 733, 434, 326, 1967, 618, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 1308, 4672, 3536, 2000, 1053, 309, 1308, 353, 600, 355, 715, 7542, 316, 365, 18, 225, 1308, 848, 506, 4042, 3267, 578, 392, 733, 434, 326, 1967, 618, 48...
encodings_l10n(args, output, base)
encodings_l10n(input_files, output, base)
def encodings_l10n(input_files, output, base): '''Generate pot file from lib/encodings''' output = open(output, 'w') # assuming only one encodings file # Encoding utf8 utf8 "Unicode (utf8)" UTF-8 variable inputenc reg = re.compile('Encoding [\w-]+\s+[\w-]+\s+"([\w \-\(\)]+)"\s+[\w-]+\s+(fixed...
aea6be38bb6e77fa8bf26164e0c6e0d9f72f28be /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7514/aea6be38bb6e77fa8bf26164e0c6e0d9f72f28be/lyx_pot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24118, 67, 80, 2163, 82, 12, 2630, 67, 2354, 16, 876, 16, 1026, 4672, 9163, 4625, 5974, 585, 628, 2561, 19, 1331, 369, 899, 26418, 876, 273, 1696, 12, 2844, 16, 296, 91, 6134, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24118, 67, 80, 2163, 82, 12, 2630, 67, 2354, 16, 876, 16, 1026, 4672, 9163, 4625, 5974, 585, 628, 2561, 19, 1331, 369, 899, 26418, 876, 273, 1696, 12, 2844, 16, 296, 91, 6134, 468, 1...
new_value -= float(effect_amount)
if new_value is not None: new_value -= float(effect_amount) else: raise InvalidAlterationException()
def get_altered_variable_value(self,var_key,var_val): """ Get the value of the variable after it is altered by affectVariable """ if not self.affects_var(var_key): return None #if self.strategy.instance is None: #self.log.error("Not connected to a DispersalInstance.") #return None orig_value = var_val #self.strategy.in...
d6ce4dc2afb95167cebf8d2d7f810a25585cae89 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10332/d6ce4dc2afb95167cebf8d2d7f810a25585cae89/ManagementStrategy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 22628, 329, 67, 6105, 67, 1132, 12, 2890, 16, 1401, 67, 856, 16, 1401, 67, 1125, 4672, 3536, 968, 326, 460, 434, 326, 2190, 1839, 518, 353, 22349, 635, 13418, 3092, 3536, 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, 336, 67, 22628, 329, 67, 6105, 67, 1132, 12, 2890, 16, 1401, 67, 856, 16, 1401, 67, 1125, 4672, 3536, 968, 326, 460, 434, 326, 2190, 1839, 518, 353, 22349, 635, 13418, 3092, 3536, 309,...
needle_re = re.compile(arg, re.IGNORECASE) except re.error, e: return "<strong>%s: %s</strong>" % ( _("ERROR in regex '%s'") % (arg, ), e)
needle_re = re.compile(needle, re.IGNORECASE) except re.error, err: raise ValueError("Error in regex %r: %s" % (needle, err))
def macro_TemplateList(self, arg): _ = self._ try: needle_re = re.compile(arg, re.IGNORECASE) except re.error, e: return "<strong>%s: %s</strong>" % ( _("ERROR in regex '%s'") % (arg, ), e)
cbfdb4b4469c418dfd3fc11147ccba9558dd37e0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/cbfdb4b4469c418dfd3fc11147ccba9558dd37e0/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 67, 2283, 682, 12, 2890, 16, 1501, 4672, 389, 273, 365, 6315, 775, 30, 9936, 67, 266, 273, 283, 18, 11100, 12, 3175, 16, 283, 18, 20118, 13415, 13, 1335, 283, 18, 1636, 16, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11522, 67, 2283, 682, 12, 2890, 16, 1501, 4672, 389, 273, 365, 6315, 775, 30, 9936, 67, 266, 273, 283, 18, 11100, 12, 3175, 16, 283, 18, 20118, 13415, 13, 1335, 283, 18, 1636, 16, 42...
andi t3, t3, 16 or reg, reg, t3
andi t4, t3, 16, flags=(EZF,) or reg, reg, t4 mov t1, t1, t3, flags=(nCEZF,)
def macroop BSF_R_M { mov t1, t1, t0, dataSize=8 ld t1, seg, sib, disp # Determine if the input was zero, and also move it to a temp reg. and t1, t1, t1, flags=(ZF,) bri t0, label("end"), flags=(CZF,) # Zero out the result register mov reg, reg, t0 subi t2, t1, 1 xor t1, t2, t1 # Bit 6 srli t3, t1, 32, dataSize=8 ...
3e7c07fe3694f0322ad14a3f78d57cc10c7ca6f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7385/3e7c07fe3694f0322ad14a3f78d57cc10c7ca6f6/bit_scan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 22395, 67, 54, 67, 49, 288, 225, 5730, 268, 21, 16, 268, 21, 16, 268, 20, 16, 30216, 33, 28, 16916, 268, 21, 16, 2291, 16, 12092, 16, 16232, 225, 468, 10229, 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, 11522, 556, 605, 22395, 67, 54, 67, 49, 288, 225, 5730, 268, 21, 16, 268, 21, 16, 268, 20, 16, 30216, 33, 28, 16916, 268, 21, 16, 2291, 16, 12092, 16, 16232, 225, 468, 10229, 309, ...
parser.add_option("-f", "--filename", type="string", dest="filename", help="Name for storing the downloaded icon in case of PUT or name of icon in case of DELETE.")
parser.add_option("-f", "--filename", type="string", dest="filename", help="Name for icon to DELETE.")
def do_xcap_icon(operation, account_name, file): global xcap_client try: ConfigurationManager().start(FileBackend(os.path.expanduser('~/.sipclient/config'))) except ConfigurationError, e: raise RuntimeError("failed to load sipclient's configuration: %s\nIf an old configuration file is in place, delete it or move it an...
e3640a5a094288e5ac329183e35914d748015ebf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5703/e3640a5a094288e5ac329183e35914d748015ebf/xcap_icon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 92, 5909, 67, 3950, 12, 7624, 16, 2236, 67, 529, 16, 585, 4672, 2552, 619, 5909, 67, 2625, 225, 775, 30, 4659, 1318, 7675, 1937, 12, 812, 7172, 12, 538, 18, 803, 18, 12320, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 92, 5909, 67, 3950, 12, 7624, 16, 2236, 67, 529, 16, 585, 4672, 2552, 619, 5909, 67, 2625, 225, 775, 30, 4659, 1318, 7675, 1937, 12, 812, 7172, 12, 538, 18, 803, 18, 12320, ...
self.outputbuffer.set_text('')
self.outputbox.outputbuffer.set_text('')
def handle_debuggee_output(self, ignorelines=1): #print 'handle_output called' returnmode = 'normal' try: while True: line = self.debuggee.readline() if ignorelines > 0: #print "line ignored:", line ignorelines -= 1 continue #print(line) m = re.match('> ([<>/a-zA-Z0-9_\.]+)\(([0-9]+)\).*', line) if m: self.append_debug...
17466ef0e62a97384363a1ba189f4b8c03f93b77 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4616/17466ef0e62a97384363a1ba189f4b8c03f93b77/gepdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 4148, 908, 73, 67, 2844, 12, 2890, 16, 2305, 3548, 33, 21, 4672, 468, 1188, 296, 4110, 67, 2844, 2566, 11, 327, 3188, 273, 296, 6130, 11, 775, 30, 1323, 1053, 30, 980, 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, 1640, 67, 4148, 908, 73, 67, 2844, 12, 2890, 16, 2305, 3548, 33, 21, 4672, 468, 1188, 296, 4110, 67, 2844, 2566, 11, 327, 3188, 273, 296, 6130, 11, 775, 30, 1323, 1053, 30, 980, 273,...
PASSWD = getpass.getpass("IMAP password for %s on %s:" % (USER, host or "localhost"))
PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost"))
def print_log(): _mesg('last %d IMAP4 interactions:' % len(_cmd_log)) for secs,line in _cmd_log: _mesg(line, secs)
bd2f753da8c4902fda79f5a41d749758bc9be20a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/bd2f753da8c4902fda79f5a41d749758bc9be20a/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 1330, 13332, 389, 26244, 75, 2668, 2722, 738, 72, 6246, 2203, 24, 23877, 2497, 738, 562, 24899, 4172, 67, 1330, 3719, 364, 18043, 16, 1369, 316, 389, 4172, 67, 1330, 30, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 1330, 13332, 389, 26244, 75, 2668, 2722, 738, 72, 6246, 2203, 24, 23877, 2497, 738, 562, 24899, 4172, 67, 1330, 3719, 364, 18043, 16, 1369, 316, 389, 4172, 67, 1330, 30, 389, ...
for path in (src_dir, os.path.join(dst_dir, os.path.pardir)):
for path in (src_dir, os.path.abspath(os.path.join(dst_dir, os.path.pardir)) ):
def read_data(path): f = open(path) data = f.read() f.close() return data
547867e13a00d4373555e4c2ad4185195f4f4af9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/547867e13a00d4373555e4c2ad4185195f4f4af9/test_shutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 892, 12, 803, 4672, 284, 273, 1696, 12, 803, 13, 501, 273, 284, 18, 896, 1435, 284, 18, 4412, 1435, 327, 501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 892, 12, 803, 4672, 284, 273, 1696, 12, 803, 13, 501, 273, 284, 18, 896, 1435, 284, 18, 4412, 1435, 327, 501, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
'test_minimize_0005': (6.5104620456695557, 211.44434142112732),
'test_minimize_0005': (0.52356314659118652, 18.083697080612183),
def runInSandbox(self): global testTimes testTimes[self.methodname] = 0.0
e942c2abf0f816dd3a02e5a5c4c2ebbf99549d5c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/e942c2abf0f816dd3a02e5a5c4c2ebbf99549d5c/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 382, 17881, 12, 2890, 4672, 2552, 1842, 10694, 1842, 10694, 63, 2890, 18, 2039, 529, 65, 273, 374, 18, 20, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 382, 17881, 12, 2890, 4672, 2552, 1842, 10694, 1842, 10694, 63, 2890, 18, 2039, 529, 65, 273, 374, 18, 20, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
raise error, "unterminated index"
raise error, "unterminated group name"
def parse_template(source, pattern): # parse 're' replacement string into list of literals and # group references s = Tokenizer(source) p = [] a = p.append while 1: this = s.get() if this is None: break # end of replacement string if this and this[0] == "\\": if this == "\\g": name = "" if s.match("<"): while 1: char =...
1520775383fdbae9638123a94c78a6933ee36026 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1520775383fdbae9638123a94c78a6933ee36026/sre_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3202, 12, 3168, 16, 1936, 4672, 468, 1109, 296, 266, 11, 6060, 533, 1368, 666, 434, 18228, 471, 468, 1041, 5351, 272, 273, 26702, 12, 3168, 13, 293, 273, 5378, 279, 273, 293,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3202, 12, 3168, 16, 1936, 4672, 468, 1109, 296, 266, 11, 6060, 533, 1368, 666, 434, 18228, 471, 468, 1041, 5351, 272, 273, 26702, 12, 3168, 13, 293, 273, 5378, 279, 273, 293,...
ids = self.search(cr, user, args, limit=limit, context=context) res = self.name_get(cr, name_get_uid or user, ids, context)
access_rights_uid = name_get_uid or user ids = self._search(cr, user, args, limit=limit, context=context, access_rights_uid=access_rights_uid) res = self.name_get(cr, access_rights_uid, ids, context)
def _name_search(self, cr, user, name='', args=None, operator='ilike', context=None, limit=100, name_get_uid=None): if args is None: args = [] if context is None: context = {} args = args[:] if name: args += [(self._rec_name, operator, name)] ids = self.search(cr, user, args, limit=limit, context=context) res = self.na...
fb1b59cc7592103b77e5eba54e06b0470f245930 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/fb1b59cc7592103b77e5eba54e06b0470f245930/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 529, 67, 3072, 12, 2890, 16, 4422, 16, 729, 16, 508, 2218, 2187, 833, 33, 7036, 16, 3726, 2218, 330, 2547, 2187, 819, 33, 7036, 16, 1800, 33, 6625, 16, 508, 67, 588, 67, 1911, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 529, 67, 3072, 12, 2890, 16, 4422, 16, 729, 16, 508, 2218, 2187, 833, 33, 7036, 16, 3726, 2218, 330, 2547, 2187, 819, 33, 7036, 16, 1800, 33, 6625, 16, 508, 67, 588, 67, 1911, ...
'g0nntl', 'jcntl', 'rankntl', 'gsl', cblas(), 'ntl', 'csage']
'g0nntl', 'jcntl', 'rankntl', 'gsl', cblas(), atlas(), 'ntl', 'csage']
def cblas(): if os.environ.has_key('SAGE_CBLAS'): return os.environ['SAGE_CBLAS'] elif os.path.exists('/usr/lib/libcblas.dylib') or \ os.path.exists('/usr/lib/libcblas.so'): return 'cblas' elif os.path.exists('/usr/lib/libblas.dll.a'): # untested. return 'blas' else: # This is very slow (?), but *guaranteed* to be a...
a09a3c693c074d39212f2c90540b0d6402fd6af2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/a09a3c693c074d39212f2c90540b0d6402fd6af2/cython.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 9521, 13332, 309, 1140, 18, 28684, 18, 5332, 67, 856, 2668, 55, 2833, 67, 8876, 2534, 55, 11, 4672, 327, 1140, 18, 28684, 3292, 55, 2833, 67, 8876, 2534, 55, 3546, 1327, 1140, 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, 2875, 9521, 13332, 309, 1140, 18, 28684, 18, 5332, 67, 856, 2668, 55, 2833, 67, 8876, 2534, 55, 11, 4672, 327, 1140, 18, 28684, 3292, 55, 2833, 67, 8876, 2534, 55, 3546, 1327, 1140, 18...
this = apply(_quickfix.new_UnderlyingProduct, args)
this = _quickfix.new_UnderlyingProduct(*args)
def __init__(self, *args): this = apply(_quickfix.new_UnderlyingProduct, 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, 14655, 6291, 4133, 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, 14655, 6291, 4133, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
if (e.errno != errno.EPERM and e.errno != errno.EACCES) \
if (e.errno not in (errno.EPERM, errno.EACCES, errno.EBADF)) \
def fsync_local(self, thunk = None): """fsync current file, run locally
4a6db7803d31249b06f8f6fcee026849dcdbd328 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8033/4a6db7803d31249b06f8f6fcee026849dcdbd328/rpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2662, 1209, 67, 3729, 12, 2890, 16, 286, 1683, 273, 599, 4672, 3536, 2556, 1209, 783, 585, 16, 1086, 13760, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2662, 1209, 67, 3729, 12, 2890, 16, 286, 1683, 273, 599, 4672, 3536, 2556, 1209, 783, 585, 16, 1086, 13760, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
uid = self.task_ts.get_value(selection_iter, 0) else : selection = self.taskdone_tview.get_selection() model, selection_iter = selection.get_selected() if selection_iter : uid = self.taskdone_ts.get_value(selection_iter, 0)
ts = tview.get_model() uid = ts.get_value(selection_iter, 0)
def get_selected_task(self) : uid = None # Get the selection in the gtk.TreeView selection = self.task_tview.get_selection() # Get the selection iter model, selection_iter = selection.get_selected() if selection_iter : uid = self.task_ts.get_value(selection_iter, 0) #maybe the selection is in the taskdone_tview ? else ...
b8dfc67672b0b5173787ea6d49b4f30fc186fc4e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/b8dfc67672b0b5173787ea6d49b4f30fc186fc4e/taskbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8109, 67, 4146, 12, 2890, 13, 294, 4555, 273, 599, 468, 968, 326, 4421, 316, 326, 22718, 18, 2471, 1767, 4421, 273, 365, 18, 4146, 67, 88, 1945, 18, 588, 67, 10705, 1435, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8109, 67, 4146, 12, 2890, 13, 294, 4555, 273, 599, 468, 968, 326, 4421, 316, 326, 22718, 18, 2471, 1767, 4421, 273, 365, 18, 4146, 67, 88, 1945, 18, 588, 67, 10705, 1435, 46...
ZopeTestCase.installProduct('MailHost', quiet=1) ZopeTestCase.installProduct('PageTemplates', quiet=1) ZopeTestCase.installProduct('PythonScripts', quiet=1) ZopeTestCase.installProduct('ExternalMethod', quiet=1)
ZopeTestCase.installProduct('MailHost', 1) ZopeTestCase.installProduct('PageTemplates', 1) ZopeTestCase.installProduct('PythonScripts', 1) ZopeTestCase.installProduct('ExternalMethod', 1)
def dcEdit(obj): """dublin core edit (inplace) """ obj.setTitle('Test Title') obj.setDescription('Test description') # XXX more
ff9d89f26a432d62a1e362915ed8be38d46c9ac1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/ff9d89f26a432d62a1e362915ed8be38d46c9ac1/common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6744, 4666, 12, 2603, 4672, 3536, 72, 29056, 2922, 3874, 261, 267, 964, 13, 3536, 1081, 18, 542, 4247, 2668, 4709, 10984, 6134, 1081, 18, 542, 3291, 2668, 4709, 2477, 6134, 468, 11329, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6744, 4666, 12, 2603, 4672, 3536, 72, 29056, 2922, 3874, 261, 267, 964, 13, 3536, 1081, 18, 542, 4247, 2668, 4709, 10984, 6134, 1081, 18, 542, 3291, 2668, 4709, 2477, 6134, 468, 11329, 1...
self.__import_programs(ctime - 3600 * 4, ctime + 366 * 10)
self.__import_programs(ctime - 3600 * 4, ctime + 3600 * 10)
def __precache(self): ctime = int(time.time()) self.__import_programs(ctime - 3600 * 4, ctime + 366 * 10) return False
f29806184942ec04f800b8bce4da1a3a7ddafdcc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/f29806184942ec04f800b8bce4da1a3a7ddafdcc/channel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1484, 2493, 12, 2890, 4672, 276, 957, 273, 509, 12, 957, 18, 957, 10756, 365, 16186, 5666, 67, 12890, 87, 12, 21261, 300, 12396, 380, 1059, 16, 276, 957, 397, 12396, 380, 1728, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1484, 2493, 12, 2890, 4672, 276, 957, 273, 509, 12, 957, 18, 957, 10756, 365, 16186, 5666, 67, 12890, 87, 12, 21261, 300, 12396, 380, 1059, 16, 276, 957, 397, 12396, 380, 1728, 1...
del self.objs[id]
del self.objs[uid]
def unregister(self, ob): uid = self.ids[ob] del self.ids[ob] del self.objs[id]
2716fce1bd8292fb886298aa26f4afc7e5bcf38b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9701/2716fce1bd8292fb886298aa26f4afc7e5bcf38b/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10232, 12, 2890, 16, 3768, 4672, 4555, 273, 365, 18, 2232, 63, 947, 65, 1464, 365, 18, 2232, 63, 947, 65, 1464, 365, 18, 18093, 63, 350, 65, 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, 0, 0, 0, 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, 10232, 12, 2890, 16, 3768, 4672, 4555, 273, 365, 18, 2232, 63, 947, 65, 1464, 365, 18, 2232, 63, 947, 65, 1464, 365, 18, 18093, 63, 350, 65, 2, -100, -100, -100, -100, -100, -100, -1...
if sys.platform.lower().startswith("darwin") and os.getuid() != 0:
if sys.platform.lower().startswith("darwin") and os.geteuid() != 0:
def test_pid_0(self): # Process(0) is supposed to work on all platforms even if with # some differences p = psutil.Process(0) if sys.platform.lower().startswith("win32"): self.assertEqual(p.name, 'System Idle Process') elif sys.platform.lower().startswith("linux"): self.assertEqual(p.name, 'sched') elif sys.platform.lo...
79cb8af0971776e16e36c00eb1f530ccbe8577a0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7296/79cb8af0971776e16e36c00eb1f530ccbe8577a0/test_psutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 6610, 67, 20, 12, 2890, 4672, 468, 4389, 12, 20, 13, 353, 18405, 358, 1440, 603, 777, 17422, 5456, 309, 598, 468, 2690, 16440, 293, 273, 27024, 18, 2227, 12, 20, 13, 309, 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, 1842, 67, 6610, 67, 20, 12, 2890, 4672, 468, 4389, 12, 20, 13, 353, 18405, 358, 1440, 603, 777, 17422, 5456, 309, 598, 468, 2690, 16440, 293, 273, 27024, 18, 2227, 12, 20, 13, 309, 2...
return self.tk.call(self._w, 'info', 'hidden', entry)
return self.tk.call(self._w, 'info', 'hidden', entry)
def info_hidden(self, entry):
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1123, 67, 6345, 12, 2890, 16, 1241, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1123, 67, 6345, 12, 2890, 16, 1241, 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,...
raise
if (isinstance(msg, policy.PolicyError) and not cfg.debugRecipeExceptions): print msg sys.exit(1) else: raise
def _cookPackageObject(repos, cfg, recipeClass, sourceVersion, prep=True, macros={}, resume = None, ignoreDeps=False, logBuild=False): """Builds the package for cookPackageObject. Parameter meanings are described there. """ fullName = recipeClass.name lcache = lookaside.RepositoryCache(repos) srcdirs = [ os.path.dir...
ca8b9cad470ae084b9b0376c62007d926d7449a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/ca8b9cad470ae084b9b0376c62007d926d7449a9/cook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29854, 2261, 921, 12, 15564, 16, 2776, 16, 16100, 797, 16, 1084, 1444, 16, 13237, 33, 5510, 16, 24302, 28793, 10774, 273, 599, 16, 2305, 14430, 33, 8381, 16, 613, 3116, 33, 8381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29854, 2261, 921, 12, 15564, 16, 2776, 16, 16100, 797, 16, 1084, 1444, 16, 13237, 33, 5510, 16, 24302, 28793, 10774, 273, 599, 16, 2305, 14430, 33, 8381, 16, 613, 3116, 33, 8381, ...
self.popup.popup(None, None, None, evt.button, evt.time)
self.popup.popup_for_device(None, None, None, None, None, evt.button.button, evt.time)
def on_treeview_row_clicked(self, tv, evt): """ Called when the user clicked on a treeview element. """ try: if evt.button == 3: path = tv.get_path_at_pos(int(evt.x), int(evt.y)) sel = tv.get_selection() (rows, _) = sel.get_selected_rows() if path[0] not in rows[1]: sel.unselect_all() sel.select_path(path[0]) tv.grab_...
23dcebe216890665c4e48f0517fadbf00f85273d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11070/23dcebe216890665c4e48f0517fadbf00f85273d/jamendo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 3413, 1945, 67, 492, 67, 7475, 329, 12, 2890, 16, 13521, 16, 6324, 4672, 3536, 11782, 1347, 326, 729, 17688, 603, 279, 2151, 1945, 930, 18, 3536, 775, 30, 309, 6324, 18, 5391,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 3413, 1945, 67, 492, 67, 7475, 329, 12, 2890, 16, 13521, 16, 6324, 4672, 3536, 11782, 1347, 326, 729, 17688, 603, 279, 2151, 1945, 930, 18, 3536, 775, 30, 309, 6324, 18, 5391,...
self.shutdown()
self.expire_dcall = None self.forgetTimeouts()
def cb(msgs, ack_key): self.shutdown() del msgs[ack_key]
09029ec9c1189a2e15cc78a67656bc93d77f8785 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4752/09029ec9c1189a2e15cc78a67656bc93d77f8785/dtella_core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 12, 27439, 16, 8479, 67, 856, 4672, 365, 18, 14070, 67, 72, 1991, 273, 599, 365, 18, 1884, 588, 2694, 87, 1435, 1464, 8733, 63, 484, 67, 856, 65, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 12, 27439, 16, 8479, 67, 856, 4672, 365, 18, 14070, 67, 72, 1991, 273, 599, 365, 18, 1884, 588, 2694, 87, 1435, 1464, 8733, 63, 484, 67, 856, 65, 2, -100, -100, -100, -100, -10...
for topic_id in topic_list:
for topic_id in topic_ids:
def moderate(request, forum_id): forum = get_object_or_404(Forum, pk=forum_id) topics = forum.topics.order_by('-sticky', '-updated').select_related() if request.user.is_superuser or request.user in forum.moderators.all(): if 'move_topics' in request.POST: topic_ids = request.POST.getlist('topic_id') return { 'categorie...
7ee8d7eff12ad25a4d4e3c29889ee0c376a02d28 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13701/7ee8d7eff12ad25a4d4e3c29889ee0c376a02d28/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 12600, 12, 2293, 16, 11283, 67, 350, 4672, 11283, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 1290, 379, 16, 2365, 33, 11725, 67, 350, 13, 11204, 273, 11283, 18, 17905, 18, 1019, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 681, 12600, 12, 2293, 16, 11283, 67, 350, 4672, 11283, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 1290, 379, 16, 2365, 33, 11725, 67, 350, 13, 11204, 273, 11283, 18, 17905, 18, 1019, ...
('E-mail 24 Address', gdata.data.OTHER_REL, None, 7),
('E-mail 24 Address', gdata.data.OTHER_REL, None, 7), ('E-mail 25 Address', gdata.data.WORK_REL, None, 8), ('E-mail 26 Address', gdata.data.HOME_REL, None, 8), ('E-mail 27 Address', gdata.data.OTHER_REL, None, 8), ('E-mail 28 Address', gdata.data.WORK_REL, None, 9), ('E-mail 29 Address', gdata.data.HOME_REL, None, 9), ...
def __init__(self): """Builds a new Outlook to GData converter.""" self.display_name_fields = ( 'First Name', 'Middle Name', 'Last Name', 'Suffix')
aa13df5ffe55022c2378f7e4f20852a5cdf74f62 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11/aa13df5ffe55022c2378f7e4f20852a5cdf74f62/shared_contacts_profiles.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 7746, 279, 394, 2976, 7330, 358, 611, 751, 6027, 12123, 365, 18, 5417, 67, 529, 67, 2821, 273, 261, 296, 3759, 1770, 2187, 296, 21924, 1770, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 7746, 279, 394, 2976, 7330, 358, 611, 751, 6027, 12123, 365, 18, 5417, 67, 529, 67, 2821, 273, 261, 296, 3759, 1770, 2187, 296, 21924, 1770, 2187, ...
except:
except TypeError:
def span_of_basis(self, basis, base_ring=None, check=True, already_echelonized=False): r""" Return the free K-module with the given basis, where K is the base field of self or user specified base_ring.
0bd1519589af29f6c0ed25b8ffeab166b3c23c02 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0bd1519589af29f6c0ed25b8ffeab166b3c23c02/free_module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4548, 67, 792, 67, 23774, 12, 2890, 16, 10853, 16, 1026, 67, 8022, 33, 7036, 16, 866, 33, 5510, 16, 1818, 67, 8987, 292, 265, 1235, 33, 8381, 4672, 436, 8395, 2000, 326, 4843, 1475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4548, 67, 792, 67, 23774, 12, 2890, 16, 10853, 16, 1026, 67, 8022, 33, 7036, 16, 866, 33, 5510, 16, 1818, 67, 8987, 292, 265, 1235, 33, 8381, 4672, 436, 8395, 2000, 326, 4843, 1475, ...
if hasattr(self, 'id'): id = self.id else: id = "???" if hasattr(self, 'remoteaddress'): addr = '[%s]' % (self.remoteaddress,) else: addr = '' try: r = (self._receiverthread.isAlive() and "receive-live" or "not-receiving")
try: r = (self.hasreceiver() and 'receive-live' or 'not-receiving')
def __repr__(self): """ return string representing gateway type and status. """ if hasattr(self, 'id'): id = self.id else: id = "???" if hasattr(self, 'remoteaddress'): addr = '[%s]' % (self.remoteaddress,) else: addr = '' try: r = (self._receiverthread.isAlive() and "receive-live" or "not-receiving") i = len(self._cha...
647c4a943e7d6c2f4b39791d4787ed60759837ca /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7009/647c4a943e7d6c2f4b39791d4787ed60759837ca/gateway.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 3536, 327, 533, 5123, 6878, 618, 471, 1267, 18, 3536, 775, 30, 436, 273, 261, 2890, 18, 5332, 24454, 1435, 471, 296, 18149, 17, 16472, 11, 578, 296, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12715, 972, 12, 2890, 4672, 3536, 327, 533, 5123, 6878, 618, 471, 1267, 18, 3536, 775, 30, 436, 273, 261, 2890, 18, 5332, 24454, 1435, 471, 296, 18149, 17, 16472, 11, 578, 296, 9...
model = c.FONewCanonicalTwoStage(**foargs)
model = c.FOCanonicalTwoStage(**foargs)
def runfomodel(kinit, kend, deltak, filename=None, foargs=None): """Execute a FOCanonicalTwoStage model and save results. A new instance of FOCanonicalTwoStage is created, with the specified arguments. The model is run and the results are then saved into a file with the specified filename Parameters ---------- kinit ...
ebd9d85bac542b7c56f42d5d3948546025122b9f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7283/ebd9d85bac542b7c56f42d5d3948546025122b9f/harness.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 74, 362, 1009, 12, 79, 2738, 16, 417, 409, 16, 1464, 88, 581, 16, 1544, 33, 7036, 16, 18261, 1968, 33, 7036, 4672, 3536, 5289, 279, 17634, 15512, 11710, 8755, 938, 471, 1923, 168...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 74, 362, 1009, 12, 79, 2738, 16, 417, 409, 16, 1464, 88, 581, 16, 1544, 33, 7036, 16, 18261, 1968, 33, 7036, 4672, 3536, 5289, 279, 17634, 15512, 11710, 8755, 938, 471, 1923, 168...
def insertUnique(self, path, obj, **kw): def uniquePath(node, path): for item in path: node = node.subNodes[item] return path + [unicode(len(node.subNodes))] self.updatedDirCachePath(path) upath = uniquePath(self.dirCache, path) self.insert(upath, obj, **kw) return upath
def insertUnique(self, path, obj, treeNode = None, **kw): parentNode = self.updatedDirCachePath(path, treeNode = treeNode) uniqueName = unicode(len(parentNode.subNodes)) self.insert([uniqueName], obj, treeNode = parentNode, **kw) return path + [uniqueName]
def insertUnique(self, path, obj, **kw): def uniquePath(node, path): for item in path: node = node.subNodes[item] return path + [unicode(len(node.subNodes))] self.updatedDirCachePath(path) upath = uniquePath(self.dirCache, path) self.insert(upath, obj, **kw) return upath
055c7e9d46f869b104f4f3ac08a20c92d586f5d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9377/055c7e9d46f869b104f4f3ac08a20c92d586f5d4/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 6303, 12, 2890, 16, 589, 16, 1081, 16, 2826, 9987, 4672, 1652, 3089, 743, 12, 2159, 16, 589, 4672, 364, 761, 316, 589, 30, 756, 273, 756, 18, 1717, 3205, 63, 1726, 65, 327, 589...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 6303, 12, 2890, 16, 589, 16, 1081, 16, 2826, 9987, 4672, 1652, 3089, 743, 12, 2159, 16, 589, 4672, 364, 761, 316, 589, 30, 756, 273, 756, 18, 1717, 3205, 63, 1726, 65, 327, 589...
from libtbx.easy_run import subprocess
if (sys.version_info[:2] < (2,6)): from libtbx.easy_run import subprocess else: import subprocess
def run_in_dir(cmd_info): d = op.dirname(cmd_info.log) os.mkdir(d) os.chdir(d) from libtbx.command_line import printenv printenv.show(out=open("os_environ_at_start", "w")) from libtbx.easy_run import subprocess log = open("log", "w") t0 = time.time() try: subprocess.Popen( args=cmd_info.cmd, shell=True, bufsize=-1, std...
0e0d433b852e88909eb5f8c0a5d1df6c69a75228 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/0e0d433b852e88909eb5f8c0a5d1df6c69a75228/parallel_simple.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 267, 67, 1214, 12, 4172, 67, 1376, 4672, 302, 273, 1061, 18, 12287, 12, 4172, 67, 1376, 18, 1330, 13, 1140, 18, 26686, 12, 72, 13, 1140, 18, 343, 1214, 12, 72, 13, 628, 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, 1086, 67, 267, 67, 1214, 12, 4172, 67, 1376, 4672, 302, 273, 1061, 18, 12287, 12, 4172, 67, 1376, 18, 1330, 13, 1140, 18, 26686, 12, 72, 13, 1140, 18, 343, 1214, 12, 72, 13, 628, 2...
% destination) if os.path.exists(destination): base = os.path.basename(os.path.normpath(source)) destination = os.path.join(destination, base)
% dest) if os.path.exists(dest): base = os.path.basename(source) dest = os.path.join(dest, base)
def _copy_dir(self, source, destination): if not os.path.exists(source): raise DataError("Source directory '%s' does not exist" % source) if not os.path.isdir(source): raise DataError("Source directory '%s' is not a directory" % source) if os.path.exists(destination) and not os.path.isdir(destination): raise DataError(...
8394d54a14ff248630063a73df253438178dff53 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/8394d54a14ff248630063a73df253438178dff53/OperatingSystem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3530, 67, 1214, 12, 2890, 16, 1084, 16, 2929, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 3168, 4672, 1002, 1910, 668, 2932, 1830, 1867, 1995, 87, 11, 1552, 486, 1005, 6, 738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3530, 67, 1214, 12, 2890, 16, 1084, 16, 2929, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 3168, 4672, 1002, 1910, 668, 2932, 1830, 1867, 1995, 87, 11, 1552, 486, 1005, 6, 738, ...
self.fig.subplots_adjust(bottom=0.20, hspace=0.01, right=0.999, top=0.95, left=0.18)
self.fig.subplots_adjust(bottom=0.10, hspace=0.01, right=0.999, top=0.95, left=0.08)
def drawAxes(self): #XXX wanted to change to seconds on x-axis but there is one problem: # during picking it's convenient to round to the nearest sample # with float seconds on the x-axis it's not so easy anymore npts = self.streams[self.stPt][0].stats.npts smprt = self.streams[self.stPt][0].stats.sampling_rate dt = 1....
b822b77814749ba0fa0b0a638d2c2e8ccf514f6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/b822b77814749ba0fa0b0a638d2c2e8ccf514f6c/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 26494, 12, 2890, 4672, 468, 15639, 15504, 358, 2549, 358, 3974, 603, 619, 17, 4890, 1496, 1915, 353, 1245, 6199, 30, 468, 4982, 6002, 310, 518, 1807, 26375, 358, 3643, 358, 326, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 26494, 12, 2890, 4672, 468, 15639, 15504, 358, 2549, 358, 3974, 603, 619, 17, 4890, 1496, 1915, 353, 1245, 6199, 30, 468, 4982, 6002, 310, 518, 1807, 26375, 358, 3643, 358, 326, 11...
tableConstraints = soClass.createTable()
tableConstraints = soClass.createTable(applyConstraints=False)
def command(self): v = self.options.verbose created = 0 existing = 0 dbs_created = [] constraints = {} for soClass in self.classes(require_some=True): if (self.options.create_db and soClass._connection not in dbs_created): if not self.options.simulate: try: soClass._connection.createEmptyDatabase() except soClass._conn...
d8039ade77c5266fda2e6d6c28067691a0b9b22a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6718/d8039ade77c5266fda2e6d6c28067691a0b9b22a/command.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1296, 12, 2890, 4672, 331, 273, 365, 18, 2116, 18, 11369, 2522, 273, 374, 2062, 273, 374, 18441, 67, 4824, 273, 5378, 6237, 273, 2618, 364, 1427, 797, 316, 365, 18, 4701, 12, 6528, 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, 1296, 12, 2890, 4672, 331, 273, 365, 18, 2116, 18, 11369, 2522, 273, 374, 2062, 273, 374, 18441, 67, 4824, 273, 5378, 6237, 273, 2618, 364, 1427, 797, 316, 365, 18, 4701, 12, 6528, 67,...
return None
return self.VERSION_NONE
def _get_base_version_of(self, current_version): versions = os.listdir(os.path.join(self.backup_path, str(self.backup_id))) versions.sort() i = versions.index(str(current_version)) - 1 if i == -1: return None else: return int(versions[i])
8f7cb719920977d35053eb02c99c72b5d9a5848a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/736/8f7cb719920977d35053eb02c99c72b5d9a5848a/plainfsbackup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1969, 67, 1589, 67, 792, 12, 2890, 16, 783, 67, 1589, 4672, 5244, 273, 1140, 18, 1098, 1214, 12, 538, 18, 803, 18, 5701, 12, 2890, 18, 9572, 67, 803, 16, 609, 12, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1969, 67, 1589, 67, 792, 12, 2890, 16, 783, 67, 1589, 4672, 5244, 273, 1140, 18, 1098, 1214, 12, 538, 18, 803, 18, 5701, 12, 2890, 18, 9572, 67, 803, 16, 609, 12, 289...
value = unicode(parsed_query[key3][0], "utf-8")
value = parsed_query[key3][0].decode("utf-8", 'replace')
def get_subscriptions_from_query(subscription_type, query): subscriptions = [] # the query string shouldn't be a unicode. if we pass it in as a # unicode then parse_qs returns unicode values which aren't # properly converted and then we end up with boxes instead of ' # and " characters. query = str(query) parsed_query...
4c00aecba4d687f874644101679e133e8e88dff5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/4c00aecba4d687f874644101679e133e8e88dff5/subscription.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 19964, 67, 2080, 67, 2271, 12, 11185, 67, 723, 16, 843, 4672, 11912, 273, 5378, 468, 326, 843, 533, 12044, 1404, 506, 279, 5252, 18, 225, 309, 732, 1342, 518, 316, 487, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19964, 67, 2080, 67, 2271, 12, 11185, 67, 723, 16, 843, 4672, 11912, 273, 5378, 468, 326, 843, 533, 12044, 1404, 506, 279, 5252, 18, 225, 309, 732, 1342, 518, 316, 487, 279, ...
data = wc.filter.applyfilter("", "finish", attrs)
data = wc.filter.applyfilter(data, "finish", attrs)
def process_content (self): """read and filter client request content""" data = self.read(self.bytes_remaining) if self.bytes_remaining is not None: # Just pass everything through to the server # NOTE: It's possible to have 'chunked' encoding here, # and then the current system of counting bytes remaining # won't work;...
0b5979499cb4681b782053f64a61e20d99ddb896 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/0b5979499cb4681b782053f64a61e20d99ddb896/HttpClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 1745, 261, 2890, 4672, 3536, 896, 471, 1034, 1004, 590, 913, 8395, 501, 273, 365, 18, 896, 12, 2890, 18, 3890, 67, 17956, 13, 309, 365, 18, 3890, 67, 17956, 353, 486, 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, 1207, 67, 1745, 261, 2890, 4672, 3536, 896, 471, 1034, 1004, 590, 913, 8395, 501, 273, 365, 18, 896, 12, 2890, 18, 3890, 67, 17956, 13, 309, 365, 18, 3890, 67, 17956, 353, 486, 599, ...
self._selectedPoints[idx]['world'] = pos
self._selectedPoints[idx]['world'] = tuple(pos)
def _pointWidgetInteractionCallback(self, pw, evt_name): # we have to find pw in our list pwidgets = map(lambda i: i['point_widget'], self._selectedPoints) if pw in pwidgets: idx = pwidgets.index(pw) # toggle the selection for this point in our list self._viewFrame.spointsGrid.SelectRow(idx)
84c1eb2dd880117cbde103e9d144e516ad511eb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/84c1eb2dd880117cbde103e9d144e516ad511eb7/slice3d_vwr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1153, 4609, 17419, 2428, 12, 2890, 16, 8772, 16, 6324, 67, 529, 4672, 468, 732, 1240, 358, 1104, 8772, 316, 3134, 666, 293, 18148, 273, 852, 12, 14661, 277, 30, 277, 3292, 1153, 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, 389, 1153, 4609, 17419, 2428, 12, 2890, 16, 8772, 16, 6324, 67, 529, 4672, 468, 732, 1240, 358, 1104, 8772, 316, 3134, 666, 293, 18148, 273, 852, 12, 14661, 277, 30, 277, 3292, 1153, 6...
print path.replace('/', '_')+': fail\n"
print path.replace('/', '_')+': fail\n'
def buildExample(path) : global failedExample,successedExample,success,compiler,logDir; os.chdir(path) err=0 if compiler == 'gnu' : err=os.system("make COMPILER=gnu > " + logDir + "/" + path.replace('/', '_')+ " 2>&1") elif compiler == 'intel' : err=os.system("make > " + logDir + "/" + path.replace('/', '_') + " 2>&1")...
2e9dac8c30fe6be6c98d5b5c8baef0f2287c691f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1766/2e9dac8c30fe6be6c98d5b5c8baef0f2287c691f/examplesBuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 10908, 12, 803, 13, 294, 2552, 2535, 10908, 16, 87, 5286, 3692, 10908, 16, 4768, 16, 9576, 16, 1330, 1621, 31, 1140, 18, 343, 1214, 12, 803, 13, 393, 33, 20, 309, 5274, 422, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1361, 10908, 12, 803, 13, 294, 2552, 2535, 10908, 16, 87, 5286, 3692, 10908, 16, 4768, 16, 9576, 16, 1330, 1621, 31, 1140, 18, 343, 1214, 12, 803, 13, 393, 33, 20, 309, 5274, 422, 29...
print conn.register_image('%s/%s.manifest.xml' % (self.vm.ec2_bucket, self.vm.hostname))
print conn.register_image('%s/%s.manifest.xml' % (self.vm.ec2_bucket, self.vm.ec2_name))
def deploy(self): if not self.vm.ec2: return False bundle_cmdline = ['ec2-bundle-image', '--image', self.vm.filesystems[0].filename, '--cert', self.vm.ec2_cert, '--privatekey', self.vm.ec2_key, '--user', self.vm.ec2_user, '--prefix', self.vm.ec2_name, '-r', ['i386', 'x86_64'][self.vm.arch == 'amd64'], '-d', self.vm.wor...
b2c094d2c7156b079d302eb78ec1a5caf841bece /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1496/b2c094d2c7156b079d302eb78ec1a5caf841bece/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7286, 12, 2890, 4672, 309, 486, 365, 18, 3489, 18, 557, 22, 30, 327, 1083, 3440, 67, 4172, 1369, 273, 10228, 557, 22, 17, 9991, 17, 2730, 2187, 3534, 2730, 2187, 365, 18, 3489, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7286, 12, 2890, 4672, 309, 486, 365, 18, 3489, 18, 557, 22, 30, 327, 1083, 3440, 67, 4172, 1369, 273, 10228, 557, 22, 17, 9991, 17, 2730, 2187, 3534, 2730, 2187, 365, 18, 3489, 18, 1...
w.write(latex)
w.latex.encode('utf-8'))
def _renderMathBlahtex(latex, output_path, output_mode): if output_mode == 'mathml': cmd = 'blahtexml --texvc-compatible-commands --mathml' elif output_mode == 'png': cmd = 'blahtexml --texvc-compatible-commands --png' else: return None curdir = os.path.abspath(os.curdir) os.chdir(output_path) latex = latex.strip() r,...
39e000d07f31dfc4f832dbc4c3d9c7754e467dce /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12391/39e000d07f31dfc4f832dbc4c3d9c7754e467dce/math_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 10477, 4802, 30024, 338, 12, 26264, 16, 876, 67, 803, 16, 876, 67, 3188, 4672, 225, 309, 876, 67, 3188, 422, 296, 15949, 781, 4278, 1797, 273, 296, 3083, 30024, 338, 781, 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, 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, 5902, 10477, 4802, 30024, 338, 12, 26264, 16, 876, 67, 803, 16, 876, 67, 3188, 4672, 225, 309, 876, 67, 3188, 422, 296, 15949, 781, 4278, 1797, 273, 296, 3083, 30024, 338, 781, 14...
if arg == "--qt-version": options.qtVersion = sys.argv[i+1] elif arg == "--package-root":
if arg == "--package-root":
def main(): for i in range(0, len(sys.argv)): arg = sys.argv[i]; if arg == "--qt-version": options.qtVersion = sys.argv[i+1] elif arg == "--package-root": options.packageRoot = sys.argv[i+1] elif arg == "--qt-branch": options.qtBranch = sys.argv[i+1] elif arg == "--qt-label": options.qtLabel = sys.argv[i+1] elif arg ==...
a550ac6ca30b5fbb8b9331a23df3c1b53749aeda /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4229/a550ac6ca30b5fbb8b9331a23df3c1b53749aeda/package_qt_builder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 9499, 18, 19485, 3719, 30, 1501, 273, 2589, 18, 19485, 63, 77, 15533, 309, 1501, 422, 5238, 5610, 17, 3085, 6877, 702, 18, 5610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 9499, 18, 19485, 3719, 30, 1501, 273, 2589, 18, 19485, 63, 77, 15533, 309, 1501, 422, 5238, 5610, 17, 3085, 6877, 702, 18, 5610, ...
lea t3, flatseg, [dsz, t3, base], dataSize=asz limm t4, "(uint64_t(-(2ULL)))" rol t4, t4, reg ldstl t1, seg, [1, t3, t7], disp sext t0, t1, reg, flags=(CF,) and t1, t1, t4 stul t1, seg, [1, t3, t7], disp
limm t4, "(uint64_t(-(2ULL)))" rol t4, t4, reg ldstl t1, seg, [dsz, t3, t7], disp sext t0, t1, reg, flags=(CF,) and t1, t1, t4 stul t1, seg, [dsz, t3, t7], disp
def macroop BTR_LOCKED_P_R { rdip t7, dataSize=asz srai t2, reg, 3, dataSize=asz srai t3, t2, ldsz, dataSize=asz lea t3, flatseg, [dsz, t3, base], dataSize=asz limm t4, "(uint64_t(-(2ULL)))" rol t4, t4, reg ldstl t1, seg, [1, t3, t7], disp sext t0, t1, reg, flags=(CF,) and t1, t1, t4 stul t1, seg, [1, t3, t7], disp
eab966aeb3b47304fc9c4d7015b223e4c88e4675 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7385/eab966aeb3b47304fc9c4d7015b223e4c88e4675/bit_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 4349, 67, 6589, 2056, 67, 52, 67, 54, 288, 9437, 625, 268, 27, 16, 30216, 33, 345, 94, 272, 354, 77, 268, 22, 16, 960, 16, 890, 16, 30216, 33, 345, 94, 272, 354, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11522, 556, 605, 4349, 67, 6589, 2056, 67, 52, 67, 54, 288, 9437, 625, 268, 27, 16, 30216, 33, 345, 94, 272, 354, 77, 268, 22, 16, 960, 16, 890, 16, 30216, 33, 345, 94, 272, 354, ...
token = self.site.getToken(self, sysop = True)
def _getBlockID(self): wikipedia.output(u"Getting block id for [[User:%s]]..." % self.name)
1dca0fe426cbe0076a52cf652bf8c838530d2355 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/1dca0fe426cbe0076a52cf652bf8c838530d2355/userlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 1768, 734, 12, 2890, 4672, 21137, 18, 2844, 12, 89, 6, 19213, 1203, 612, 364, 12167, 1299, 5319, 87, 13563, 7070, 738, 365, 18, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 1768, 734, 12, 2890, 4672, 21137, 18, 2844, 12, 89, 6, 19213, 1203, 612, 364, 12167, 1299, 5319, 87, 13563, 7070, 738, 365, 18, 529, 13, 2, -100, -100, -100, -100, -100, -100...
inc_dir = base
inc_dir = buildir
def get_python_inc(plat_specific=0, prefix=None): """Return the directory containing installed Python header files. If 'plat_specific' is false (the default), this is the path to the non-platform-specific header files, i.e. Python.h and so on; otherwise, this is the path to platform-specific header files (namely pycon...
a5cd18275e333cde162281e7919adfa415b42b07 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/a5cd18275e333cde162281e7919adfa415b42b07/sysconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8103, 67, 9523, 12, 412, 270, 67, 12524, 33, 20, 16, 1633, 33, 7036, 4672, 3536, 990, 326, 1867, 4191, 5876, 6600, 1446, 1390, 18, 225, 971, 296, 412, 270, 67, 12524, 11, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8103, 67, 9523, 12, 412, 270, 67, 12524, 33, 20, 16, 1633, 33, 7036, 4672, 3536, 990, 326, 1867, 4191, 5876, 6600, 1446, 1390, 18, 225, 971, 296, 412, 270, 67, 12524, 11, 35...
tocreate[inherits][i] = values[i]
if inherits in tocreate: tocreate[inherits][i] = values[i]
def create(self, cursor, user, values, context=None): super(ModelSQL, self).create(cursor, user, values, context=context)
748ce6ee39fc7cca836fa17360abbd41762e2372 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/748ce6ee39fc7cca836fa17360abbd41762e2372/modelsql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 3347, 16, 729, 16, 924, 16, 819, 33, 7036, 4672, 2240, 12, 1488, 3997, 16, 365, 2934, 2640, 12, 9216, 16, 729, 16, 924, 16, 819, 33, 2472, 13, 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, 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, 752, 12, 2890, 16, 3347, 16, 729, 16, 924, 16, 819, 33, 7036, 4672, 2240, 12, 1488, 3997, 16, 365, 2934, 2640, 12, 9216, 16, 729, 16, 924, 16, 819, 33, 2472, 13, 2, -100, -100, -10...
return True
return submit_option
def __set_submit_option__(self):
b539a73c73d4945301e6c2635eafd6fab1a0dda4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/b539a73c73d4945301e6c2635eafd6fab1a0dda4/Grid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 67, 9297, 67, 3482, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 67, 9297, 67, 3482, 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, ...
rdf_url = '%s%s' % (config['rdf_packages'], pkg.name)
rdf_url = '%s%s' % (config['rdf_packages'], c.pkg.name)
def read(self, id): c.pkg = model.Package.get(id) if c.pkg is None: abort(404, gettext('Package not found')) cache_key = self._pkg_cache_key(c.pkg) etag_cache(cache_key) # used by disqus plugin c.current_package_id = c.pkg.id if config.get('rdf_packages'): accept_headers = request.headers.get('Accept', '') if 'appli...
0794f331e75eca607a51b04d695c5f75abc933f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/265/0794f331e75eca607a51b04d695c5f75abc933f6/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 612, 4672, 276, 18, 10657, 273, 938, 18, 2261, 18, 588, 12, 350, 13, 309, 276, 18, 10657, 353, 599, 30, 6263, 12, 11746, 16, 24972, 2668, 2261, 486, 1392, 26112, 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, 855, 12, 2890, 16, 612, 4672, 276, 18, 10657, 273, 938, 18, 2261, 18, 588, 12, 350, 13, 309, 276, 18, 10657, 353, 599, 30, 6263, 12, 11746, 16, 24972, 2668, 2261, 486, 1392, 26112, 2...
'name':'Scheduler for %s'%vals['name'],
'name': cron_name,
def create(self,cr,uid,vals,context={}): cron_vals = { 'name':'Scheduler for %s'%vals['name'], 'interval_number':1, 'interval_type':'days', 'numbercall':-1, 'doall':False, 'model':'dm.offer.step.action', 'function':'_wi_check', 'nextcall' : time.strftime('%Y-%m-%d 20:00:00'), 'args': '(%s,)'%vals['code'] } self.pool.ge...
3fac47e4d8be5e96a1bc088f1e0dcbd0a5d15abb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/3fac47e4d8be5e96a1bc088f1e0dcbd0a5d15abb/offer_step.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 3353, 16, 1911, 16, 4524, 16, 2472, 12938, 4672, 9998, 67, 4524, 273, 288, 296, 529, 4278, 9998, 67, 529, 16, 296, 6624, 67, 2696, 4278, 21, 16, 296, 6624, 67, 723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 3353, 16, 1911, 16, 4524, 16, 2472, 12938, 4672, 9998, 67, 4524, 273, 288, 296, 529, 4278, 9998, 67, 529, 16, 296, 6624, 67, 2696, 4278, 21, 16, 296, 6624, 67, 723...
if s2[-2:] == "\r\n": s2 = s2[:-2] + "\n" sys.stdout.write(s2)
sys.stdout.write(s2.replace("\r\n", "\n"))
def debug(msg): pass
b1ac655d8685beaff7f9418beb37bf895c8f0065 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b1ac655d8685beaff7f9418beb37bf895c8f0065/test_pty.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 12, 3576, 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, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 12, 3576, 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, -100, -100, -100, -...
pythonhist = os.path.expanduser('~/.pythonhist')
pythonhist = os.path.expanduser(OPTS.hist_file)
def __init__(self, scr, interp, statusbar=None, idle=None): """Initialise the repl with, unfortunately, a curses screen passed to it. This needs to be split up so the curses crap isn't in here.
1a83de9e7aa4c63b50cf1b2f1ccd78816e12f02e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6932/1a83de9e7aa4c63b50cf1b2f1ccd78816e12f02e/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 11991, 16, 8174, 16, 1267, 3215, 33, 7036, 16, 12088, 33, 7036, 4672, 3536, 4435, 784, 326, 6831, 598, 16, 640, 24233, 16, 279, 30436, 5518, 2275, 358, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 11991, 16, 8174, 16, 1267, 3215, 33, 7036, 16, 12088, 33, 7036, 4672, 3536, 4435, 784, 326, 6831, 598, 16, 640, 24233, 16, 279, 30436, 5518, 2275, 358, 5...
def __init__(self, coord, xP, yP, xBin, yBin): self.xP = point['xP'] self.yP = point['yP']
def __init__(self, coord, xBin, yBin): self.xP = coord['xP'] self.yP = coord['yP']
def __init__(self, coord, xP, yP, xBin, yBin): self.xP = point['xP'] # X in pixel space self.yP = point['yP'] # Y in pixel space self.numObs = 0 # Number of observations self.xBin = xBin # The bin's location self.yBin = yBin # ^^ self.obs = [] # Array of observations self.stats = {} ...
f163ed20cb01d5aaad89810e0f950f775f7fbe4b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6163/f163ed20cb01d5aaad89810e0f950f775f7fbe4b/ConfDistFuncs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2745, 16, 619, 52, 16, 677, 52, 16, 619, 9913, 16, 677, 9913, 4672, 365, 18, 92, 52, 273, 1634, 3292, 92, 52, 3546, 282, 468, 1139, 316, 4957, 3476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2745, 16, 619, 52, 16, 677, 52, 16, 619, 9913, 16, 677, 9913, 4672, 365, 18, 92, 52, 273, 1634, 3292, 92, 52, 3546, 282, 468, 1139, 316, 4957, 3476, ...
"""Monkey-patched by CMFPlacefulWorkflow to look for placeful workflow configurations. Goal: find a workflow chain in a policy Steps: 1. ask the object if it contains a policy 2. if it does, ask him for a chain 3. if there's no chain for the type the we loop on the parent 4. if the parent is the portal object or None...
""" monkey-patched by CMFPlacefulWorkflow to look for placeful workflow configurations. """
def getChainFor(self, ob): """Monkey-patched by CMFPlacefulWorkflow to look for placeful workflow configurations. Goal: find a workflow chain in a policy Steps: 1. ask the object if it contains a policy 2. if it does, ask him for a chain 3. if there's no chain for the type the we loop on the parent 4. if the parent i...
2b483ef04777424d8050dd2846f158bac24fd51c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11955/2b483ef04777424d8050dd2846f158bac24fd51c/workflowtoolPatch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30170, 1290, 12, 2890, 16, 3768, 4672, 3536, 6921, 856, 17, 2272, 329, 635, 385, 13542, 6029, 2706, 8484, 358, 2324, 364, 3166, 2706, 6095, 10459, 18, 3536, 2875, 88, 273, 365, 6315, 230...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30170, 1290, 12, 2890, 16, 3768, 4672, 3536, 6921, 856, 17, 2272, 329, 635, 385, 13542, 6029, 2706, 8484, 358, 2324, 364, 3166, 2706, 6095, 10459, 18, 3536, 2875, 88, 273, 365, 6315, 230...
abs_path = os.path.abspath(rel_path)
root_path = os.path.abspath(rel_path)
def main(argv): root_path = '' if len(argv) > 0: opts, args = getopt.getopt(argv, 'h', ['help']) for opt, arg in opts: if opt in ('-h', '--help'): usage() sys.exit() if len(args) == 1: rel_path = args[0] abs_path = os.path.abspath(rel_path) if not os.path.exists(abs_path): print 'ERROR: Cannot find path: ' + abs_pat...
382ea9091c97a242f3bdead0fd6d2c89e766d104 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5344/382ea9091c97a242f3bdead0fd6d2c89e766d104/UpgradeProjects.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 1365, 67, 803, 273, 875, 309, 562, 12, 19485, 13, 405, 374, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 19485, 16, 296, 76, 2187, 10228, 5201, 19486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 1365, 67, 803, 273, 875, 309, 562, 12, 19485, 13, 405, 374, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 19485, 16, 296, 76, 2187, 10228, 5201, 19486, ...
self.assert_(proxy.readline() == 'o' + os.linesep)
self.assertEqual(proxy.readline(), 'o' + os.linesep)
def _test_readline(self, proxy): # Read by line proxy.seek(0) self.assert_(proxy.readline() == 'foo' + os.linesep) self.assert_(proxy.readline() == 'bar' + os.linesep) self.assert_(proxy.readline() == 'fred' + os.linesep) self.assertEqual(proxy.readline(), 'bob') proxy.seek(2) self.assert_(proxy.readline() == 'o' + os....
7731c36bc6f787ca91b8429603fe004822f1f2d8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/7731c36bc6f787ca91b8429603fe004822f1f2d8/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 896, 1369, 12, 2890, 16, 2889, 4672, 468, 2720, 635, 980, 2889, 18, 16508, 12, 20, 13, 365, 18, 11231, 67, 12, 5656, 18, 896, 1369, 1435, 422, 296, 11351, 11, 397, 114...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3813, 67, 896, 1369, 12, 2890, 16, 2889, 4672, 468, 2720, 635, 980, 2889, 18, 16508, 12, 20, 13, 365, 18, 11231, 67, 12, 5656, 18, 896, 1369, 1435, 422, 296, 11351, 11, 397, 114...
pathto('_static/pygmentcs.css', 1)
pathto('_static/pygment.css', 1)
def pathto(otheruri, resource=False, baseuri=self.get_target_uri(pagename)): if not resource: otheruri = self.get_target_uri(otheruri) return relative_uri(baseuri, otheruri) or '#' else: return '/' + posixpath.join(self.app.staticdir, otheruri)
82353ffc46a8527cfa40332314f60ccff21991fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5532/82353ffc46a8527cfa40332314f60ccff21991fb/websupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 589, 869, 12, 3011, 1650, 16, 1058, 33, 8381, 16, 1026, 1650, 33, 2890, 18, 588, 67, 3299, 67, 1650, 12, 9095, 1069, 3719, 30, 309, 486, 1058, 30, 1308, 1650, 273, 365, 18, 588, 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, 589, 869, 12, 3011, 1650, 16, 1058, 33, 8381, 16, 1026, 1650, 33, 2890, 18, 588, 67, 3299, 67, 1650, 12, 9095, 1069, 3719, 30, 309, 486, 1058, 30, 1308, 1650, 273, 365, 18, 588, 67, ...
self.scale_min_entry.set_text( str(min_scale) ) self.scale_max_entry.set_text( str(max_scale) ) self.layer.set_property \ ('_scale_limits', str(min_scale) + ' ' + str(max_scale) ) for iSource in [0,1,2] : self.layer.min_set(iSource, min_scale) self.layer.max_set(iSource, max_scale)
self.scale_min_entry.set_text(str(min_scale)) self.scale_max_entry.set_text(str(max_scale)) self.layer.set_property('_scale_limits', '%f %f' % (min_scale, max_scale)) for source in self.sources[:-1]: source.set_scaling(min_scale, max_scale)
def scalelock_cb( self, *args ) : if( self.scalelock_is_set() ) : self.layer.set_property('_scale_lock', 'unlocked') else : self.layer.set_property('_scale_lock', 'locked' )
30093beb2981ba47380749a3f1c597965f66f39e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11090/30093beb2981ba47380749a3f1c597965f66f39e/gvrasterpropdlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8292, 292, 975, 67, 7358, 12, 365, 16, 380, 1968, 262, 294, 309, 12, 365, 18, 87, 771, 292, 975, 67, 291, 67, 542, 1435, 262, 294, 365, 18, 6363, 18, 542, 67, 4468, 2668, 67, 5864,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8292, 292, 975, 67, 7358, 12, 365, 16, 380, 1968, 262, 294, 309, 12, 365, 18, 87, 771, 292, 975, 67, 291, 67, 542, 1435, 262, 294, 365, 18, 6363, 18, 542, 67, 4468, 2668, 67, 5864,...
assert sys.getrefcount(res) == 2 assert res == "hello"
assert_equal(sys.getrefcount(res),2) assert_equal(res,"hello")
def check_string(self,level=5): code = """ py::object val = "hello"; return_val = val; """ res = inline_tools.inline(code) assert sys.getrefcount(res) == 2 assert res == "hello"
267b08d9c3e7613c126729a179f4503c91625e9c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7416/267b08d9c3e7613c126729a179f4503c91625e9c/test_scxx_object.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 1080, 12, 2890, 16, 2815, 33, 25, 4672, 981, 273, 3536, 2395, 2866, 1612, 1244, 273, 315, 23711, 14432, 327, 67, 1125, 273, 1244, 31, 3536, 400, 273, 6370, 67, 6642, 18, 10047...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 1080, 12, 2890, 16, 2815, 33, 25, 4672, 981, 273, 3536, 2395, 2866, 1612, 1244, 273, 315, 23711, 14432, 327, 67, 1125, 273, 1244, 31, 3536, 400, 273, 6370, 67, 6642, 18, 10047...
choices = [(_("Yes"), self.ackedDestination), (_("List of Storage Devices"),self.askDestination), (_("Cancel"),self.keyRed)]
choices = [(_("Yes"), self.ackedDestination), (_("List of Storage Devices"),self.openDeviceBrowser), (_("Cancel"),self.keyRed)]
def ackDestinationDevice(self, device_description=None): if device_description == None: dev = self.target_dir else: dev = device_description message = _("Do you want to download the image to %s ?") % (dev) choices = [(_("Yes"), self.ackedDestination), (_("List of Storage Devices"),self.askDestination), (_("Cancel"),sel...
fb75a5db67a5f82d9c4976cd2d056f47376affd3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6652/fb75a5db67a5f82d9c4976cd2d056f47376affd3/downloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8479, 5683, 3654, 12, 2890, 16, 2346, 67, 3384, 33, 7036, 4672, 309, 2346, 67, 3384, 422, 599, 30, 4461, 273, 365, 18, 3299, 67, 1214, 469, 30, 4461, 273, 2346, 67, 3384, 883, 273, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8479, 5683, 3654, 12, 2890, 16, 2346, 67, 3384, 33, 7036, 4672, 309, 2346, 67, 3384, 422, 599, 30, 4461, 273, 365, 18, 3299, 67, 1214, 469, 30, 4461, 273, 2346, 67, 3384, 883, 273, 3...
( ( gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL ), ( gtk.STOCK_OK, gtk.RESPONSE_CANCEL ) )
( ( gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL ), ( gtk.STOCK_OK, gtk.RESPONSE_OK ) ), gtk.RESPONSE_CANCEL
def run(self): "Displays the dialog"
529d29f6b464ac24a2ac1a234093323f5bd90913 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11787/529d29f6b464ac24a2ac1a234093323f5bd90913/dialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 315, 16900, 326, 6176, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 12, 2890, 4672, 315, 16900, 326, 6176, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.ted.WEInsert(stuff, None, None)
try: self.ted.WEInsert(stuff, None, None) finally: self._buf = ""
def flush(self): stuff = string.split(self._buf, '\n') stuff = string.join(stuff, '\r') self.setselection_at_end() self.ted.WEInsert(stuff, None, None) selstart, selend = self.getselection() self._inputstart = selstart self._buf = "" self.ted.WEClearUndo() self.updatescrollbars() if self._parentwindow.wid.GetWindowPort...
f2defd2388ab35462f1fdf431881a489a1ad3ff6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/f2defd2388ab35462f1fdf431881a489a1ad3ff6/PyConsole.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3663, 12, 2890, 4672, 10769, 273, 533, 18, 4939, 12, 2890, 6315, 4385, 16, 2337, 82, 6134, 10769, 273, 533, 18, 5701, 12, 334, 3809, 16, 2337, 86, 6134, 365, 18, 542, 10705, 67, 270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3663, 12, 2890, 4672, 10769, 273, 533, 18, 4939, 12, 2890, 6315, 4385, 16, 2337, 82, 6134, 10769, 273, 533, 18, 5701, 12, 334, 3809, 16, 2337, 86, 6134, 365, 18, 542, 10705, 67, 270, ...
print "No calculation provided. Nothing to do!" print usage
print("No calculation provided. Nothing to do!") print(usage)
def main(): usage = """
033519f53b930217d26e15cdd9ecae808896e752 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10290/033519f53b930217d26e15cdd9ecae808896e752/gdal_calc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 4084, 273, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 2774, 13332, 225, 4084, 273, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
'''ARCHIVES-test,group_test,GRP-ACL-test'''],
'''ARCHIVES-test,group_test,GRP-ACL-test,gtest_267'''],
def clean_system(): """ Remove all stuff to make the system clean, testsuite-wise.""" test_message('''cleaning system from previous runs.''') # delete them first in case of a previous failed testsuite run. # don't check exit codes or such, this will be done later. for argument in ( ['user', '''toto,tutu,tata,titi,te...
c7a24ffc685eea186397e4d74c31926a514dc16f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/c7a24ffc685eea186397e4d74c31926a514dc16f/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 4299, 13332, 3536, 3581, 777, 10769, 358, 1221, 326, 2619, 2721, 16, 7434, 9519, 17, 2460, 12123, 225, 1842, 67, 2150, 2668, 6309, 6200, 310, 2619, 628, 2416, 7597, 1093, 11, 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, 2721, 67, 4299, 13332, 3536, 3581, 777, 10769, 358, 1221, 326, 2619, 2721, 16, 7434, 9519, 17, 2460, 12123, 225, 1842, 67, 2150, 2668, 6309, 6200, 310, 2619, 628, 2416, 7597, 1093, 11, 6...
urldata = init([], d, True) for u in urldata:
if not urls: urls = d.getVar("SRC_URI", 1).split() urldata = init(urls, d, True) for u in urls:
def go(d): """ Fetch all urls init must have previously been called """ urldata = init([], d, True) for u in urldata: ud = urldata[u] m = ud.method if ud.localfile: if not m.forcefetch(u, ud, d) and os.path.exists(ud.md5): # File already present along with md5 stamp file # Touch md5 file to show activity try: os.utime...
011557c15734a83e8457fdabd6df5016081012c4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8123/011557c15734a83e8457fdabd6df5016081012c4/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 12, 72, 4672, 3536, 8065, 777, 6903, 1208, 1297, 1240, 7243, 2118, 2566, 3536, 309, 486, 6903, 30, 6903, 273, 302, 18, 588, 1537, 2932, 28413, 67, 3098, 3113, 404, 2934, 4939, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 12, 72, 4672, 3536, 8065, 777, 6903, 1208, 1297, 1240, 7243, 2118, 2566, 3536, 309, 486, 6903, 30, 6903, 273, 302, 18, 588, 1537, 2932, 28413, 67, 3098, 3113, 404, 2934, 4939, 1435...
('Add comment line', self.OnAddCommentLine, '-', keyDefs['DashLine']),
('Add comment line', self.OnAddCommentLine, '-', keyDefs['DashLine']),
def __init__(self, parent, model): a1 = (('-', None, '', ()), ('Comment', self.OnComment, '-', keyDefs['Comment']), ('Uncomment', self.OnUnComment, '-', keyDefs['Uncomment']), ('Indent', self.OnIndent, '-', keyDefs['Indent']), ('Dedent', self.OnDedent, '-', keyDefs['Dedent']), ('-', None, '-', ()), ('Run to cursor', se...
ed86f61b9d55619ac440188d57acc292436b0dab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/ed86f61b9d55619ac440188d57acc292436b0dab/PySourceView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 938, 4672, 279, 21, 273, 261, 2668, 17, 2187, 599, 16, 10226, 1832, 3631, 7707, 4469, 2187, 365, 18, 1398, 4469, 16, 2400, 2187, 498, 14554, 329...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 938, 4672, 279, 21, 273, 261, 2668, 17, 2187, 599, 16, 10226, 1832, 3631, 7707, 4469, 2187, 365, 18, 1398, 4469, 16, 2400, 2187, 498, 14554, 329...
_debug(1, "TIME: invocation took %.04f" % (time.time()-t0))
log.debug("TIME: invocation took %.04f" % (time.time()-t0))
def __call__(self, *args, **kwargs): t0=time.time() if self._ipc_callable == False: raise TypeError, "Object not callable" elif self._ipc_callable == None: try: getattr(self, "__call__") self._ipc_callable = True except AttributeError: self._ipc_callable = False if "__ipc_copy_result" in kwargs: log.warning("DEPRECATI...
a2ef02ba6b2343fafef3eba89f609780397810ea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/a2ef02ba6b2343fafef3eba89f609780397810ea/ipc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 268, 20, 33, 957, 18, 957, 1435, 309, 365, 6315, 625, 71, 67, 7293, 422, 1083, 30, 1002, 3580, 16, 315, 921, 486, 4140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4333, 4672, 268, 20, 33, 957, 18, 957, 1435, 309, 365, 6315, 625, 71, 67, 7293, 422, 1083, 30, 1002, 3580, 16, 315, 921, 486, 4140...
@neediface
@neediface(False)
def SetDNS(self, dns1=None, dns2=None, dns3=None, dns_dom=None, search_dom=None): """ Set the DNS of the system to the specified DNS servers.
47ca18c906e4d683b6f15a7e6c3eb8390b1e7e2a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/353/47ca18c906e4d683b6f15a7e6c3eb8390b1e7e2a/wnettools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 11602, 12, 2890, 16, 6605, 21, 33, 7036, 16, 6605, 22, 33, 7036, 16, 6605, 23, 33, 7036, 16, 6605, 67, 9859, 33, 7036, 16, 1623, 67, 9859, 33, 7036, 4672, 3536, 1000, 326, 8858...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 11602, 12, 2890, 16, 6605, 21, 33, 7036, 16, 6605, 22, 33, 7036, 16, 6605, 23, 33, 7036, 16, 6605, 67, 9859, 33, 7036, 16, 1623, 67, 9859, 33, 7036, 4672, 3536, 1000, 326, 8858...
this = apply(_quickfix.new_TriggerOrderType, args)
this = _quickfix.new_TriggerOrderType(*args)
def __init__(self, *args): this = apply(_quickfix.new_TriggerOrderType, 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, 6518, 2448, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6518, 2448, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...
text, set (), articulators, HORIZON, depth+1
text, set (), articulators, whitespaces, HORIZON, depth+1
def pns_sat_re ( articulated, horizon, articulators, whitespaces=SAT_STRIP_UTF8, HORIZON=126, depth=0, ): "Articulate text using a simple regular expression lexer" bottom = len (articulators) # move down the stack until an articulator pattern is matched ... while True: matched = articulators[depth].findall (articulated...
54032e3eec2f2c6c72f0d22e246ddc5a287be8e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/54032e3eec2f2c6c72f0d22e246ddc5a287be8e1/pns_sat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 2387, 67, 12973, 67, 266, 261, 3688, 335, 11799, 16, 366, 20648, 16, 3688, 335, 332, 3062, 16, 28186, 33, 55, 789, 67, 15765, 52, 67, 5159, 28, 16, 670, 11581, 673, 33, 25452, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 293, 2387, 67, 12973, 67, 266, 261, 3688, 335, 11799, 16, 366, 20648, 16, 3688, 335, 332, 3062, 16, 28186, 33, 55, 789, 67, 15765, 52, 67, 5159, 28, 16, 670, 11581, 673, 33, 25452, 1...
[2, 3]
[2]
def supersingular_primes(self, B): """ Return a list of all supersingular primes for this elliptic curve up to and possibly including B.
2a25dab06e7e5b6aa51c0b4934a96c6417c46505 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/2a25dab06e7e5b6aa51c0b4934a96c6417c46505/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1169, 414, 17830, 67, 683, 4485, 12, 2890, 16, 605, 4672, 3536, 2000, 279, 666, 434, 777, 1169, 414, 17830, 846, 4485, 364, 333, 415, 549, 21507, 8882, 731, 358, 471, 10016, 6508, 605, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1169, 414, 17830, 67, 683, 4485, 12, 2890, 16, 605, 4672, 3536, 2000, 279, 666, 434, 777, 1169, 414, 17830, 846, 4485, 364, 333, 415, 549, 21507, 8882, 731, 358, 471, 10016, 6508, 605, ...
pos=wxPoint(88, 184), size=wxSize(80, 17), style=0)
pos=wxPoint(96, 200), size=wxSize(88, 17), style=0)
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi...
aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
extraArgs = ["-silent"])
extraArgs = ["-silent"], symbolsPath=options.symbolsPath)
def processLeakLog(): "Process the leak log." # For the time being, don't warn (nor "info") if the log file is not there. (Bug 469518) if os.path.exists(leakLogFile): leaks = open(leakLogFile, "r") # For the time being, simply copy the log. (Bug 469518) log.info(leaks.read().rstrip()) leaks.close()
e76696d7ed594b399247bd9897acb05664c3d6de /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/e76696d7ed594b399247bd9897acb05664c3d6de/runreftest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1682, 581, 1343, 13332, 315, 2227, 326, 20891, 613, 1199, 468, 2457, 326, 813, 3832, 16, 2727, 1404, 1894, 261, 29561, 315, 1376, 7923, 309, 326, 613, 585, 353, 486, 1915, 18, 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, 1207, 1682, 581, 1343, 13332, 315, 2227, 326, 20891, 613, 1199, 468, 2457, 326, 813, 3832, 16, 2727, 1404, 1894, 261, 29561, 315, 1376, 7923, 309, 326, 613, 585, 353, 486, 1915, 18, 261,...
initial_slash = (path[0] == '/')
initial_slashes = path.startswith('/') if (initial_slashes and path.startswith('//') and not path.startswith('///')): initial_slashes = 2
def normpath(path): """Normalize path, eliminating double slashes, etc.""" if path == '': return '.' initial_slash = (path[0] == '/') comps = path.split('/') new_comps = [] for comp in comps: if comp in ('', '.'): continue if (comp != '..' or (not initial_slash and not new_comps) or (new_comps and new_comps[-1] == '..'...
bf222c9f12c1078a5d41acf4f4ce77c1a976c67f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/bf222c9f12c1078a5d41acf4f4ce77c1a976c67f/posixpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20446, 12, 803, 4672, 3536, 14380, 589, 16, 19229, 267, 1776, 1645, 19034, 16, 5527, 12123, 309, 589, 422, 875, 30, 327, 2611, 2172, 67, 13675, 273, 589, 18, 17514, 1918, 2668, 2473, 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, 20446, 12, 803, 4672, 3536, 14380, 589, 16, 19229, 267, 1776, 1645, 19034, 16, 5527, 12123, 309, 589, 422, 875, 30, 327, 2611, 2172, 67, 13675, 273, 589, 18, 17514, 1918, 2668, 2473, 13,...
print "Caffiene is now preventing powersaving modes and screensaver activation (" + probableWindowManager + ")"
print "Caffeine is now preventing powersaving modes and screensaver activation (" + probableWindowManager + ")"
def attemptToToggleSleepPrevention(): """This function may fail to peform the toggling, if it cannot find the required bus. In this case, it will return False.""" global sleepPrevented, screenSaverCookie, powerManagementCookie, timer bus = dbus.SessionBus() if sleepPrevented: ssProxy = None if 'org.gnome.ScreenSaver' i...
1da1a56726ea58548f0f41a14524fbd7d1f2e84d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7152/1da1a56726ea58548f0f41a14524fbd7d1f2e84d/caffeine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4395, 774, 17986, 20768, 1386, 11111, 13332, 3536, 2503, 445, 2026, 2321, 358, 2804, 687, 326, 6316, 75, 2456, 16, 309, 518, 2780, 1104, 326, 1931, 5766, 18, 657, 333, 648, 16, 518, 903,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4395, 774, 17986, 20768, 1386, 11111, 13332, 3536, 2503, 445, 2026, 2321, 358, 2804, 687, 326, 6316, 75, 2456, 16, 309, 518, 2780, 1104, 326, 1931, 5766, 18, 657, 333, 648, 16, 518, 903,...
% (self.lines +1, self._uri, self._why, pre, str[i-60:i], str[i:i+60], post)
% (self.lines +1, self._uri, self._why, pre, str[st:i], str[i:i+60], post)
def __str__(self):
678b792910b8f68e3258d23eb6c46e501de3e353 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/678b792910b8f68e3258d23eb6c46e501de3e353/notation3.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 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, 701, 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, -10...
data = ['a' * 8192] * 3
chunks = ['a' * 8192] * 3
def test_no_chunked_http_1_0(self): fd = self.connect().makefile(bufsize=1) fd.write('GET / HTTP/1.0\r\nHost: localhost\r\nConnection: close\r\n\r\n') response = read_http(fd, version='1.0') self.assertEqual(response.body, self.body()) self.assertEqual(response.headers.get('Transfer-Encoding'), None) content_length = i...
f46c94e817809b25047b82d9e084d39f6de7048e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/f46c94e817809b25047b82d9e084d39f6de7048e/wsgi_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2135, 67, 6551, 329, 67, 2505, 67, 21, 67, 20, 12, 2890, 4672, 5194, 273, 365, 18, 3612, 7675, 6540, 768, 12, 4385, 1467, 33, 21, 13, 5194, 18, 2626, 2668, 3264, 342, 2239,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2135, 67, 6551, 329, 67, 2505, 67, 21, 67, 20, 12, 2890, 4672, 5194, 273, 365, 18, 3612, 7675, 6540, 768, 12, 4385, 1467, 33, 21, 13, 5194, 18, 2626, 2668, 3264, 342, 2239,...
code = (time.strftime('%Y-%m-%d %H:%M:%S') + '_' + str(seg_obj.code)) else: code = ''
code = time.strftime('%Y-%m-%d %H:%M:%S') + '_' + str(seg_obj.code) or ''
def check_auto_extract(self, cr, uid, ids=False, context={}): cr.commit() seg_ids = self.search(cr, uid, [('extract_date_next', '<=', time.strftime('%Y-%m-%d %H:%M:%S'))]) for seg_id in seg_ids: seg_obj = self.browse(cr, uid, [seg_id])[0] name = time.strftime('%Y-%m-%d %H:%M:%S') + ' ' + str(seg_obj.name) if seg_obj.co...
ab38c6d82b2da134ccbf06fca62dc50028a3974b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/ab38c6d82b2da134ccbf06fca62dc50028a3974b/dm_extract_auto.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 6079, 67, 8004, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 33, 8381, 16, 819, 12938, 4672, 4422, 18, 7371, 1435, 2291, 67, 2232, 273, 365, 18, 3072, 12, 3353, 16, 4555, 16, 306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 6079, 67, 8004, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 33, 8381, 16, 819, 12938, 4672, 4422, 18, 7371, 1435, 2291, 67, 2232, 273, 365, 18, 3072, 12, 3353, 16, 4555, 16, 306...
libraries = ['boost_python', 'z', 'pthread', 'ssl'] for mem in os.listdir(os.path.join(sysconfig.PREFIX, "lib")): if mem.startswith("libbost_filesystem-mt"): print "found boost_filesystem-mt"
libraries = ['z', 'pthread', 'ssl'] all_libs = os.listdir(os.path.join(sysconfig.PREFIX, "lib")) all_libs = [mem for mem in all_libs if mem.startswith("libboost")] for mem in all_libs: if mem.startswith("libboost_python-mt"): print "using boost_ptyhon-mt" libraries += ["boost_python-mt"] break else: print "using boost...
def get_libtorrent_extension(portable_dir): include_dirs = [os.path.join(portable_dir, x) for x in ['libtorrent/include', 'libtorrent/include/libtorrent']] extra_compile_args = ["-Wno-missing-braces", "-DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1", "-DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1", "-DHAVE_INCLUDE_LIB...
7e46bb89e55360572d14e6f48aeae6aed77f1160 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/7e46bb89e55360572d14e6f48aeae6aed77f1160/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2941, 13039, 547, 67, 6447, 12, 655, 429, 67, 1214, 4672, 2341, 67, 8291, 273, 306, 538, 18, 803, 18, 5701, 12, 655, 429, 67, 1214, 16, 619, 13, 364, 619, 316, 10228, 2941, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2941, 13039, 547, 67, 6447, 12, 655, 429, 67, 1214, 4672, 2341, 67, 8291, 273, 306, 538, 18, 803, 18, 5701, 12, 655, 429, 67, 1214, 16, 619, 13, 364, 619, 316, 10228, 2941, ...
def insert(connection, urls, preserve_ids = False, verbose = False):
def insert_from_urls(connection, urls, preserve_ids = False, verbose = False):
def insert(connection, urls, preserve_ids = False, verbose = False): """ Iterate over a sequence of URLs and parse and insert each one into the database the dbtables.DBTable class is currently connected to. """ if not preserve_ids: # enable ID remapping dbtables.idmap_create(connection) dbtables.DBTable.append = dbtabl...
e316587c6b411815c95c1a79169a369a512dea0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3589/e316587c6b411815c95c1a79169a369a512dea0c/ligolw_sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 67, 2080, 67, 10518, 12, 4071, 16, 6903, 16, 9420, 67, 2232, 273, 1083, 16, 3988, 273, 1083, 4672, 3536, 11436, 1879, 279, 3102, 434, 10414, 471, 1109, 471, 2243, 1517, 1245, 1368,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 2080, 67, 10518, 12, 4071, 16, 6903, 16, 9420, 67, 2232, 273, 1083, 16, 3988, 273, 1083, 4672, 3536, 11436, 1879, 279, 3102, 434, 10414, 471, 1109, 471, 2243, 1517, 1245, 1368,...
os.path.join("bin", "OddsPostProc.py")
os.path.join("bin", "OddsPostProc.py"), os.path.join("bin", "prepare_sendback.py"), os.path.join("bin", "qsub_wscan.sh"), os.path.join("bin", "qsub_wscanlite.sh"), os.path.join("bin", "virgo_qscan_in2p3.py"), os.path.join("bin", "wscan_in2p3.sh"), os.path.join("bin", "wscanlite_in2p3.sh")
def run(self): # remove the automatically generated user env scripts for script in ["pylal-user-env.sh", "pylal-user-env.csh"]: log.info("removing " + script ) try: os.unlink(os.path.join("etc", script)) except: pass
dba9872474ed08c5834f05531c25a4fd6e95911e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/dba9872474ed08c5834f05531c25a4fd6e95911e/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 1206, 326, 6635, 4374, 729, 1550, 8873, 364, 2728, 316, 8247, 2074, 80, 287, 17, 1355, 17, 3074, 18, 674, 3113, 315, 2074, 80, 287, 17, 1355, 17, 3074, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 1206, 326, 6635, 4374, 729, 1550, 8873, 364, 2728, 316, 8247, 2074, 80, 287, 17, 1355, 17, 3074, 18, 674, 3113, 315, 2074, 80, 287, 17, 1355, 17, 3074, 18, ...
author_email='zope3-dev@zope.org',
author_email='zope-dev@zope.org',
def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
c8fb7081cfbf88349b950aea611399de3c4350f4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9518/c8fb7081cfbf88349b950aea611399de3c4350f4/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 30857, 86, 1973, 4672, 327, 1696, 12, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 3631, 380, 86, 1973, 13, 2934, 896, 1435, 225, 2, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 855, 30857, 86, 1973, 4672, 327, 1696, 12, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 3631, 380, 86, 1973, 13, 2934, 896, 1435, 225, 2, -100, -100, -100,...
new_flags.sort()
def test_flags_irrelevant(self): # check that the result (numeric result + flags raised) of an # arithmetic operation doesn't depend on the current flags
6d3ff2bc452eeec5ff97424d92c4a6cbc97e9a2f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/6d3ff2bc452eeec5ff97424d92c4a6cbc97e9a2f/test_decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 7133, 67, 481, 27719, 12, 2890, 4672, 468, 866, 716, 326, 563, 261, 5246, 563, 397, 2943, 11531, 13, 434, 392, 468, 30828, 1674, 3302, 1404, 2447, 603, 326, 783, 2943, 2, 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, 1842, 67, 7133, 67, 481, 27719, 12, 2890, 4672, 468, 866, 716, 326, 563, 261, 5246, 563, 397, 2943, 11531, 13, 434, 392, 468, 30828, 1674, 3302, 1404, 2447, 603, 326, 783, 2943, 2, -10...
'Module for in-process debugging of wxPython and Python apps',
'Module for out-of-process debugging of Python apps',
def processArgs(argv): _doDebug = _constricted = 0 _startupfile = '' _startupModules = () import getopt optlist, args = getopt.getopt(argv, 'CDTSBO:hv', ['Constricted', 'Debug', 'Trace', 'StartupFile', 'BlockHomePrefs', 'OverridePrefsDirName', 'help', 'version']) if (('-D', '') in optlist or ('--Debug', '') in optlist)...
f6b199ece3b4869b1e18a280f16305d1a63f8b49 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/f6b199ece3b4869b1e18a280f16305d1a63f8b49/Boa.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 2615, 12, 19485, 4672, 389, 2896, 2829, 273, 389, 591, 13948, 329, 273, 374, 389, 23939, 768, 273, 875, 389, 23939, 7782, 273, 1832, 1930, 336, 3838, 2153, 1098, 16, 833, 273, 336,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 2615, 12, 19485, 4672, 389, 2896, 2829, 273, 389, 591, 13948, 329, 273, 374, 389, 23939, 768, 273, 875, 389, 23939, 7782, 273, 1832, 1930, 336, 3838, 2153, 1098, 16, 833, 273, 336,...
if progresscallback is None and continuecallback is None: islicesize = stepcount
if progresscallback is None and continuecallback is None: islicesize = self.stepcount
def run(self,progresscallback=None,continuecallback=None): assert self.result.returncode==0, 'Run did not initialize successfully. %s' % self.result.errormessage # Calculate the size of time batches (small enough to respond rapidly to requests # for cancellation, and to show sufficiently detailed progress - e.g. in % ...
4019597326ae057dd78211a3008feee08a465142 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/381/4019597326ae057dd78211a3008feee08a465142/simulator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 8298, 3394, 33, 7036, 16, 17143, 3394, 33, 7036, 4672, 1815, 365, 18, 2088, 18, 2463, 710, 631, 20, 16, 296, 1997, 5061, 486, 4046, 4985, 18, 738, 87, 11, 738, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 8298, 3394, 33, 7036, 16, 17143, 3394, 33, 7036, 4672, 1815, 365, 18, 2088, 18, 2463, 710, 631, 20, 16, 296, 1997, 5061, 486, 4046, 4985, 18, 738, 87, 11, 738, 36...
""" def __init__(self, graph, channels, autoColor=True, valueUpdateInterval=50):
If valueUpdateInterval is specified, the channel values are displayed in the list and updated every valueUpdateInterval milliseconds. """ def __init__(self, graph, channels, autoColor=True, valueUpdateInterval=None):
def initGrid(self, drawable, width, height): """Draw a grid to the given drawable at the given size""" drawable.draw_rectangle(self.bgGc, gtk.TRUE, 0, 0, width, height)
59acd7101d02a60e7dcd31cf40cf07a5a2045926 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/59acd7101d02a60e7dcd31cf40cf07a5a2045926/rtgraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 6313, 12, 2890, 16, 19021, 16, 1835, 16, 2072, 4672, 3536, 6493, 279, 3068, 358, 326, 864, 19021, 622, 326, 864, 963, 8395, 19021, 18, 9446, 67, 2607, 4341, 12, 2890, 18, 12370, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 6313, 12, 2890, 16, 19021, 16, 1835, 16, 2072, 4672, 3536, 6493, 279, 3068, 358, 326, 864, 19021, 622, 326, 864, 963, 8395, 19021, 18, 9446, 67, 2607, 4341, 12, 2890, 18, 12370, ...
def search_rdf(self, REQUEST=None, RESPONSE=None):
def search_rdf(self, REQUEST=None, **kwargs):
def search_rdf(self, REQUEST=None, RESPONSE=None): """ """ search_mapping = RDF_SEARCH_MAPPING search_query_mapping = RDF_SEARCH_QUERY_MAPPING
2d104647b9ff57a28d7b186e95c36b282906da16 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/2d104647b9ff57a28d7b186e95c36b282906da16/SEMIDESite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 19299, 12, 2890, 16, 12492, 33, 7036, 16, 2826, 4333, 4672, 3536, 3536, 1623, 67, 6770, 273, 13539, 67, 17251, 67, 20450, 1623, 67, 2271, 67, 6770, 273, 13539, 67, 17251, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 19299, 12, 2890, 16, 12492, 33, 7036, 16, 2826, 4333, 4672, 3536, 3536, 1623, 67, 6770, 273, 13539, 67, 17251, 67, 20450, 1623, 67, 2271, 67, 6770, 273, 13539, 67, 17251, 67, ...
FileRuleGetter(deliverance_ruleset),
FileRuleGetter(ruleset),
def make_featurelet(loader, section, theme_uri, rules): app = loader.get_app(section) app = CustomDeliveranceMiddleware( app, FileRuleGetter(deliverance_ruleset), default_theme=theme_uri) tasktracker = App(tasktracker, 'tasktracker')
1492d58426c7a258a73f391fd03c817a6a2f9ebd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12795/1492d58426c7a258a73f391fd03c817a6a2f9ebd/wsgi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 7238, 1810, 12, 6714, 16, 2442, 16, 5006, 67, 1650, 16, 2931, 4672, 595, 273, 4088, 18, 588, 67, 2910, 12, 3464, 13, 225, 595, 273, 6082, 20813, 1359, 9410, 12, 595, 16, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 7238, 1810, 12, 6714, 16, 2442, 16, 5006, 67, 1650, 16, 2931, 4672, 595, 273, 4088, 18, 588, 67, 2910, 12, 3464, 13, 225, 595, 273, 6082, 20813, 1359, 9410, 12, 595, 16, 13...
return errorMsg(e.value, req, ln)
return errorMsg(e, req, c, ln)
def action(req, c=cdsname, ln=cdslang, doctype=""): # load the right message language _ = gettext_set_language(ln) nbCateg = 0 snameCateg = [] lnameCateg = [] actionShortDesc = [] indir = [] actionbutton = [] statustext = [] t = "" ln = wash_language(ln) # get user ID: try: uid = getUid(req) uid_email = get_email(uid)...
103e2ddea7827668f0b8eb09702401eb53f14008 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/103e2ddea7827668f0b8eb09702401eb53f14008/websubmit_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 3658, 16, 276, 33, 71, 2377, 529, 16, 7211, 33, 4315, 2069, 539, 16, 24909, 1546, 6, 4672, 468, 1262, 326, 2145, 883, 2653, 389, 273, 24972, 67, 542, 67, 4923, 12, 2370, 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, 1301, 12, 3658, 16, 276, 33, 71, 2377, 529, 16, 7211, 33, 4315, 2069, 539, 16, 24909, 1546, 6, 4672, 468, 1262, 326, 2145, 883, 2653, 389, 273, 24972, 67, 542, 67, 4923, 12, 2370, 13...
self.verbose_logger.log(logginglevels.DEBUG_4, "unable to find newer package for %s.%s" %(confpkg.name,confpkg.arch))
self.verbose_logger.log(logginglevels.DEBUG_4, "unable to find newer package for %s" %(confpkg))
def _processConflict(self, po, conflict): """processes a Conflict dep from the resolveDeps() method""" CheckDeps = 0 conflicts = 0 errormsgs = []
96c4e680bb57aed9d76204d59ba85b7eca6dcde8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/96c4e680bb57aed9d76204d59ba85b7eca6dcde8/depsolve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 10732, 12, 2890, 16, 8275, 16, 7546, 4672, 3536, 18675, 279, 23460, 5993, 628, 326, 2245, 14430, 1435, 707, 8395, 225, 2073, 14430, 273, 374, 14450, 273, 374, 393, 535, 87, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 10732, 12, 2890, 16, 8275, 16, 7546, 4672, 3536, 18675, 279, 23460, 5993, 628, 326, 2245, 14430, 1435, 707, 8395, 225, 2073, 14430, 273, 374, 14450, 273, 374, 393, 535, 87, 56...
self.known_modifiers_mask = 0
self.unknown_combos = []
def __init__ (self, application, key): gobject.GObject.__init__ (self) threading.Thread.__init__ (self) self.setDaemon (True)
2055e1bfc264c25fe76e2c0aca8b3dfa9dc1163c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3179/2055e1bfc264c25fe76e2c0aca8b3dfa9dc1163c/globalkeybinding.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 2521, 16, 498, 4672, 314, 1612, 18, 43, 921, 16186, 2738, 972, 261, 2890, 13, 17254, 18, 3830, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 12858, 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, 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, 261, 2890, 16, 2521, 16, 498, 4672, 314, 1612, 18, 43, 921, 16186, 2738, 972, 261, 2890, 13, 17254, 18, 3830, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 12858, 261...