rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
def mktemp():
def mktemp(suffix=""):
def mktemp(): global counter dir = gettempdir() pre = gettempprefix() while 1: counter = counter + 1 file = os.path.join(dir, pre + `counter`) if not os.path.exists(file): return file
7d1e18f431d98b1bf5b4e8796fd72d91be28c662 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/7d1e18f431d98b1bf5b4e8796fd72d91be28c662/tempfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5028, 5814, 12, 8477, 1546, 6, 4672, 2552, 3895, 1577, 273, 336, 5814, 1214, 1435, 675, 273, 336, 5814, 3239, 1435, 1323, 404, 30, 3895, 273, 3895, 397, 404, 585, 273, 1140, 18, 803, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5028, 5814, 12, 8477, 1546, 6, 4672, 2552, 3895, 1577, 273, 336, 5814, 1214, 1435, 675, 273, 336, 5814, 3239, 1435, 1323, 404, 30, 3895, 273, 3895, 397, 404, 585, 273, 1140, 18, 803, 1...
self.site().checkBlocks(sysop = sysop)
self.site().checkBlocks(sysop = True)
def undelete(self, comment='', throttle=True): """Undeletes page based on the undeletion markers set by previous calls.
830c77f5c791b8c40ae3367efc08bbd3f0740fd7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/830c77f5c791b8c40ae3367efc08bbd3f0740fd7/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 3733, 12, 2890, 16, 2879, 2218, 2187, 18304, 33, 5510, 4672, 3536, 984, 72, 5092, 1363, 2511, 603, 326, 640, 19003, 285, 11754, 444, 635, 2416, 4097, 18, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 640, 3733, 12, 2890, 16, 2879, 2218, 2187, 18304, 33, 5510, 4672, 3536, 984, 72, 5092, 1363, 2511, 603, 326, 640, 19003, 285, 11754, 444, 635, 2416, 4097, 18, 2, -100, -100, -100, -100, ...
self.keyname = None
self.key = None
def __init__(self, db, classname, **properties): #self.db = weakref.proxy(db) self.db = db self.classname = classname self.keyname = None self.ruprops = properties self.privateprops = { 'id' : hyperdb.String(), 'activity' : hyperdb.Date(), 'creation' : hyperdb.Date(), 'creator' : hyperdb.Link('user') }
8a26f1933d2876e464fe11a666ad363c83f287dd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/8a26f1933d2876e464fe11a666ad363c83f287dd/back_metakit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1319, 16, 7479, 16, 2826, 4738, 4672, 468, 2890, 18, 1966, 273, 16046, 1734, 18, 5656, 12, 1966, 13, 365, 18, 1966, 273, 1319, 365, 18, 18340, 273, 7479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1319, 16, 7479, 16, 2826, 4738, 4672, 468, 2890, 18, 1966, 273, 16046, 1734, 18, 5656, 12, 1966, 13, 365, 18, 1966, 273, 1319, 365, 18, 18340, 273, 7479,...
[{'width': 280.0-260.0, 'line_width': 1.0, 'height': 120.0-100.0, 'stroke_color_rgba': 255L, 'fill_color_rgba': 0xFF0000A0L, 'y': 100.0, 'x': 260.0, 'tool': 'FILL_RECT'}, {'width': 300.0-240.0, 'line_width': 1.0, 'height': 140.0-120.0, 'stroke_color_rgba': 255L, 'fill_color_rgba': 0xffff0cA0L, 'y': 120.0, 'x': 240.0, ...
[{'width': 280.0-260.0, 'line_width': 1.0, 'height': 120.0-100.0, 'stroke_color_rgba': C_STROKE, 'fill_color_rgba': C_RED|C_FILL, 'y': 100.0, 'x': 260.0, 'tool': 'FILL_RECT'}, {'width': 300.0-240.0, 'line_width': 1.0, 'height': 140.0-120.0, 'stroke_color_rgba': C_STROKE, 'fill_color_rgba': C_YELLOW|C_FILL, 'y': 120.0, ...
def init_item_list(self):
afe6d4cfa4a483507d506d63168d467aba7acf11 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11306/afe6d4cfa4a483507d506d63168d467aba7acf11/redraw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 1726, 67, 1098, 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, ...
[ 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, 1208, 67, 1726, 67, 1098, 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,...
self.docstring_parser.parse_docstring(var_doc)
self.docstring_parser.parse_docstring(var_doc, docindex)
def build_doc_index(self, *items): """ Build API documentation for the given list of items, and return it in the form of a L{DocIndex}. Each item can be any of the following (tried in order): - A string naming a python package directory (e.g., C{'epydoc/markup'}) - A string naming a python file (e.g., C{'epydoc/docpar...
8f6c17c54c867eae587018bd3a5c62230f81afe9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/8f6c17c54c867eae587018bd3a5c62230f81afe9/driver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 2434, 67, 1615, 12, 2890, 16, 380, 3319, 4672, 3536, 3998, 1491, 7323, 364, 326, 864, 666, 434, 1516, 16, 471, 327, 518, 316, 326, 646, 434, 279, 511, 95, 1759, 1016, 5496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 2434, 67, 1615, 12, 2890, 16, 380, 3319, 4672, 3536, 3998, 1491, 7323, 364, 326, 864, 666, 434, 1516, 16, 471, 327, 518, 316, 326, 646, 434, 279, 511, 95, 1759, 1016, 5496, ...
self._loadingbookmarks = True
def _bookmarks(self): '''Parse .hg/bookmarks file and return a dictionary
d493df197c6539a6abd26ec767cee30e9577ce76 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/d493df197c6539a6abd26ec767cee30e9577ce76/bookmarks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3618, 17439, 12, 2890, 4672, 9163, 3201, 263, 26981, 19, 3618, 17439, 585, 471, 327, 279, 3880, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3618, 17439, 12, 2890, 4672, 9163, 3201, 263, 26981, 19, 3618, 17439, 585, 471, 327, 279, 3880, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if exitCode < 0:
if exitCode < 0 and testTimeOut>-1 and time()-starttime>testTimeOut:
def run_pipe(cmd): if debug: print('cmd: %s' % cmd) p = Popen((cmd), shell=True, stdout=PIPE, stderr=STDOUT) output = p.stdout.readlines() exitCode = p.wait(testTimeOut) #abort if it takes longer than 60 seconds if exitCode < 0: # process timed out return 'timedOut' return output
ac8c6269655ffd113f91d21a127edce52c3e2f64 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13395/ac8c6269655ffd113f91d21a127edce52c3e2f64/runtests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 14772, 12, 4172, 4672, 309, 1198, 30, 1172, 2668, 4172, 30, 738, 87, 11, 738, 1797, 13, 293, 273, 14339, 12443, 4172, 3631, 5972, 33, 5510, 16, 3909, 33, 27602, 16, 4514, 33,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 14772, 12, 4172, 4672, 309, 1198, 30, 1172, 2668, 4172, 30, 738, 87, 11, 738, 1797, 13, 293, 273, 14339, 12443, 4172, 3631, 5972, 33, 5510, 16, 3909, 33, 27602, 16, 4514, 33,...
print print
print >> out print >> out
def show(self, out=None): if out is None: out = sys.stdout
de9150d042598982c0c0ccab165a41a08e8e2047 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/de9150d042598982c0c0ccab165a41a08e8e2047/pointgroup_tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 12, 2890, 16, 596, 33, 7036, 4672, 309, 596, 353, 599, 30, 596, 273, 2589, 18, 10283, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 12, 2890, 16, 596, 33, 7036, 4672, 309, 596, 353, 599, 30, 596, 273, 2589, 18, 10283, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
>>> set_unittest_reportflags(ELLIPSIS)
>>> doctest.set_unittest_reportflags(ELLIPSIS)
def set_unittest_reportflags(flags): """Sets the unittest option flags. The old flag is returned so that a runner could restore the old value if it wished to: >>> old = _unittest_reportflags >>> set_unittest_reportflags(REPORT_NDIFF | ... REPORT_ONLY_FIRST_FAILURE) == old True >>> import doc...
b42cca9e880de5e1b077521211e87fe1d97b94bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b42cca9e880de5e1b077521211e87fe1d97b94bd/doctest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 4873, 3813, 67, 6006, 7133, 12, 7133, 4672, 3536, 2785, 326, 2836, 3813, 1456, 2943, 18, 225, 1021, 1592, 2982, 353, 2106, 1427, 716, 279, 8419, 3377, 5217, 326, 1592, 460, 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, 444, 67, 4873, 3813, 67, 6006, 7133, 12, 7133, 4672, 3536, 2785, 326, 2836, 3813, 1456, 2943, 18, 225, 1021, 1592, 2982, 353, 2106, 1427, 716, 279, 8419, 3377, 5217, 326, 1592, 460, 309,...
template_values['last_message'] = last_message
template_values['message'] = last_message if current_status: template_values['last_status_key'] = current_status.key() template_values['error_message'] = error_message
def get(self): """Sets the information to be displayed on the main page.""" (validated, is_admin) = self.ValidateUser() if not validated: return
09b02b98cc00384f33ef96999005f46c3cb5be41 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/476/09b02b98cc00384f33ef96999005f46c3cb5be41/status.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 3536, 2785, 326, 1779, 358, 506, 10453, 603, 326, 2774, 1363, 12123, 261, 877, 690, 16, 353, 67, 3666, 13, 273, 365, 18, 4270, 1299, 1435, 309, 486, 10266, 30, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 12, 2890, 4672, 3536, 2785, 326, 1779, 358, 506, 10453, 603, 326, 2774, 1363, 12123, 261, 877, 690, 16, 353, 67, 3666, 13, 273, 365, 18, 4270, 1299, 1435, 309, 486, 10266, 30, 327...
self._do_permission_list()
user = None if len(arg) > 1: user = arg[1] self._do_permission_list(user)
def do_permission(self, line): arg = self.arg_tokenize(line) try: if arg[0] == 'list': self._do_permission_list() elif arg[0] == 'add' and len(arg) >= 3: user = arg[1] for action in arg[2:]: self._do_permission_add(user, action) elif arg[0] == 'remove' and len(arg) >= 3: user = arg[1] for action in arg[2:]: self._do_...
8dfc6248cbdd50f5d823db1c7f81c95f86f1434c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/8dfc6248cbdd50f5d823db1c7f81c95f86f1434c/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 9827, 12, 2890, 16, 980, 4672, 1501, 273, 365, 18, 3175, 67, 2316, 554, 12, 1369, 13, 775, 30, 309, 1501, 63, 20, 65, 225, 422, 296, 1098, 4278, 729, 273, 599, 309, 562, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9827, 12, 2890, 16, 980, 4672, 1501, 273, 365, 18, 3175, 67, 2316, 554, 12, 1369, 13, 775, 30, 309, 1501, 63, 20, 65, 225, 422, 296, 1098, 4278, 729, 273, 599, 309, 562, 1...
def waittillguiexist(self, window_name, object_name='', guiTimeOut=5):
def waittillguiexist(self, window_name, object_name='', guiTimeOut=30):
def waittillguiexist(self, window_name, object_name='', guiTimeOut=5): ''' Wait till a window or component exists. @param window_name: Window name to look for, either full name, LDTP's name convention, or a Unix glob. @type window_name: string @param object_name: Object name to look for, either full name, LDTP's name ...
f6526a97bdad9fe211a23f70346b9f1404e15cfc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11266/f6526a97bdad9fe211a23f70346b9f1404e15cfc/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 88, 737, 20292, 7398, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 2218, 2187, 13238, 950, 1182, 33, 5082, 4672, 9163, 5838, 21364, 279, 2742, 578, 1794, 1704, 18, 225, 632, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2529, 88, 737, 20292, 7398, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 2218, 2187, 13238, 950, 1182, 33, 5082, 4672, 9163, 5838, 21364, 279, 2742, 578, 1794, 1704, 18, 225, 632, 89...
__slots__ = ["bayes", "graphs", "adjacency", "order", "parents", "epsilon"]
__slots__ = ["asf", "bayes", "graphs", "adjacency", "order", "parents", "epsilon"]
def _getMatrix(data, dof): """Create the matrices A and b for a spline with 4 data points.""" # We need to be sure that we've got exactly 4 data points. assert(Numeric.shape(data)[0] == 4) A = Numeric.zeros((12, 12)) b = [Numeric.zeros((12,)) for i in range(dof)] row = 0 for t in range(1,4): # Constrain the spline to...
6652b10df9e0e6d4d24a474c0c99a679f8fce877 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/6652b10df9e0e6d4d24a474c0c99a679f8fce877/Interpolate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 4635, 12, 892, 16, 741, 74, 4672, 3536, 1684, 326, 16415, 432, 471, 324, 364, 279, 22826, 598, 1059, 501, 3143, 12123, 468, 1660, 1608, 358, 506, 3071, 716, 732, 8081, 2363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4635, 12, 892, 16, 741, 74, 4672, 3536, 1684, 326, 16415, 432, 471, 324, 364, 279, 22826, 598, 1059, 501, 3143, 12123, 468, 1660, 1608, 358, 506, 3071, 716, 732, 8081, 2363, ...
line = line[m.end() - 1:]
line = line[m.end(1):] elif empty: line = line[m.end(1):]
def subconvert(line, ofp, table, discards, autoclosing, knownempty, endchar=None): stack = [] while line: if line[0] == endchar and not stack: return line[1:] m = _comment_rx.match(line) if m: text = m.group(1) if text: ofp.write("(COMMENT\n") ofp.write("-%s\n" % encode(text)) ofp.write(")COMMENT\n") ofp.write("-\\n\n"...
daf351be69c52ca2c4be41ece7f9ece802a76f64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/daf351be69c52ca2c4be41ece7f9ece802a76f64/latex2esis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 720, 6283, 12, 1369, 16, 434, 84, 16, 1014, 16, 10388, 87, 16, 23173, 10910, 16, 4846, 5531, 16, 679, 3001, 33, 7036, 4672, 2110, 273, 5378, 1323, 980, 30, 309, 980, 63, 20, 65, 422,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 720, 6283, 12, 1369, 16, 434, 84, 16, 1014, 16, 10388, 87, 16, 23173, 10910, 16, 4846, 5531, 16, 679, 3001, 33, 7036, 4672, 2110, 273, 5378, 1323, 980, 30, 309, 980, 63, 20, 65, 422,...
'ru':u'Робот: исключение из [[Категория:%s]]',
'ru':u'Робот: исключение из %s',
def run(self): listOfArticles = self.cat.articlesList(recurse = self.recurse) if self.subCats: listOfArticles += self.cat.subcategoriesList() if not self.editSummary: self.editSummary = wikipedia.translate(wikipedia.getSite(), self.listify_msg) % (self.cat.title(), len(listOfArticles))
968c1d63d2e3d1b696448c443878152898bbcebe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/968c1d63d2e3d1b696448c443878152898bbcebe/category.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 24692, 19001, 273, 365, 18, 2574, 18, 16462, 682, 12, 29362, 273, 365, 18, 29362, 13, 309, 365, 18, 1717, 39, 2323, 30, 24692, 19001, 1011, 365, 18, 2574, 18, 171...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24692, 19001, 273, 365, 18, 2574, 18, 16462, 682, 12, 29362, 273, 365, 18, 29362, 13, 309, 365, 18, 1717, 39, 2323, 30, 24692, 19001, 1011, 365, 18, 2574, 18, 171...
seg2 = None list = cacheList.sieve(ifo,cacheType,None,True) list = list.sieve(None,None,seg1) list = list.sieve(None,None,seg2) cacheSubSet[ifo] = list
seg2 = None listInstance = cacheList.sieve(ifo,cacheType,None,True) listInstance = listInstance.sieve(None,None,seg1) listInstance = listInstance.sieve(None,None,seg2) cacheSubSet[ifo] = listInstance
def filesMatchingGPSinCache(self, cacheString, time=None, cacheType=None, ifo_tag=None, ifo_in_coinc=None): cacheSubSet = self.ifoDict() try: cacheList = Cache.fromfile(open(cacheString)) cacheListTest = 0 except: print >> sys.stderr, "could not open the file " + cacheString cacheListTest = 1 if not cacheListTest: for...
1dbdfefc5bd9c32e48cd9d02a07a6e45cb4d15f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/1dbdfefc5bd9c32e48cd9d02a07a6e45cb4d15f5/fu_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1390, 9517, 28983, 267, 1649, 12, 2890, 16, 1247, 780, 16, 813, 33, 7036, 16, 1247, 559, 33, 7036, 16, 21479, 67, 2692, 33, 7036, 16, 21479, 67, 267, 67, 12645, 71, 33, 7036, 4672, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1390, 9517, 28983, 267, 1649, 12, 2890, 16, 1247, 780, 16, 813, 33, 7036, 16, 1247, 559, 33, 7036, 16, 21479, 67, 2692, 33, 7036, 16, 21479, 67, 267, 67, 12645, 71, 33, 7036, 4672, 1...
if scope == 'TESTCASE':
if self.scope == 'TESTCASE':
def _init_scope_handling(self, scope): if scope == 'GLOBAL': return self._libinst = None self.start_suite = self._caching_start self.end_suite = self._restoring_end if scope == 'TESTCASE': self.start_test = self._caching_start self.end_test = self._restoring_end
0d4a86ca2403c3798746a0a3fc9121aec4ac2fee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6988/0d4a86ca2403c3798746a0a3fc9121aec4ac2fee/testlibraries.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 4887, 67, 26822, 12, 2890, 16, 2146, 4672, 309, 2146, 422, 296, 20402, 4278, 327, 365, 6315, 2941, 8591, 273, 599, 365, 18, 1937, 67, 30676, 273, 365, 6315, 17703, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4887, 67, 26822, 12, 2890, 16, 2146, 4672, 309, 2146, 422, 296, 20402, 4278, 327, 365, 6315, 2941, 8591, 273, 599, 365, 18, 1937, 67, 30676, 273, 365, 6315, 17703, 310, ...
Subwidget Class --------- ----- cancel Button ok Button hidden Checkbutton types ComboBox dir ComboBox file ComboBox dirlist ScrolledListBox filelist ScrolledListBox""" def __init__(self, master, cnf={}, **kw): TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw) self.subwidget_list['cancel']...
Subwidget Class --------- ----- cancel Button ok Button hidden Checkbutton types ComboBox dir ComboBox file ComboBox dirlist ScrolledListBox filelist ScrolledListBox""" def __init__(self, master, cnf={}, **kw): TixWidget.__init__(self, master, '...
def chdir(self, dir):
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, 14029, 12, 2890, 16, 1577, 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, 14029, 12, 2890, 16, 1577, 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, -1...
print '\n*** Barrier Test ***' if done.acquire(0): raise ValueError, "'done' should have remained acquired" bar = barrier(numtasks) running = numtasks for i in range(numtasks): thread.start_new_thread(task2, (i,)) done.acquire() print 'all tasks done'
class BarrierTest(BasicThreadTest):
def task2(ident): global running for i in range(numtrips): if ident == 0: # give it a good chance to enter the next # barrier before the others are all out # of the current one delay = 0.001 else: rmutex.acquire() delay = random.random() * numtasks rmutex.release() if verbose: print 'task', ident, 'will run for', round...
12c238c50046dc378380207f15830cf4af619e32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/12c238c50046dc378380207f15830cf4af619e32/test_thread.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1562, 22, 12, 6392, 4672, 2552, 3549, 364, 277, 316, 1048, 12, 2107, 313, 7146, 4672, 309, 3390, 422, 374, 30, 468, 8492, 518, 279, 7494, 17920, 358, 6103, 326, 1024, 468, 24651, 1865, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1562, 22, 12, 6392, 4672, 2552, 3549, 364, 277, 316, 1048, 12, 2107, 313, 7146, 4672, 309, 3390, 422, 374, 30, 468, 8492, 518, 279, 7494, 17920, 358, 6103, 326, 1024, 468, 24651, 1865, ...
return self.seconds or self.nanoseconds
return self.__seconds or self.__nanoseconds
def __nonzero__(self): """ Return True if the LIGOTimeGPS is nonzero.
d76a8cdc25081f007a8ffbb0773fb7fe77a2a127 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/d76a8cdc25081f007a8ffbb0773fb7fe77a2a127/lal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 26449, 972, 12, 2890, 4672, 3536, 2000, 1053, 309, 326, 511, 3047, 51, 950, 28983, 353, 16966, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26449, 972, 12, 2890, 4672, 3536, 2000, 1053, 309, 326, 511, 3047, 51, 950, 28983, 353, 16966, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
locationHints_s = locations.split(",") for hint_s in locationHints_s: mo = IPV4_HINT_RE.search(hint_s) if mo: hint = ( "ipv4", mo.group(1), int(mo.group(2)) ) self.locationHints.append(hint) else: pass
hints = mo_auth_furl.group(2) self.locationHints = decode_location_hints(hints) self.name = mo_auth_furl.group(3)
def _init_from_url(self, url): # pb://key@{ip:port,host:port,[ipv6]:port}[/unix]/swissnumber # i.e. pb://tubID@{locationHints..}/name # # it can live at any one of a (TODO) variety of network-accessible # locations, or (TODO) at a single UNIX-domain socket. # # there is also an unauthenticated form, which is indexed by...
4a1dfbb4b449591b5233efea3a6c76cc6314bdd2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13646/4a1dfbb4b449591b5233efea3a6c76cc6314bdd2/referenceable.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 2080, 67, 718, 12, 2890, 16, 880, 4672, 468, 6386, 2207, 856, 36, 95, 625, 30, 655, 16, 2564, 30, 655, 16, 63, 10834, 26, 14542, 655, 20294, 19, 21136, 18537, 5328, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2080, 67, 718, 12, 2890, 16, 880, 4672, 468, 6386, 2207, 856, 36, 95, 625, 30, 655, 16, 2564, 30, 655, 16, 63, 10834, 26, 14542, 655, 20294, 19, 21136, 18537, 5328, 10...
if not self.prevsonginfo.has_key('album'): album = u'' else: album = self.prevsonginfo['album'] if not self.prevsonginfo.has_key('track'): tracknumber = u'' else: tracknumber = self.prevsonginfo['track'] self.scrob_post.addtrack(self.prevsonginfo['artist'],
if not self.prevsonginfo.has_key('album'): album = u'' else: album = self.prevsonginfo['album'] if not self.prevsonginfo.has_key('track'): tracknumber = u'' else: tracknumber = self.prevsonginfo['track'] self.scrob_post.addtrack(self.prevsonginfo['artist'],
def scrobbler_post(self): self.scrobbler_init() if self.scrob_post and self.prevsonginfo: if self.prevsonginfo.has_key('artist') and \ self.prevsonginfo.has_key('title') and \ self.prevsonginfo.has_key('time'): if not self.prevsonginfo.has_key('album'): album = u'' else: album = self.prevsonginfo['album'] if not self.p...
e71061740c79f804ae4e9989a02761c1aa54f6d1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/e71061740c79f804ae4e9989a02761c1aa54f6d1/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 303, 9897, 749, 67, 2767, 12, 2890, 4672, 365, 18, 1017, 303, 9897, 749, 67, 2738, 1435, 309, 365, 18, 1017, 303, 70, 67, 2767, 471, 365, 18, 10001, 816, 75, 1376, 30, 309, 365,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 303, 9897, 749, 67, 2767, 12, 2890, 4672, 365, 18, 1017, 303, 9897, 749, 67, 2738, 1435, 309, 365, 18, 1017, 303, 70, 67, 2767, 471, 365, 18, 10001, 816, 75, 1376, 30, 309, 365,...
vfs.isfile(os.path.join(os.path.dirname(item.filename), 'cover.jpg')):
vfs.isfile(os.path.join(c, 'cover.jpg')):
def actions(self, item): self.item = item # don't allow this for items on an audio cd, only on the disc itself if item.type == 'audio' and item.parent.type == 'audiocd': return []
6d9f53994b120f152cf01dbb5f9d46eae2739b7d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/6d9f53994b120f152cf01dbb5f9d46eae2739b7d/coversearch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4209, 12, 2890, 16, 761, 4672, 365, 18, 1726, 273, 761, 468, 2727, 1404, 1699, 333, 364, 1516, 603, 392, 7447, 7976, 16, 1338, 603, 326, 19169, 6174, 309, 761, 18, 723, 422, 296, 11509...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4209, 12, 2890, 16, 761, 4672, 365, 18, 1726, 273, 761, 468, 2727, 1404, 1699, 333, 364, 1516, 603, 392, 7447, 7976, 16, 1338, 603, 326, 19169, 6174, 309, 761, 18, 723, 422, 296, 11509...
elif (sig.getAppearance() == FLASHGREEN) :
elif (sigState == FLASHGREEN) :
def cvtAppearanceIcon(self, sig) : rep = self.darkSignalIcon if (sig.getLit()) : if (sig.getAppearance() == RED) : rep = self.redSignalIcon elif (sig.getAppearance() == FLASHRED) : rep = self.redFlashSignalIcon elif (sig.getAppearance() == YELLOW) : rep = self.yellowSignalIcon elif (sig.getAppearance() == FLASHYELLOW) ...
ea0545abfec3c873ac30e3d94a5ae0a9a6e544ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1660/ea0545abfec3c873ac30e3d94a5ae0a9a6e544ba/RobotThrottle2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8951, 88, 1294, 27668, 5554, 12, 2890, 16, 3553, 13, 294, 2071, 273, 365, 18, 25045, 11208, 5554, 309, 261, 7340, 18, 588, 23707, 10756, 294, 309, 261, 7340, 18, 588, 1294, 27668, 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, 8951, 88, 1294, 27668, 5554, 12, 2890, 16, 3553, 13, 294, 2071, 273, 365, 18, 25045, 11208, 5554, 309, 261, 7340, 18, 588, 23707, 10756, 294, 309, 261, 7340, 18, 588, 1294, 27668, 1435, ...
self.limit = False
def __init__(self, parent, can_change): if can_change == True: self.limit = False can = ["title", "version", "artist", "album", "performer", "discnumber"] else: self.limit = True can = can_change can.sort()
44deb3636adb3eb180d1cc44ce811a1cb782bb80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/44deb3636adb3eb180d1cc44ce811a1cb782bb80/widgets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 848, 67, 3427, 4672, 309, 848, 67, 3427, 422, 1053, 30, 848, 273, 8247, 2649, 3113, 315, 1589, 3113, 315, 25737, 3113, 315, 25090, 3113, 315, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 848, 67, 3427, 4672, 309, 848, 67, 3427, 422, 1053, 30, 848, 273, 8247, 2649, 3113, 315, 1589, 3113, 315, 25737, 3113, 315, 25090, 3113, 315, 45...
rootname = u'' self.rootpage = Page(self, rootname, is_rootpage=1) self.user = self.get_user()
def __init__(self, properties={}): # Decode values collected by sub classes self.path_info = self.decodePagename(self.path_info)
2693e1a0712f6db4417ab986b33905cf6c35b232 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/2693e1a0712f6db4417ab986b33905cf6c35b232/request.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1790, 12938, 4672, 468, 6209, 924, 12230, 635, 720, 3318, 365, 18, 803, 67, 1376, 273, 365, 18, 3922, 10156, 1069, 12, 2890, 18, 803, 67, 1376, 13, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1790, 12938, 4672, 468, 6209, 924, 12230, 635, 720, 3318, 365, 18, 803, 67, 1376, 273, 365, 18, 3922, 10156, 1069, 12, 2890, 18, 803, 67, 1376, 13, 2, ...
import sys
def register(func, *targs, **kargs): """register a function to be executed upon normal program termination func - function to be called at exit targs - optional arguments to pass to func kargs - optional keyword arguments to pass to func """ _exithandlers.append((func, targs, kargs))
976f25420c4d0cf4d35cbd56c4b57962ceee0960 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/976f25420c4d0cf4d35cbd56c4b57962ceee0960/atexit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 12, 644, 16, 380, 88, 1968, 16, 2826, 79, 1968, 4672, 3536, 4861, 279, 445, 358, 506, 7120, 12318, 2212, 5402, 19650, 225, 1326, 300, 445, 358, 506, 2566, 622, 2427, 268, 1968, 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, 1744, 12, 644, 16, 380, 88, 1968, 16, 2826, 79, 1968, 4672, 3536, 4861, 279, 445, 358, 506, 7120, 12318, 2212, 5402, 19650, 225, 1326, 300, 445, 358, 506, 2566, 622, 2427, 268, 1968, 3...
if not size:
readsize = 1024 if not size:
def read(self,size=None):
b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c/gzip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 1467, 33, 7036, 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, 855, 12, 2890, 16, 1467, 33, 7036, 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, ...
class httphandler(keepalive.HTTPHandler):
class basehttphandler(keepalive.HTTPHandler):
def send(self, data): if isinstance(data, str): keepalive.HTTPConnection.send(self, data) else: # if auth required, some data sent twice, so rewind here data.seek(0) for chunk in util.filechunkiter(data): keepalive.HTTPConnection.send(self, chunk)
69ef06fd90f8589ca946e888ce78b889a62bae28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/69ef06fd90f8589ca946e888ce78b889a62bae28/httprepo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 12, 2890, 16, 501, 4672, 309, 1549, 12, 892, 16, 609, 4672, 26210, 18, 3693, 1952, 18, 4661, 12, 2890, 16, 501, 13, 469, 30, 468, 309, 1357, 1931, 16, 2690, 501, 3271, 13605, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 501, 4672, 309, 1549, 12, 892, 16, 609, 4672, 26210, 18, 3693, 1952, 18, 4661, 12, 2890, 16, 501, 13, 469, 30, 468, 309, 1357, 1931, 16, 2690, 501, 3271, 13605, 1...
view._e_2_overlap(MergeError.REF, item, name)
view._e_2_overlap(MergeError.REF, newValue, name)
def _applyChanges(self, view, flag, dirties, ask, newChanges, changes, dangling):
2c60582f20bdc00555d53ee9363d62953e685319 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/2c60582f20bdc00555d53ee9363d62953e685319/Values.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9010, 7173, 12, 2890, 16, 1476, 16, 2982, 16, 1577, 88, 606, 16, 6827, 16, 394, 7173, 16, 3478, 16, 302, 539, 2456, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9010, 7173, 12, 2890, 16, 1476, 16, 2982, 16, 1577, 88, 606, 16, 6827, 16, 394, 7173, 16, 3478, 16, 302, 539, 2456, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if _host_bitmask_re.match(host):
if _host_cidrmask_re.match(host):
def hosts2map (hosts): """return a set of named hosts, and a list of subnets (host/netmask adresses). Only IPv4 host/netmasks are supported. """ hostset = sets.Set() nets = [] for host in hosts: if _host_bitmask_re.match(host): host, mask = host.split("/") mask = int(mask) if not is_valid_bitmask(mask): wc.log.error(wc...
2ecd0206d653574af32efa1ae225b3e5ad4ef5d6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/2ecd0206d653574af32efa1ae225b3e5ad4ef5d6/ip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7206, 22, 1458, 261, 11588, 4672, 3536, 2463, 279, 444, 434, 4141, 7206, 16, 471, 279, 666, 434, 19140, 261, 2564, 19, 2758, 4455, 1261, 15807, 2934, 5098, 7853, 24, 1479, 19, 2758, 2910...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7206, 22, 1458, 261, 11588, 4672, 3536, 2463, 279, 444, 434, 4141, 7206, 16, 471, 279, 666, 434, 19140, 261, 2564, 19, 2758, 4455, 1261, 15807, 2934, 5098, 7853, 24, 1479, 19, 2758, 2910...
mod = strftime(config.TV_TIMEFORMAT, gmtime(fav.mod * 60))
mod = strftime(config.TV_TIMEFORMAT, gmtime(float(fav.mod * 60)))
def refreshList(self): (self.result, favorites) = record_client.getFavorites() if not self.result: errormsg = Label(_('Get favorites failed: %s') % recordings, self, Align.CENTER) return
116c9a362ec7d13089b84c62dc7c59f3707a5d11 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/116c9a362ec7d13089b84c62dc7c59f3707a5d11/view_favorites.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 682, 12, 2890, 4672, 261, 2890, 18, 2088, 16, 18552, 2997, 13, 273, 1409, 67, 2625, 18, 588, 31745, 2997, 1435, 309, 486, 365, 18, 2088, 30, 393, 23250, 273, 5287, 24899, 2668, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 682, 12, 2890, 4672, 261, 2890, 18, 2088, 16, 18552, 2997, 13, 273, 1409, 67, 2625, 18, 588, 31745, 2997, 1435, 309, 486, 365, 18, 2088, 30, 393, 23250, 273, 5287, 24899, 2668, 9...
dp_som = dr_lib.add_files(datalist, Data_Paths=conf.data_paths.toPath(), SO_Axis=conf.so_axis, Signal_ROI=conf.roi_file, dataset_type="background", Verbose=conf.verbose, Timer=t)[0] if t is not None: t.getTime(msg="After reading %s " % dataset_type)
dp_som = dr_lib.add_files(config.data, Data_Paths=config.data_paths.toPath(), SO_Axis=config.so_axis, Signal_ROI=config.roi_file, dataset_type=dataset_type, Verbose=config.verbose, Timer=tim)[0] if tim is not None: tim.getTime(msg="After reading %s " % dataset_type)
def run(config, tim=None): """ This method is where the data reduction process gets done. @param config: Object containing the data reduction configuration information. @type config: L{hlr_utils.Configure} @param tim: (OPTIONAL) Object that will allow the method to perform timing evaluations. @type tim: C{sns_time.Di...
bb758ce3cbe25f73e8a8618bfaf541f06d48e121 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/763/bb758ce3cbe25f73e8a8618bfaf541f06d48e121/sas_background.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 1425, 16, 1658, 33, 7036, 4672, 3536, 1220, 707, 353, 1625, 326, 501, 20176, 1207, 5571, 2731, 18, 225, 632, 891, 642, 30, 1033, 4191, 326, 501, 20176, 1664, 1779, 18, 632, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 1425, 16, 1658, 33, 7036, 4672, 3536, 1220, 707, 353, 1625, 326, 501, 20176, 1207, 5571, 2731, 18, 225, 632, 891, 642, 30, 1033, 4191, 326, 501, 20176, 1664, 1779, 18, 632, 7...
self.tk.call(self._w, 'insert', index, str)
self.tk.call(self._w, 'insert', index, str)
def insert(self, index, str):
b0e44d61d9e592e1acd6aa05eac9704ba5776f61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b0e44d61d9e592e1acd6aa05eac9704ba5776f61/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 12, 2890, 16, 770, 16, 609, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2243, 12, 2890, 16, 770, 16, 609, 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, ...
("WebKitExamplePlugins", []),
("Examples", []),
def _should_file_trigger_build(target_platform, file): # The directories and patterns lists below map directory names or # regexp patterns to the bot platforms for which they should trigger a # build. Mapping to the empty list means that no builds should be # triggered on any platforms. Earlier directories/patterns tak...
b9b5350e4875ae22850cfe56b8b2712388e4f60d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/b9b5350e4875ae22850cfe56b8b2712388e4f60d/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13139, 67, 768, 67, 10668, 67, 3510, 12, 3299, 67, 9898, 16, 585, 4672, 468, 1021, 6402, 471, 6884, 6035, 5712, 852, 1867, 1257, 578, 468, 7195, 6884, 358, 326, 2512, 17422, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13139, 67, 768, 67, 10668, 67, 3510, 12, 3299, 67, 9898, 16, 585, 4672, 468, 1021, 6402, 471, 6884, 6035, 5712, 852, 1867, 1257, 578, 468, 7195, 6884, 358, 326, 2512, 17422, 364, ...
Return True if this equality is definitely true. Return False if it is false or the algorithm for testing equality is
Return True if this (in)equality is definitely true. Return False if it is false or the algorithm for testing (in)equality is
def __nonzero__(self): """ Return True if this equality is definitely true. Return False if it is false or the algorithm for testing equality is inconclusive.
34322a2587908fe3b63b06b50f2f5a45bfc52c1e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/34322a2587908fe3b63b06b50f2f5a45bfc52c1e/equations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 26449, 972, 12, 2890, 4672, 3536, 2000, 1053, 309, 333, 261, 267, 13, 9729, 560, 353, 2217, 25818, 638, 18, 225, 2000, 1083, 309, 518, 353, 629, 578, 326, 4886, 364, 7769, 261, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 26449, 972, 12, 2890, 4672, 3536, 2000, 1053, 309, 333, 261, 267, 13, 9729, 560, 353, 2217, 25818, 638, 18, 225, 2000, 1083, 309, 518, 353, 629, 578, 326, 4886, 364, 7769, 261, 2...
for symbol, object in line:
for symbol, obj in line:
def __unicode__(self): self.objectMap = [] output = u'' for page in self.pages: for line in page: for symbol, object in line: output += symbol self.objectMap += [object]*len(symbol) output += u'\n' self.objectMap += [None] output += u'\n' self.objectMap += [None] return output
33ef92586a1f46016e0adc007cb50c6fe70f43a0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8648/33ef92586a1f46016e0adc007cb50c6fe70f43a0/braillemusic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9124, 972, 12, 2890, 4672, 365, 18, 1612, 863, 273, 5378, 876, 273, 582, 6309, 364, 1363, 316, 365, 18, 7267, 30, 364, 980, 316, 1363, 30, 364, 3273, 16, 1081, 316, 980, 30, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9124, 972, 12, 2890, 4672, 365, 18, 1612, 863, 273, 5378, 876, 273, 582, 6309, 364, 1363, 316, 365, 18, 7267, 30, 364, 980, 316, 1363, 30, 364, 3273, 16, 1081, 316, 980, 30, 87...
(libsumi) CRC32 FAILURE: -2dca16cd vs 0e97bd2c
(libsumi) ** CRC32 Failure from ['foo'] in 1482184792: -2dca16cd vs 0e97bd2c
def check_crc(pkt): r'''Check the CRC32 of a packet, returning True if it is correct. >>> pkt = calc_crc("fooXXXX\0\0\0\0ZZZZZZ") >>> pkt 'fooXXXX\xd25\xe93ZZZZZZ' >>> check_crc(pkt) True >>> check_crc(pkt[0:11]) # Detect truncation (libsumi) CRC32 FAILURE: -2dca16cd vs 0e97bd2c False >>> check_crc('g' + pkt[...
00faaf1f6e6aae828366b2989ca1ea5d57c93501 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2496/00faaf1f6e6aae828366b2989ca1ea5d57c93501/libsumi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 22988, 12, 5465, 88, 4672, 436, 26418, 1564, 326, 21773, 1578, 434, 279, 4414, 16, 5785, 1053, 309, 518, 353, 3434, 18, 225, 4080, 11536, 273, 7029, 67, 22988, 2932, 11351, 2430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22988, 12, 5465, 88, 4672, 436, 26418, 1564, 326, 21773, 1578, 434, 279, 4414, 16, 5785, 1053, 309, 518, 353, 3434, 18, 225, 4080, 11536, 273, 7029, 67, 22988, 2932, 11351, 2430...
ext = os.path.splitext(name)[1].upper().replace('.', '') if ext in config['internally_viewed_formats']: if ext == 'LRF': args = ['lrfviewer', name] self.job_manager.server.run_free_job('lrfviewer', kwdargs=dict(args=args)) else: args = ['ebook-viewer', name] if isosx: args.append('--raise-window') self.job_manager.serv...
if internal: args = [viewer] if isosx and 'ebook' in viewer: args.append('--raise-window') if name is not None: args.append(name) self.job_manager.server.run_free_job(viewer, kwdargs=dict(args=args))
def _view_file(self, name): self.setCursor(Qt.BusyCursor) try: ext = os.path.splitext(name)[1].upper().replace('.', '') if ext in config['internally_viewed_formats']: if ext == 'LRF': args = ['lrfviewer', name] self.job_manager.server.run_free_job('lrfviewer', kwdargs=dict(args=args)) else: args = ['ebook-viewer', name...
c9c4c15f3fae96762949d46b3520d0358b7ddbfc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/c9c4c15f3fae96762949d46b3520d0358b7ddbfc/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1945, 67, 768, 12, 2890, 16, 508, 4672, 365, 18, 542, 6688, 12, 23310, 18, 29289, 6688, 13, 775, 30, 309, 2713, 30, 833, 273, 306, 25256, 65, 309, 353, 538, 92, 471, 296, 73, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1945, 67, 768, 12, 2890, 16, 508, 4672, 365, 18, 542, 6688, 12, 23310, 18, 29289, 6688, 13, 775, 30, 309, 2713, 30, 833, 273, 306, 25256, 65, 309, 353, 538, 92, 471, 296, 73, ...
raise Exception('No working themes found in "/usr/share/dockbar/themes" or "~/.dockbar/themes"')
raise Exception('No working themes found in "/usr/share/dockbarx/themes" or "~/.dockbarx/themes"')
def find_themes(self): # Reads the themes from /usr/share/dockbar/themes and ~/.dockbar/themes # and returns a dict of the theme names and paths so that # a theme can be loaded themes = {} theme_paths = [] homeFolder = os.path.expanduser("~") theme_folder = homeFolder + "/.dockbar/themes" dirs = ["/usr/share/dockbar/th...
304e2b345d52a482589f8e458774562351d8fa49 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7075/304e2b345d52a482589f8e458774562351d8fa49/dockbarx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 17328, 12, 2890, 4672, 468, 29185, 326, 15455, 628, 342, 13640, 19, 14419, 19, 72, 975, 3215, 19, 17328, 471, 4871, 15865, 72, 975, 3215, 19, 17328, 468, 471, 1135, 279, 2065, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 67, 17328, 12, 2890, 4672, 468, 29185, 326, 15455, 628, 342, 13640, 19, 14419, 19, 72, 975, 3215, 19, 17328, 471, 4871, 15865, 72, 975, 3215, 19, 17328, 468, 471, 1135, 279, 2065, ...
_fl_set_graphics_mode = cfuncproto(so_libforms, "fl_set_graphics_mode", None, [cty.c_int, cty.c_int],
_fl_set_graphics_mode = cfuncproto(so_libforms, "fl_set_graphics_mode", None, [cty.c_int, cty.c_int],
def fl_get_app_resources(appresource, n): """ fl_get_app_resources(appresource, n) """ _fl_get_app_resources(appresource, n)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 2910, 67, 4683, 12, 2910, 3146, 16, 290, 4672, 3536, 1183, 67, 588, 67, 2910, 67, 4683, 12, 2910, 3146, 16, 290, 13, 3536, 225, 389, 2242, 67, 588, 67, 2910, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 2910, 67, 4683, 12, 2910, 3146, 16, 290, 4672, 3536, 1183, 67, 588, 67, 2910, 67, 4683, 12, 2910, 3146, 16, 290, 13, 3536, 225, 389, 2242, 67, 588, 67, 2910, 67, ...
subject, text, self.preferred_language)
subject, text)
def ApprovedDeleteMember(self, name, whence=None, admin_notif=None, userack=None): if userack is None: userack = self.send_goodbye_msg if admin_notif is None: admin_notif = self.admin_notify_mchanges # Delete a member, for which we know the approval has been made fullname, emailaddr = parseaddr(name) if not self.isMemb...
f4fa04dd9e099cfffeb8833f89d899c5b12b3965 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/f4fa04dd9e099cfffeb8833f89d899c5b12b3965/MailList.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1716, 685, 2155, 2613, 4419, 12, 2890, 16, 508, 16, 23692, 33, 7036, 16, 3981, 67, 902, 430, 33, 7036, 16, 729, 484, 33, 7036, 4672, 309, 729, 484, 353, 599, 30, 729, 484, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1716, 685, 2155, 2613, 4419, 12, 2890, 16, 508, 16, 23692, 33, 7036, 16, 3981, 67, 902, 430, 33, 7036, 16, 729, 484, 33, 7036, 4672, 309, 729, 484, 353, 599, 30, 729, 484, 273, 365, ...
self.output_cache = lal.CacheEntry(ifonames, job.name.upper(), segments.segment(p_nodes[0].start_time,p_nodes[0].end_time), "file://localhost/"+job.output_path+"/"+self.id)
self.output_cache = lal.CacheEntry(ifonames, job.name.upper(), segments.segment(p_nodes[0].start_time,p_nodes[0].end_time), "file://localhost/"+job.outputPath+"/"+self.id)
def __init__(self,job,coinc,cp,opts,dag,ifo,ifonames,p_nodes): pipeline.CondorDAGNode.__init__(self,job)
3af1377420f931dbe3b70739b6b876a49bb02304 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/3af1377420f931dbe3b70739b6b876a49bb02304/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4688, 16, 12645, 71, 16, 4057, 16, 4952, 16, 30204, 16, 20299, 16, 430, 265, 753, 16, 84, 67, 4690, 4672, 5873, 18, 12441, 280, 40, 1781, 907, 16186, 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, 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, 4688, 16, 12645, 71, 16, 4057, 16, 4952, 16, 30204, 16, 20299, 16, 430, 265, 753, 16, 84, 67, 4690, 4672, 5873, 18, 12441, 280, 40, 1781, 907, 16186, 2...
d = dict(summary="Total Usage Statistics",
d = dict(summary="Total Usage Statistics:",
def usage(self): depts = self.__server.getDeptNames() graphs = []
831cc40a01546f6c56ea80480577705526a375b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5056/831cc40a01546f6c56ea80480577705526a375b0/webapp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 12, 2890, 4672, 443, 1092, 273, 365, 16186, 3567, 18, 588, 758, 337, 1557, 1435, 19422, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4084, 12, 2890, 4672, 443, 1092, 273, 365, 16186, 3567, 18, 588, 758, 337, 1557, 1435, 19422, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return self.id_get(cr, None, node_uid)
return self.id_get(cr, node_uid)
def get_uid(self, cr, uid, data_node, node): node_uid = node.get('uid','') or (len(data_node) and data_node.get('uid','')) if node_uid: return self.id_get(cr, None, node_uid) return uid
07a4bc7f3fdbd5f93ba4a066290ae65a3016075c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/07a4bc7f3fdbd5f93ba4a066290ae65a3016075c/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1911, 12, 2890, 16, 4422, 16, 4555, 16, 501, 67, 2159, 16, 756, 4672, 756, 67, 1911, 273, 756, 18, 588, 2668, 1911, 17023, 6134, 578, 261, 1897, 12, 892, 67, 2159, 13, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1911, 12, 2890, 16, 4422, 16, 4555, 16, 501, 67, 2159, 16, 756, 4672, 756, 67, 1911, 273, 756, 18, 588, 2668, 1911, 17023, 6134, 578, 261, 1897, 12, 892, 67, 2159, 13, 471, ...
self.pay(c.registration.id, quiet=1)
def new(self, id): able, response = self._able_to_register() if not able: return response errors = {} defaults = dict(request.POST)
2f7bb74b9abbe5ee77cffcee9c1f7007ae1fb512 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12856/2f7bb74b9abbe5ee77cffcee9c1f7007ae1fb512/registration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 12, 2890, 16, 612, 4672, 7752, 16, 766, 273, 365, 6315, 429, 67, 869, 67, 4861, 1435, 309, 486, 7752, 30, 327, 766, 1334, 273, 2618, 3467, 273, 2065, 12, 2293, 18, 3798, 13, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 12, 2890, 16, 612, 4672, 7752, 16, 766, 273, 365, 6315, 429, 67, 869, 67, 4861, 1435, 309, 486, 7752, 30, 327, 766, 1334, 273, 2618, 3467, 273, 2065, 12, 2293, 18, 3798, 13, 2, ...
else
else:
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 256) else quickfix.StringField.__init__(self, 256, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 8303, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 8303, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972,...
assert type(self.obsolete)==type(0)
assert type(self.obsolete)==type(0) and (self.obsolete==0 or self.obsolete==1)
def __init__( self,schema_element_str=None, oid=None,#REQUIRED names=None,#OPTIONAL desc=None,#OPTIONAL obsolete=0,#0=no, 1=yes sup=[],#OPTIONAL kind=1,#0=ABSTRACT must=[],#OPTIONAL may=[],#OPTIONAL ext=None,#OPTIONAL
b6f41870b706b7c894e5e073f60e00eafe2e147f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4610/b6f41870b706b7c894e5e073f60e00eafe2e147f/schema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 4821, 67, 2956, 67, 701, 33, 7036, 16, 7764, 33, 7036, 16, 7, 14977, 1257, 33, 7036, 16, 7, 14165, 3044, 33, 7036, 16, 7, 14165, 27191, 33, 20, 16, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 4821, 67, 2956, 67, 701, 33, 7036, 16, 7764, 33, 7036, 16, 7, 14977, 1257, 33, 7036, 16, 7, 14165, 3044, 33, 7036, 16, 7, 14165, 27191, 33, 20, 16, 7,...
return window
return window
def __get_window(self, hWnd): """ User internally to get another Window from this one. It'll try to copy the parent Process and Thread references if possible. """ window = Window(hWnd) if window.get_pid() == self.get_pid(): window.set_process( self.get_process() ) if window.get_tid() == self.get_tid(): window.set_threa...
616de90b6134a228a95668f52d12ba0ace4c49af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7261/616de90b6134a228a95668f52d12ba0ace4c49af/system.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 67, 5668, 12, 2890, 16, 366, 59, 4880, 4672, 3536, 2177, 12963, 358, 336, 4042, 6076, 628, 333, 1245, 18, 2597, 5614, 775, 358, 1610, 326, 982, 4389, 471, 4884, 5351, 309, 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, 1001, 588, 67, 5668, 12, 2890, 16, 366, 59, 4880, 4672, 3536, 2177, 12963, 358, 336, 4042, 6076, 628, 333, 1245, 18, 2597, 5614, 775, 358, 1610, 326, 982, 4389, 471, 4884, 5351, 309, 3...
def name(self): return '%s.%s' % (self._base.name(), self._shortname) def shortname(self): return self._shortname
def name(self): return '%s.%s' % (self._base.name(), self._shortname) def shortname(self): return self._shortname
def name(self): return '%s.%s' % (self._base.name(), self._shortname)
9befd5ad47b971682b4e165a19931e0f4bb82f5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/9befd5ad47b971682b4e165a19931e0f4bb82f5a/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 12, 2890, 4672, 327, 1995, 87, 7866, 87, 11, 738, 261, 2890, 6315, 1969, 18, 529, 9334, 365, 6315, 28650, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 12, 2890, 4672, 327, 1995, 87, 7866, 87, 11, 738, 261, 2890, 6315, 1969, 18, 529, 9334, 365, 6315, 28650, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return LIGOTimeGPS(self.seconds - other.seconds, self.nanoseconds - other.nanoseconds)
return LIGOTimeGPS(self.__seconds - other.seconds, self.__nanoseconds - other.nanoseconds)
def __sub__(self, other): """ Subtract a value from a LIGOTimeGPS. If the value being subtracted from the LIGOTimeGPS is not also a LIGOTimeGPS, then an attempt is made to convert it to a LIGOTimeGPS.
d76a8cdc25081f007a8ffbb0773fb7fe77a2a127 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/d76a8cdc25081f007a8ffbb0773fb7fe77a2a127/lal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1717, 972, 12, 2890, 16, 1308, 4672, 3536, 2592, 1575, 279, 460, 628, 279, 511, 3047, 51, 950, 28983, 18, 225, 971, 326, 460, 3832, 10418, 329, 628, 326, 511, 3047, 51, 950, 2898...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1717, 972, 12, 2890, 16, 1308, 4672, 3536, 2592, 1575, 279, 460, 628, 279, 511, 3047, 51, 950, 28983, 18, 225, 971, 326, 460, 3832, 10418, 329, 628, 326, 511, 3047, 51, 950, 2898...
from ctypes import byref, sizeof
from ctypes import byref
def test_cw_strings(self): from ctypes import byref, sizeof try: from ctypes import c_wchar, c_wchar_p except ImportError:
84a4f00bb19995d00fd74600efdb21f2ba82ed99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/84a4f00bb19995d00fd74600efdb21f2ba82ed99/test_parameters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 71, 91, 67, 10219, 12, 2890, 4672, 628, 6983, 1930, 12725, 775, 30, 628, 6983, 1930, 276, 67, 91, 3001, 16, 276, 67, 91, 3001, 67, 84, 1335, 11308, 30, 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, 1842, 67, 71, 91, 67, 10219, 12, 2890, 4672, 628, 6983, 1930, 12725, 775, 30, 628, 6983, 1930, 276, 67, 91, 3001, 16, 276, 67, 91, 3001, 67, 84, 1335, 11308, 30, 2, -100, -100, -100,...
def accounts_e_changed(self, e): self.accounts = e.get_text().split() config.set('plugins', self.c_accounts, e.get_text())
def accounts_changed(self, entry): self.accounts = entry.get_text().split() config.set('plugins', self.c_accounts, entry.get_text())
def accounts_e_changed(self, e): self.accounts = e.get_text().split() config.set('plugins', self.c_accounts, e.get_text())
24a5de3faaf31e123f1b96a3a84045348d8831fd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4764/24a5de3faaf31e123f1b96a3a84045348d8831fd/gajim_status.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9484, 67, 73, 67, 6703, 12, 2890, 16, 425, 4672, 365, 18, 13739, 273, 425, 18, 588, 67, 955, 7675, 4939, 1435, 642, 18, 542, 2668, 8057, 2187, 365, 18, 71, 67, 13739, 16, 425, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9484, 67, 73, 67, 6703, 12, 2890, 16, 425, 4672, 365, 18, 13739, 273, 425, 18, 588, 67, 955, 7675, 4939, 1435, 642, 18, 542, 2668, 8057, 2187, 365, 18, 71, 67, 13739, 16, 425, 18, ...
{'bohr_magneton':'Physical constant defined to be the magnetic moment of an electron, or elementary_charge*h_bar/2*electron_rest_mass.\nApproximately equal to 9.274*10^-24 joules/tesla.', 'nuclear_magneton':'Physical constant defined to be the magnetic moment of a proton, or elementary_charge*h_bar/2*proton_rest_mass.\...
{'bohr_magneton':'Physical constant defined to be the magnetic moment of an electron, or elementary_charge*h_bar/2*electron_rest_mass.\nApproximately equal to 9.274*10^-24 joules/tesla.', 'nuclear_magneton':'Physical constant defined to be the magnetic moment of a proton, or elementary_charge*h_bar/2*proton_rest_mass.\...
def evalunitdict(): """ Replace all the string values of the unitdict variable by their evaluated forms, and builds some other tables for ease of use. This function is mainly used internally, for efficiency (and flexibility) purposes, making it easier to describe the units. EXAMPLES:: sage: sage.symbolic.units.evalun...
36d2f28c044694ad73a4a70a9d869366d0e39ec4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/36d2f28c044694ad73a4a70a9d869366d0e39ec4/units.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 4873, 1576, 13332, 3536, 6910, 777, 326, 533, 924, 434, 326, 2836, 1576, 2190, 635, 3675, 12697, 10138, 16, 471, 10736, 2690, 1308, 4606, 364, 28769, 434, 999, 18, 1220, 445, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5302, 4873, 1576, 13332, 3536, 6910, 777, 326, 533, 924, 434, 326, 2836, 1576, 2190, 635, 3675, 12697, 10138, 16, 471, 10736, 2690, 1308, 4606, 364, 28769, 434, 999, 18, 1220, 445, 353, ...
template_string = template_defaults[template_string]
template_string = template_defaults[template_string]
def set_edit_template(template_string): r""" Sets default edit template string. It should reference ${file} and ${line}. This routine normally needs to be called prior to using 'edit'. However, if the editor set in the shell variable EDITOR is known, then the system will substitute an appropriate template for you. See...
0a9baf1032bc33f717de93e85aa5d6387253a75c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/0a9baf1032bc33f717de93e85aa5d6387253a75c/edit_module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 4619, 67, 3202, 12, 3202, 67, 1080, 4672, 436, 8395, 11511, 805, 3874, 1542, 533, 18, 225, 2597, 1410, 2114, 3531, 768, 97, 471, 3531, 1369, 5496, 1220, 12245, 15849, 4260, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 4619, 67, 3202, 12, 3202, 67, 1080, 4672, 436, 8395, 11511, 805, 3874, 1542, 533, 18, 225, 2597, 1410, 2114, 3531, 768, 97, 471, 3531, 1369, 5496, 1220, 12245, 15849, 4260, 358,...
None, [cty.POINTER(FL_OBJECT), cty.c_int],
None, [cty.POINTER(FL_OBJECT), cty.c_int],
def fl_set_input(ob, str): """ fl_set_input(ob, str) """ _fl_set_input(ob, str)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 2630, 12, 947, 16, 609, 4672, 3536, 1183, 67, 542, 67, 2630, 12, 947, 16, 609, 13, 3536, 225, 389, 2242, 67, 542, 67, 2630, 12, 947, 16, 609, 13, 282, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 2630, 12, 947, 16, 609, 4672, 3536, 1183, 67, 542, 67, 2630, 12, 947, 16, 609, 13, 3536, 225, 389, 2242, 67, 542, 67, 2630, 12, 947, 16, 609, 13, 282, 2, -100, ...
def __init__(self, vfield, version, start=0, fmt=WORD): field.__init__(self, start=start, fmt=fmt) self.vfield, self.version = vfield, version def enabled(self): return self.vfield > self.version def __get__(self, obj, typ=None): if self.enabled(): return field.__get__(self, obj, typ=typ) else: return None def __set...
def __init__(self, vfield, version, start=0, fmt=WORD): field.__init__(self, start=start, fmt=fmt) self.vfield, self.version = vfield, version def enabled(self): return self.vfield > self.version def __get__(self, obj, typ=None): if self.enabled(): return field.__get__(self, obj, typ=typ) else: return None def __set...
def __init__(self, vfield, version, start=0, fmt=WORD): field.__init__(self, start=start, fmt=fmt) self.vfield, self.version = vfield, version
9f4a2c9d72c91ba61228aba9ba55f72d95b56e48 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9125/9f4a2c9d72c91ba61228aba9ba55f72d95b56e48/meta.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 331, 1518, 16, 1177, 16, 787, 33, 20, 16, 1325, 33, 7952, 4672, 652, 16186, 2738, 972, 12, 2890, 16, 787, 33, 1937, 16, 1325, 33, 8666, 13, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 331, 1518, 16, 1177, 16, 787, 33, 20, 16, 1325, 33, 7952, 4672, 652, 16186, 2738, 972, 12, 2890, 16, 787, 33, 1937, 16, 1325, 33, 8666, 13, 365, 18, ...
if not tab.startswith('id\tsummary\t'):
if not tab.startswith('\xef\xbb\xbfid\tsummary\t'):
def runTest(self): """Download ticket in Tab-delimitted format""" summary = random_sentence(5) ticketid = self._tester.create_ticket(summary) self._tester.go_to_ticket(ticketid) tc.follow('Tab-delimited Text') tab = b.get_html() if not tab.startswith('id\tsummary\t'): raise AssertionError('Bad tab delimitted format')
08461a10777428b23156ab4c521f83a3a954b807 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/08461a10777428b23156ab4c521f83a3a954b807/functional.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4709, 12, 2890, 4672, 3536, 7109, 9322, 316, 9483, 17, 3771, 1038, 2344, 740, 8395, 4916, 273, 2744, 67, 19335, 12, 25, 13, 9322, 350, 273, 365, 6315, 1078, 387, 18, 2640, 67, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4709, 12, 2890, 4672, 3536, 7109, 9322, 316, 9483, 17, 3771, 1038, 2344, 740, 8395, 4916, 273, 2744, 67, 19335, 12, 25, 13, 9322, 350, 273, 365, 6315, 1078, 387, 18, 2640, 67, 16...
if urlDict.has_key('surl') and urlDict['surl']: pathSURL = self.getUrl(urlDict['surl'])['Value']
if urlDict.has_key( 'surl' ) and urlDict['surl']: pathSURL = self.getUrl( urlDict['surl'] )['Value']
def getFileSize(self,path): """Get the physical size of the given file """ res = self.checkArgumentFormat(path) if not res['OK']: return res urls = res['Value']
70e66af095cb6701e39b1e701e4a2ce4d012b4f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/70e66af095cb6701e39b1e701e4a2ce4d012b4f7/SRM2Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 1225, 12, 2890, 16, 803, 4672, 3536, 967, 326, 11640, 963, 434, 326, 864, 585, 3536, 400, 273, 365, 18, 1893, 1379, 1630, 12, 803, 13, 309, 486, 400, 3292, 3141, 3546, 30, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 1225, 12, 2890, 16, 803, 4672, 3536, 967, 326, 11640, 963, 434, 326, 864, 585, 3536, 400, 273, 365, 18, 1893, 1379, 1630, 12, 803, 13, 309, 486, 400, 3292, 3141, 3546, 30, 327, ...
if field == ["id"]: data_id = line[i] continue
def process_liness(self, datas, prefix, fields_def, position=0): line = datas[position] row = {} translate = {} todo = [] warning = '' data_id = False
33a2aefda755900cf1c79acb1b8300ca1ad3541f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/33a2aefda755900cf1c79acb1b8300ca1ad3541f/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 80, 6336, 12, 2890, 16, 5386, 16, 1633, 16, 1466, 67, 536, 16, 1754, 33, 20, 4672, 980, 273, 5386, 63, 3276, 65, 1027, 273, 2618, 4204, 273, 2618, 10621, 273, 5378, 3436, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 80, 6336, 12, 2890, 16, 5386, 16, 1633, 16, 1466, 67, 536, 16, 1754, 33, 20, 4672, 980, 273, 5386, 63, 3276, 65, 1027, 273, 2618, 4204, 273, 2618, 10621, 273, 5378, 3436, 2...
self.processSpaceCharacters = new.instancemethod( Phase.processSpaceCharacters, self)
self.processSpaceCharacters = self.processSpaceCharactersNonPre
def endTagBlock(self, name): #Put us back in the right whitespace handling mode if name == "pre": self.processSpaceCharacters = new.instancemethod( Phase.processSpaceCharacters, self) inScope = self.tree.elementInScope(name) if inScope: self.tree.generateImpliedEndTags() if self.tree.openElements[-1].name != name: self...
45d8cc925f4a0654cea0c762e7684cf04f0327cf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4487/45d8cc925f4a0654cea0c762e7684cf04f0327cf/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 1768, 12, 2890, 16, 508, 4672, 468, 6426, 584, 1473, 316, 326, 2145, 7983, 5057, 1965, 309, 508, 422, 315, 1484, 6877, 365, 18, 2567, 3819, 11600, 273, 365, 18, 2567, 3819, 11600,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29765, 1768, 12, 2890, 16, 508, 4672, 468, 6426, 584, 1473, 316, 326, 2145, 7983, 5057, 1965, 309, 508, 422, 315, 1484, 6877, 365, 18, 2567, 3819, 11600, 273, 365, 18, 2567, 3819, 11600,...
result.append( { 'id' : brain.id,
result.append({ 'id': brain.id,
def get_batched_folder_contents(self): """Return a list of dictionaries with the realestate objects in the folder """
ab255b02397d8a9779fafe7637da3db9254fa151 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10433/ab255b02397d8a9779fafe7637da3db9254fa151/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5303, 329, 67, 5609, 67, 3980, 12, 2890, 4672, 3536, 990, 279, 666, 434, 16176, 598, 326, 2863, 395, 340, 2184, 316, 326, 3009, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5303, 329, 67, 5609, 67, 3980, 12, 2890, 4672, 3536, 990, 279, 666, 434, 16176, 598, 326, 2863, 395, 340, 2184, 316, 326, 3009, 3536, 2, -100, -100, -100, -100, -100, -100, -1...
static object looking at the last exceptiopn. It is queried through
static object looking at the last exception. It is queried through
def open_remote_stack_viewer(self): """Initiate the remote stack viewer from a separate thread.
7ed6cc2168ae16b6febe4e7dded85c3ee6b8ed30 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/7ed6cc2168ae16b6febe4e7dded85c3ee6b8ed30/PyShell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 7222, 67, 3772, 67, 25256, 12, 2890, 4672, 3536, 28464, 326, 2632, 2110, 14157, 628, 279, 9004, 2650, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1696, 67, 7222, 67, 3772, 67, 25256, 12, 2890, 4672, 3536, 28464, 326, 2632, 2110, 14157, 628, 279, 9004, 2650, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
"This signifies a client socket" if port is not None: addr = (addr, port) assert not self.sock host, port = addr if host == "": host = java.net.InetAddress.getLocalHost() self._setup(java.net.Socket(host, port))
"This signifies a client socket" if port is not None: addr = (addr, port) assert not self.sock host, port = addr if host == "": host = java.net.InetAddress.getLocalHost() try: cli_sock = java.net.Socket() addr = java.net.InetSocketAddress(host, port) if self.timeout: cli_sock.connect(addr, int(self.timeout*1000)) else:...
def connect(self, addr, port=None):
7e3864db15e592bcdf6d221ca5a88c370ad31f83 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/7e3864db15e592bcdf6d221ca5a88c370ad31f83/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 16, 3091, 16, 1756, 33, 7036, 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, 3077, 12, 2890, 16, 3091, 16, 1756, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if self.db:
if self.db is not None:
def _delState(self, msg): if self.db: del self.db[msg.getId()]
2f488634cbe60bf71d6c1b0f974304583ce5ebfc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/2f488634cbe60bf71d6c1b0f974304583ce5ebfc/message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3771, 1119, 12, 2890, 16, 1234, 4672, 309, 365, 18, 1966, 353, 486, 599, 30, 1464, 365, 18, 1966, 63, 3576, 18, 26321, 1435, 65, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3771, 1119, 12, 2890, 16, 1234, 4672, 309, 365, 18, 1966, 353, 486, 599, 30, 1464, 365, 18, 1966, 63, 3576, 18, 26321, 1435, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
print "Error parsing line : "
print "ERROR : in parsing line : "
def track_line_parse(self, line): """ Parses a line in a track description file. line (string) : the line of text to be parsed """ elements = string.replace(string.upper(line), ",", " ").split() kind = "" total_arguments = 0
6e7d5f2b538b57b791a24be47e353bb93f68d00a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4798/6e7d5f2b538b57b791a24be47e353bb93f68d00a/init.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3298, 67, 1369, 67, 2670, 12, 2890, 16, 980, 4672, 3536, 2280, 2420, 279, 980, 316, 279, 3298, 2477, 585, 18, 980, 565, 261, 1080, 13, 565, 294, 282, 326, 980, 434, 977, 358, 506, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3298, 67, 1369, 67, 2670, 12, 2890, 16, 980, 4672, 3536, 2280, 2420, 279, 980, 316, 279, 3298, 2477, 585, 18, 980, 565, 261, 1080, 13, 565, 294, 282, 326, 980, 434, 977, 358, 506, 27...
fixLists(root)
def buildAdvancedTree(root): # USE WITH CARE """ extends and cleans parse trees do not use this funcs without knowing whether these Node modifications fit your problem """ extendClasses(root) fixTagNodes(root) removeNodes(root) removeNewlines(root) fixStyles(root) fixLists(root) removeBreakingReturns(root)
32113a06119092e8de8b02dc4546ac73c8726a5a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12391/32113a06119092e8de8b02dc4546ac73c8726a5a/advtree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 23618, 2471, 12, 3085, 4672, 468, 14988, 13601, 6425, 862, 3536, 3231, 471, 1619, 634, 1109, 11491, 741, 486, 999, 333, 15630, 2887, 5055, 310, 2856, 4259, 2029, 17953, 4845, 3433, 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, 1361, 23618, 2471, 12, 3085, 4672, 468, 14988, 13601, 6425, 862, 3536, 3231, 471, 1619, 634, 1109, 11491, 741, 486, 999, 333, 15630, 2887, 5055, 310, 2856, 4259, 2029, 17953, 4845, 3433, 6...
optgrp.add_option("-f", "--fanout", action="store", dest="fanout", help="use a specified fanout", type="int")
optgrp.add_option("-o", "--options", action="store", dest="options", help="can be used to give ssh options")
def clush_main(args): """Main clush script function""" # Default values nodeset_base, nodeset_exclude = NodeSet(), NodeSet() # # Argument management # usage = "%prog [options] command" parser = optparse.OptionParser(usage, version="%%prog %s" % version) parser.disable_interspersed_args() # Node selections optgrp = ...
9ef4e2bbb97afd906e67808e3f42d84669e30a93 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11479/9ef4e2bbb97afd906e67808e3f42d84669e30a93/clush.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 927, 1218, 67, 5254, 12, 1968, 4672, 3536, 6376, 927, 1218, 2728, 445, 8395, 225, 468, 2989, 924, 2199, 278, 67, 1969, 16, 2199, 278, 67, 10157, 273, 2029, 694, 9334, 2029, 694, 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, 927, 1218, 67, 5254, 12, 1968, 4672, 3536, 6376, 927, 1218, 2728, 445, 8395, 225, 468, 2989, 924, 2199, 278, 67, 1969, 16, 2199, 278, 67, 10157, 273, 2029, 694, 9334, 2029, 694, 1435, ...
pkgs = ["base", "tools", "headers"]
pkgs = ["base", "tools", "headers", "uninstall16"]
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm...
604635fc9f5c244a6794b3a0bb394ee2f45399fa /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/604635fc9f5c244a6794b3a0bb394ee2f45399fa/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 18678, 4618, 60, 13332, 309, 261, 54, 25375, 4672, 468, 14373, 326, 1221, 67, 20163, 2728, 18, 1436, 774, 743, 3491, 2932, 40, 61, 12069, 67, 2053, 28254, 67, 4211, 3113, 968, 1447...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4344, 18678, 4618, 60, 13332, 309, 261, 54, 25375, 4672, 468, 14373, 326, 1221, 67, 20163, 2728, 18, 1436, 774, 743, 3491, 2932, 40, 61, 12069, 67, 2053, 28254, 67, 4211, 3113, 968, 1447...
opts, args = getopt.getopt(sys.argv[1:], 'p:u:v9')
opts, args = getopt.getopt(sys.argv[1:], 'p:u:DIv9')
def main(): user, password = 'superuser', '123' opts, args = getopt.getopt(sys.argv[1:], 'p:u:v9') global verbose global old for o, v in opts: if o=='-p': d, f = os.path.split(v) if f=='ZPublisher': sys.path.insert(0,d) else: sys.path.insert(0,v) elif o=='-u': v = string.split(v,':') user, password = v[0], string.join(...
9d889bec612f3bf809e69d44817c619206e3be32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/9d889bec612f3bf809e69d44817c619206e3be32/load_site.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 729, 16, 2201, 273, 296, 9565, 1355, 2187, 296, 12936, 11, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 84, 30, 89, 30, 2565...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 729, 16, 2201, 273, 296, 9565, 1355, 2187, 296, 12936, 11, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 84, 30, 89, 30, 2565...
self.assert_(self._box.get_string(key0) ==
self.assertEqual(self._box.get_string(key0),
def test_update(self): # Modify multiple messages using update() key0 = self._box.add(self._template % 'original 0') key1 = self._box.add(self._template % 'original 1') key2 = self._box.add(self._template % 'original 2') self._box.update({key0: self._template % 'changed 0', key2: _sample_message}) self.assertEqual(len(...
9d1fae6c21b9661e8074aa8a166635ba69122b4b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/9d1fae6c21b9661e8074aa8a166635ba69122b4b/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2725, 12, 2890, 4672, 468, 9518, 3229, 2743, 1450, 1089, 1435, 498, 20, 273, 365, 6315, 2147, 18, 1289, 12, 2890, 6315, 3202, 738, 296, 8830, 374, 6134, 498, 21, 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, 1842, 67, 2725, 12, 2890, 4672, 468, 9518, 3229, 2743, 1450, 1089, 1435, 498, 20, 273, 365, 6315, 2147, 18, 1289, 12, 2890, 6315, 3202, 738, 296, 8830, 374, 6134, 498, 21, 273, 365, 63...
'account_id': fields.many2one('account.account', 'Account', required=False),
'account_id':fields.property( 'account.account', type='many2one', relation='account.account', string="Account", method=True, view_load=True, help="Expanse account where company expanse will be encoded", required=True ),
def _total(self, cr, uid, ids, field_names, arg, context): res={} for line in self.browse(cr, uid, ids, context): res[line.id] = line.emp_deduction + line.comp_deduction return res
e0b739b0c4c0b55226044ed498948416ddf82a12 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/e0b739b0c4c0b55226044ed498948416ddf82a12/hr_payroll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 4672, 400, 12938, 364, 980, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 4672,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 4672, 400, 12938, 364, 980, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 4672,...
if path.endswith('42Master') : execPath='./run42-debug.sh' else :
if path.endswith('42Master') : execPath='./run42-debug.sh' else :
def testExample(id, path, nodes, input=None, args=None, ndiffDir=None,outputDir=None) : global compiler,logDir,successbuilds,f; index = successbuilds.find(compiler+'_'+path) index = successbuilds.find('|',index) if (successbuilds.startswith('success',index+1)) : newDir = logDir for folder in path.split('/') : newDir = ...
5328f0a045221d426c701212ad1cf7cc8afdae17 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1766/5328f0a045221d426c701212ad1cf7cc8afdae17/examplesTester.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 10908, 12, 350, 16, 589, 16, 2199, 16, 810, 33, 7036, 16, 833, 33, 7036, 16, 5346, 3048, 1621, 33, 7036, 16, 2844, 1621, 33, 7036, 13, 294, 2552, 5274, 16, 1330, 1621, 16, 4768...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10908, 12, 350, 16, 589, 16, 2199, 16, 810, 33, 7036, 16, 833, 33, 7036, 16, 5346, 3048, 1621, 33, 7036, 16, 2844, 1621, 33, 7036, 13, 294, 2552, 5274, 16, 1330, 1621, 16, 4768...
},
},
def addDirectory(self, dirname): for root, dirs, files in os.walk(os.path.join(self.dist_dir, dirname)): for name in files: self.addFile(os.path.join(root, name))
16717514d85be409df247e58637855a19e0ad04f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/16717514d85be409df247e58637855a19e0ad04f/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2853, 12, 2890, 16, 4283, 4672, 364, 1365, 16, 7717, 16, 1390, 316, 1140, 18, 11348, 12, 538, 18, 803, 18, 5701, 12, 2890, 18, 4413, 67, 1214, 16, 4283, 3719, 30, 364, 508, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2853, 12, 2890, 16, 4283, 4672, 364, 1365, 16, 7717, 16, 1390, 316, 1140, 18, 11348, 12, 538, 18, 803, 18, 5701, 12, 2890, 18, 4413, 67, 1214, 16, 4283, 3719, 30, 364, 508, 316,...
lasso.processRequestMsg(soap_message)
login.processRequestMsg(soap_message)
def artifact_resolve(request, soap_message): '''Resolve a SAMLv1.1 ArtifactResolve request''' server = create_idff12_server(request) login = lasso.Login(server) try: lasso.processRequestMsg(soap_message) except: raise logging.debug(_('ID-FFv1.2 artifact resolve %r') % soap_message) liberty_artifact = LibertyArtifact.ob...
ce75831b0b68aeaf9000372abdfa06f2dfa2ac82 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11208/ce75831b0b68aeaf9000372abdfa06f2dfa2ac82/idff12_endpoints.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6462, 67, 10828, 12, 2293, 16, 9930, 67, 2150, 4672, 9163, 8460, 279, 21030, 90, 21, 18, 21, 14022, 8460, 590, 26418, 1438, 273, 752, 67, 350, 1403, 2138, 67, 3567, 12, 2293, 13, 3925,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6462, 67, 10828, 12, 2293, 16, 9930, 67, 2150, 4672, 9163, 8460, 279, 21030, 90, 21, 18, 21, 14022, 8460, 590, 26418, 1438, 273, 752, 67, 350, 1403, 2138, 67, 3567, 12, 2293, 13, 3925,...
self.sock.connect(self.addr_remote) self.sock.settimeout(_timeout) _t1 = time.time() self.assertRaises(socket.error, self.sock.recv, 1024) _t2 = time.time() _delta = abs(_t1 - _t2) self.assertTrue(_delta < _timeout + self.fuzz, "timeout (%g) is %g seconds more than expected (%g)" %(_delta, self.fuzz, _timeout))
with support.transient_internet(self.addr_remote[0]): self.sock.connect(self.addr_remote) self.sock.settimeout(_timeout) _t1 = time.time() self.assertRaises(socket.timeout, self.sock.recv, 1024) _t2 = time.time() _delta = abs(_t1 - _t2) self.assertTrue(_delta < _timeout + self.fuzz, "timeout (%g) is %g seconds more ...
def testRecvTimeout(self): # Test recv() timeout _timeout = 0.02 self.sock.connect(self.addr_remote) self.sock.settimeout(_timeout)
686deb57ce5dbe3e69bea05bd3c3310395978d96 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/686deb57ce5dbe3e69bea05bd3c3310395978d96/test_timeout.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 28470, 2694, 12, 2890, 4672, 468, 7766, 10665, 1435, 2021, 389, 4538, 273, 374, 18, 3103, 365, 18, 15031, 18, 3612, 12, 2890, 18, 4793, 67, 7222, 13, 365, 18, 15031, 18, 542, 453...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 28470, 2694, 12, 2890, 4672, 468, 7766, 10665, 1435, 2021, 389, 4538, 273, 374, 18, 3103, 365, 18, 15031, 18, 3612, 12, 2890, 18, 4793, 67, 7222, 13, 365, 18, 15031, 18, 542, 453...
sys.exit(2)
sys.exit(1)
def main(argv): if len(argv) < 4: print __doc__ % argv[0] sys.exit(1) locales = [] translation_dir = argv.pop(-1) source_file = argv.pop(-1) target_file = argv.pop(-1) defines = getDefines(argv) # If this is an official build, warnings are treated as errors. treat_warnings_as_errors = defines.get('OFFICIAL_BUILD') !...
00ea35b9791951af01325916fb87ff7ff1bbf5a5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1918/00ea35b9791951af01325916fb87ff7ff1bbf5a5/parse_stab.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 1001, 2434, 972, 738, 5261, 63, 20, 65, 2589, 18, 8593, 12, 21, 13, 225, 6922, 273, 5378, 225, 4794, 67, 1214, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 1001, 2434, 972, 738, 5261, 63, 20, 65, 2589, 18, 8593, 12, 21, 13, 225, 6922, 273, 5378, 225, 4794, 67, 1214, 27...
yield line
yield escape(line)
def render(self, req, mimetype, content, filename=None, rev=None): if is_binary(content): self.env.log.debug("Binary data; no preview available") return
14eb49b622c2cc9d89594d79d652f15840c4f57a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/14eb49b622c2cc9d89594d79d652f15840c4f57a/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1111, 16, 12595, 16, 913, 16, 1544, 33, 7036, 16, 5588, 33, 7036, 4672, 309, 353, 67, 8578, 12, 1745, 4672, 365, 18, 3074, 18, 1330, 18, 4148, 2932, 5905, 501, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1111, 16, 12595, 16, 913, 16, 1544, 33, 7036, 16, 5588, 33, 7036, 4672, 309, 353, 67, 8578, 12, 1745, 4672, 365, 18, 3074, 18, 1330, 18, 4148, 2932, 5905, 501, 31...
DoEncrypt(file, key, iv, method, enc_file) DoDecrypt(enc_file, key, dec_file)
if method.startswith('OMA-DCF'): DoDcfEncrypt(file, key, iv, method, enc_file) DoDcfDecrypt(enc_file, key, dec_file) else: DoMp4Encrypt(file, key, iv, method, enc_file) DoMp4Decrypt(enc_file, key, dec_file)
def DoCleanup(files): for file in files: os.unlink(file)
ccb0fe62ee9273ea776dcfb81b0a3950de89563f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5710/ccb0fe62ee9273ea776dcfb81b0a3950de89563f/Bento4CryptoTester.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 15007, 12, 2354, 4672, 364, 585, 316, 1390, 30, 1140, 18, 318, 1232, 12, 768, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 15007, 12, 2354, 4672, 364, 585, 316, 1390, 30, 1140, 18, 318, 1232, 12, 768, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
impl(fbParams['command'], localPfn, pfn, options)
impl(fbParams['command'], localPfn, pfn, fbParams['option'])
def fallbackStageOut(self, lfn, localPfn, fbParams): """ _fallbackStageOut_
b63ef2ebf13eb8ff01e96a705e91be46458d0868 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8887/b63ef2ebf13eb8ff01e96a705e91be46458d0868/RuntimeStageOut.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5922, 8755, 1182, 12, 2890, 16, 328, 4293, 16, 1191, 52, 4293, 16, 12754, 1370, 4672, 3536, 389, 16471, 8755, 1182, 67, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5922, 8755, 1182, 12, 2890, 16, 328, 4293, 16, 1191, 52, 4293, 16, 12754, 1370, 4672, 3536, 389, 16471, 8755, 1182, 67, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if not obj.model==vals['model']: raise Exception("Inherited view model [%s] and \
child=self.pool.get(vals['model']) error="Inherited view model [%s] and \
def create(self, cr, uid, vals, context={}): if 'inherit_id' in vals: obj=self.browse(cr,uid,vals['inherit_id']) if not obj.model==vals['model']: raise Exception("Inherited view model [%s] and \ \n\n base view model [%s] do not match \ \n\n It should be same as base view model " \ %(vals['model'],obj.model)) return sup...
4943ae54d08f607103b47d7771388f4916c4d9de /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/4943ae54d08f607103b47d7771388f4916c4d9de/ir_ui_view.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 12938, 4672, 309, 296, 6018, 67, 350, 11, 316, 5773, 30, 1081, 33, 2890, 18, 25731, 12, 3353, 16, 1911, 16, 4524, 3292, 6018, 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, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 12938, 4672, 309, 296, 6018, 67, 350, 11, 316, 5773, 30, 1081, 33, 2890, 18, 25731, 12, 3353, 16, 1911, 16, 4524, 3292, 6018, 67...
afters = self.e.signal.afters if afters: fixedname = afters[0][1:afters[0].rindex("@")] self["main"]["action"].value = fixedname else: self["main"]["action"].value = ""
self.group_hide("actions") self.group_show("actions")
def _update(self, emissor, data): self._header_table["name"].value = data self._header_table["name"].show_value() # self._header_table["name"].value_obj._values_dict["n"].disabled_set( # False)
d74c8bfd12ad1ac99f920cfd5afb9c6a135c8a9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12343/d74c8bfd12ad1ac99f920cfd5afb9c6a135c8a9c/signals.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 12, 2890, 16, 801, 1054, 280, 16, 501, 4672, 365, 6315, 3374, 67, 2121, 9614, 529, 6, 8009, 1132, 273, 501, 365, 6315, 3374, 67, 2121, 9614, 529, 6, 8009, 4500, 67, 1132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2725, 12, 2890, 16, 801, 1054, 280, 16, 501, 4672, 365, 6315, 3374, 67, 2121, 9614, 529, 6, 8009, 1132, 273, 501, 365, 6315, 3374, 67, 2121, 9614, 529, 6, 8009, 4500, 67, 1132, ...
raise support.TestFailed(
raise test_support.TestFailed(
def _recvfrom_into(): b = bytearray("\0"*100) count, addr = s.recvfrom_into(b) return b[:count]
36732be0d68d55c81f96170a43792dd3e9e39e99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/36732be0d68d55c81f96170a43792dd3e9e39e99/test_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 18334, 2080, 67, 18591, 13332, 324, 273, 14552, 31458, 20, 6, 14, 6625, 13, 1056, 16, 3091, 273, 272, 18, 18334, 2080, 67, 18591, 12, 70, 13, 327, 324, 10531, 1883, 65, 2, 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, 389, 18334, 2080, 67, 18591, 13332, 324, 273, 14552, 31458, 20, 6, 14, 6625, 13, 1056, 16, 3091, 273, 272, 18, 18334, 2080, 67, 18591, 12, 70, 13, 327, 324, 10531, 1883, 65, 2, -100, ...
self.assertRaises(ValueError, zlib.decompressobj, 0)
self.assertRaises(ValueError, zlib.decompressobj, -1)
def test_baddecompressobj(self): # verify failure on building decompress object with bad params self.assertRaises(ValueError, zlib.decompressobj, 0)
73239ef268340e4bcbdb75ca5a01f418db7404d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/73239ef268340e4bcbdb75ca5a01f418db7404d6/test_zlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 8759, 323, 14706, 2603, 12, 2890, 4672, 468, 3929, 5166, 603, 10504, 16824, 733, 598, 5570, 859, 365, 18, 11231, 12649, 6141, 12, 23610, 16, 24220, 18, 323, 14706, 2603, 16, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8759, 323, 14706, 2603, 12, 2890, 4672, 468, 3929, 5166, 603, 10504, 16824, 733, 598, 5570, 859, 365, 18, 11231, 12649, 6141, 12, 23610, 16, 24220, 18, 323, 14706, 2603, 16, 37...
class pAdicGeneralExtensionFieldCappedRelative(pAdicGeneralExtensionGeneric, pAdicCappedRelativeFieldGeneric): def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionCappedRelativeElement)
def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionCappedRelativeElement)
3f749fc2d07ac2b736b4a6e08cfee62c70e3d53b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/3f749fc2d07ac2b736b4a6e08cfee62c70e3d53b/padic_extension_leaves.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 731, 355, 93, 16, 425, 16353, 16, 7573, 16, 13382, 16, 18389, 16, 1172, 67, 3188, 16, 1257, 4672, 293, 1871, 335, 12580, 3625, 7014, 16186, 2738, 972, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 731, 355, 93, 16, 425, 16353, 16, 7573, 16, 13382, 16, 18389, 16, 1172, 67, 3188, 16, 1257, 4672, 293, 1871, 335, 12580, 3625, 7014, 16186, 2738, 972, 12...
owner = os.stat(path)[stat.ST_UID]
owner = os.stat(filepath)[stat.ST_UID]
def can_access(self, path, mask=os.R_OK|os.W_OK): """ Check that the given path belongs to or is accessible by the current user on Linux systems. """ if "Windows" == platform.system(): return
2c132796078df5c964adf87fac17796fbdce93ca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/2c132796078df5c964adf87fac17796fbdce93ca/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 848, 67, 3860, 12, 2890, 16, 589, 16, 3066, 33, 538, 18, 54, 67, 3141, 96, 538, 18, 59, 67, 3141, 4672, 3536, 2073, 716, 326, 864, 589, 11081, 358, 578, 353, 12718, 635, 326, 783, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 848, 67, 3860, 12, 2890, 16, 589, 16, 3066, 33, 538, 18, 54, 67, 3141, 96, 538, 18, 59, 67, 3141, 4672, 3536, 2073, 716, 326, 864, 589, 11081, 358, 578, 353, 12718, 635, 326, 783, ...
Revision 1.1 2004/02/03 17:33:16 rubys Initial revision
Revision 1.2 2004/06/12 23:19:55 rubys fix for bug 966458: Disallow namespace on the rss element Revision 1.1.1.1 2004/02/03 17:33:16 rubys Initial import.
def do_xhtml_html(self): from logging import UndefinedElement self.log(UndefinedElement({"parent":"root", "element":"xhtml:html"})) from validators import eater return eater()
7f6a7e76e588513dc8282eb2e1555dc491725671 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5012/7f6a7e76e588513dc8282eb2e1555dc491725671/root.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 26341, 67, 2620, 12, 2890, 4672, 628, 2907, 1930, 22243, 1046, 365, 18, 1330, 12, 10317, 1046, 12590, 6, 2938, 15563, 3085, 3113, 315, 2956, 15563, 26341, 30, 2620, 6, 31700, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 26341, 67, 2620, 12, 2890, 4672, 628, 2907, 1930, 22243, 1046, 365, 18, 1330, 12, 10317, 1046, 12590, 6, 2938, 15563, 3085, 3113, 315, 2956, 15563, 26341, 30, 2620, 6, 31700, 62...
debug("Timeout while waiting for jabber:iq:auth result")
self.debug("Timeout while waiting for jabber:iq:auth result")
def features_timeout(self,*args): debug("Timeout while waiting for jabber:iq:auth result") if self.auth_methods_left: self.auth_methods_left.pop(0)
81d57e9e8933ec1e4bdb36dfed96bfe802568f87 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12769/81d57e9e8933ec1e4bdb36dfed96bfe802568f87/clientstream.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4467, 67, 4538, 12, 2890, 16, 14, 1968, 4672, 365, 18, 4148, 2932, 2694, 1323, 7336, 364, 525, 378, 744, 30, 18638, 30, 1944, 563, 7923, 309, 365, 18, 1944, 67, 5163, 67, 4482, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4467, 67, 4538, 12, 2890, 16, 14, 1968, 4672, 365, 18, 4148, 2932, 2694, 1323, 7336, 364, 525, 378, 744, 30, 18638, 30, 1944, 563, 7923, 309, 365, 18, 1944, 67, 5163, 67, 4482, 30, 3...
if row[2] in self.queues["add"]:
if row[2] in self.queues["remove"] and model == _("foreigners"): nr = 0 for l in liststore: nr += 1 if row[2] == l[2]: del liststore[nr -1] elif row[2] in self.queues["add"]:
def _refresh_model(self, model, submodel=None): if submodel: liststore = self.models[model][submodel] else: liststore = self.models[model]
5c0d56249a3f1a6c4b91528be89bde6205538344 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2654/5c0d56249a3f1a6c4b91528be89bde6205538344/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9144, 67, 2284, 12, 2890, 16, 938, 16, 720, 2284, 33, 7036, 4672, 309, 720, 2284, 30, 666, 2233, 273, 365, 18, 7665, 63, 2284, 6362, 1717, 2284, 65, 469, 30, 666, 2233, 273, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9144, 67, 2284, 12, 2890, 16, 938, 16, 720, 2284, 33, 7036, 4672, 309, 720, 2284, 30, 666, 2233, 273, 365, 18, 7665, 63, 2284, 6362, 1717, 2284, 65, 469, 30, 666, 2233, 273, 365...
global D if source > 0: sourcewithins = (source-1) & Bwithins sourcebetweens = (source-1) & Bbetweens dindex = Bwonly_sources.index(sourcewithins) all_cellmeans = transpose(DM[dindex],[-1]+range(0,len(DM[dindex].shape)-1)) all_cellns = transpose(DN[dindex],[-1]+range(0,len(DN[dindex].shape)-1)) hn = hmean(all_cellns, N...
global D if source > 0: sourcewithins = (source-1) & Bwithins sourcebetweens = (source-1) & Bbetweens dindex = Bwonly_sources.index(sourcewithins) all_cellmeans = transpose(DM[dindex],[-1]+range(0,len(DM[dindex].shape)-1)) all_cellns = transpose(DN[dindex],[-1]+range(0,len(DN[dindex].shape)-1)) hn = hmean(all_cellns, N...
def d_restrict_source(workd,subjslots,source): """
3bb739baad4fb4f21aa19b39fbb10f6aa5c1a041 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/3bb739baad4fb4f21aa19b39fbb10f6aa5c1a041/stats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 67, 30604, 67, 3168, 12, 1252, 72, 16, 1717, 78, 18875, 16, 3168, 4672, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 67, 30604, 67, 3168, 12, 1252, 72, 16, 1717, 78, 18875, 16, 3168, 4672, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tc.assertListEqual(comp.get_matchup_results('0'), [('0_0', result1)])
tc.assertListEqual(fx.comp.get_matchup_results('0'), [('0_0', result1)])
def test_play(tc): comp = playoffs.Playoff('testcomp') config = { 'players' : { 't1' : Player_config("test1"), 't2' : Player_config("test2"), }, 'board_size' : 12, 'komi' : 3.5, 'matchups' : [ Matchup_config('t1', 't2', alternating=True), ], } comp.initialise_from_control_file(config) comp.set_clean_status() job1 = co...
83af52a9949a36d3c03a96d81382ba6e299c8cdb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6121/83af52a9949a36d3c03a96d81382ba6e299c8cdb/playoff_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1601, 12, 5111, 4672, 1161, 273, 6599, 26600, 18, 11765, 3674, 2668, 3813, 2919, 6134, 642, 273, 288, 296, 1601, 414, 11, 294, 288, 296, 88, 21, 11, 294, 19185, 67, 1425, 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, 1842, 67, 1601, 12, 5111, 4672, 1161, 273, 6599, 26600, 18, 11765, 3674, 2668, 3813, 2919, 6134, 642, 273, 288, 296, 1601, 414, 11, 294, 288, 296, 88, 21, 11, 294, 19185, 67, 1425, 293...
add_preference('scaler' 'ccp4')
add_preference('scaler', 'ccp4')
def Integrater(): '''Return an Integrater implementation.''' # FIXME this should take an indexer as an argument... integrater = None preselection = get_preferences().get('integrater') if not integrater and (not preselection or preselection == 'xds'): try: integrater = XDSIntegrater() Admin.write('Using XDS Integrat...
fb7b017d0f57c5666f0a8ef0eaac0eeea055a14b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3290/fb7b017d0f57c5666f0a8ef0eaac0eeea055a14b/IntegraterFactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15285, 2045, 13332, 9163, 990, 392, 225, 15285, 2045, 4471, 1093, 6309, 225, 468, 9852, 333, 1410, 4862, 392, 12635, 487, 392, 1237, 2777, 225, 11301, 2045, 273, 599, 4075, 292, 794, 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, 15285, 2045, 13332, 9163, 990, 392, 225, 15285, 2045, 4471, 1093, 6309, 225, 468, 9852, 333, 1410, 4862, 392, 12635, 487, 392, 1237, 2777, 225, 11301, 2045, 273, 599, 4075, 292, 794, 273, ...
Script.registerSwitch( "p", "pwstdin", "Get passwd from stdin", self.setStdinPasswd )
Script.registerSwitch( "p", "pwstdin", "Get passwd from stdin", self.setStdinPasswd )
def registerCLISwitches( self ): Script.registerSwitch( "v:", "valid=", "Valid HH:MM for the proxy. By default is 24 hours", self.setProxyLifeTime ) Script.registerSwitch( "g:", "group=", "DIRAC Group to embed in the proxy", self.setDIRACGroup ) Script.registerSwitch( "d", "debug", "Enable debug output", self.setDebug ...
4d49d5f13b7e237d6f37c2c30aab59c265f99bbe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/4d49d5f13b7e237d6f37c2c30aab59c265f99bbe/ProxyUpload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 7697, 10200, 281, 12, 365, 262, 30, 7739, 18, 4861, 10200, 12, 315, 90, 2773, 16, 315, 877, 1546, 16, 315, 1556, 20842, 30, 8206, 364, 326, 2889, 18, 2525, 805, 353, 4248, 7507, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 7697, 10200, 281, 12, 365, 262, 30, 7739, 18, 4861, 10200, 12, 315, 90, 2773, 16, 315, 877, 1546, 16, 315, 1556, 20842, 30, 8206, 364, 326, 2889, 18, 2525, 805, 353, 4248, 7507, ...
sage: len(L)
sage: len(L)
def __call__(self, vertices, property=lambda x: True, augment='edges'): """ Accesses the generator of isomorphism class representatives. Iterates over distinct, exhaustive representatives.
d758d7170b6b5839c740229b4e3b5944f2afd459 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/d758d7170b6b5839c740229b4e3b5944f2afd459/graph_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 6928, 16, 1272, 33, 14661, 619, 30, 1053, 16, 18260, 2218, 8746, 11, 4672, 3536, 5016, 281, 326, 4456, 434, 353, 362, 7657, 6228, 667, 2406, 8785, 18, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 6928, 16, 1272, 33, 14661, 619, 30, 1053, 16, 18260, 2218, 8746, 11, 4672, 3536, 5016, 281, 326, 4456, 434, 353, 362, 7657, 6228, 667, 2406, 8785, 18, 30...
cmd = "svnversion %s" %self.versionPath
cmd = "svnversion %s" %self.path
def getSvnRevision(self): try: return self.svnRevision except: pass cmd = "svnversion %s" %self.versionPath rcode, output, errout = shell.execute_piped(cmd) if rcode > 0: raise RuntimeError, "Error while retrieving SVN version: " + errout svnRevision = output.rstrip('\n') return svnRevision
480793a4d25be1e1fd1ce40153a3e7ee5745bcaf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/480793a4d25be1e1fd1ce40153a3e7ee5745bcaf/repository.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1322, 25031, 7939, 12, 2890, 4672, 775, 30, 327, 365, 18, 31505, 7939, 1335, 30, 1342, 225, 1797, 273, 315, 31505, 1589, 738, 87, 6, 738, 2890, 18, 803, 436, 710, 16, 876, 16, 6445, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1322, 25031, 7939, 12, 2890, 4672, 775, 30, 327, 365, 18, 31505, 7939, 1335, 30, 1342, 225, 1797, 273, 315, 31505, 1589, 738, 87, 6, 738, 2890, 18, 803, 436, 710, 16, 876, 16, 6445, ...
'prefix': '%(year)s/',
'prefix': 'SAJ/%(year)s/',
def generate_configurable_chart(self, cr, uid, ids, context=None): obj_acc = self.pool.get('account.account') obj_acc_tax = self.pool.get('account.tax') obj_journal = self.pool.get('account.journal') obj_sequence = self.pool.get('ir.sequence') obj_acc_template = self.pool.get('account.account.template') obj_fiscal_posi...
7676a0740d502c403459953096357b1bd84fb9e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/7676a0740d502c403459953096357b1bd84fb9e5/installer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 1425, 7463, 67, 11563, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 1081, 67, 8981, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 4631, 6134, 1081, 67, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 1425, 7463, 67, 11563, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 1081, 67, 8981, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 4631, 6134, 1081, 67, 8...
self.primality = [false]
self.primality = [False]
def find_factor(self, n, factor_digits=None, B1=2000, **kwds): """ Splits off a single factor of n. See ECM.factor() """ if not 'c' in kwds: kwds['c'] = 1000000000 if not 'I' in kwds: kwds['I'] = 1 if not factor_digits is None: B1 = self.recommended_B1(factor_digits) kwds['one'] = '' kwds['cofdec'] = '' self.__cmd = se...
720d8dd71febe7dedfc61da2b7fe0de8ec990331 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/720d8dd71febe7dedfc61da2b7fe0de8ec990331/ecm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 6812, 12, 2890, 16, 290, 16, 5578, 67, 16649, 33, 7036, 16, 605, 21, 33, 17172, 16, 2826, 25577, 4672, 3536, 5385, 87, 3397, 279, 2202, 5578, 434, 290, 18, 2164, 7773, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 67, 6812, 12, 2890, 16, 290, 16, 5578, 67, 16649, 33, 7036, 16, 605, 21, 33, 17172, 16, 2826, 25577, 4672, 3536, 5385, 87, 3397, 279, 2202, 5578, 434, 290, 18, 2164, 7773, 49, ...
('/usr/share', ['share/g-octave.eclass']),
('/usr/share/g-octave', ['share/g-octave.eclass']),
def run(self): _clean.run(self) if self.all: for i in outputs: my_path = os.path.join(current_dir, i) if os.path.exists(my_path): print 'removing %s' % my_path os.remove(my_path)
125a2b8c9601d3b99115123c586cc3ba40d1fc97 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10378/125a2b8c9601d3b99115123c586cc3ba40d1fc97/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 389, 6200, 18, 2681, 12, 2890, 13, 309, 365, 18, 454, 30, 364, 277, 316, 6729, 30, 3399, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 2972, 67, 1214, 16, 277, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 389, 6200, 18, 2681, 12, 2890, 13, 309, 365, 18, 454, 30, 364, 277, 316, 6729, 30, 3399, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 2972, 67, 1214, 16, 277, 1...
for indirection in self._indirections:
for indirection in indirections:
def getContainer(self): # try to get a handle on the container by eval'ing and looking things # up in dictionaries, depending on the type of each indirection #import pdb;pdb.set_trace() evalStr = '' curObj = None # make sure the indirections don't go away on us for indirection in self._indirections: indirection.acquire...
ee3d5337d51fd18347c409aee4acbcf050d63209 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8543/ee3d5337d51fd18347c409aee4acbcf050d63209/ContainerLeakDetector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9272, 12, 2890, 4672, 468, 775, 358, 336, 279, 1640, 603, 326, 1478, 635, 5302, 11, 310, 471, 7849, 9198, 468, 731, 316, 16176, 16, 8353, 603, 326, 618, 434, 1517, 1547, 2769, 468, 566...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9272, 12, 2890, 4672, 468, 775, 358, 336, 279, 1640, 603, 326, 1478, 635, 5302, 11, 310, 471, 7849, 9198, 468, 731, 316, 16176, 16, 8353, 603, 326, 618, 434, 1517, 1547, 2769, 468, 566...
finally: fp.close()
def start(self): if not self._web_socket_tests: _log.info('No need to start %s server.' % self._server_name) return if self.is_running(): raise PyWebSocketNotStarted('%s is already running.' % self._server_name)
677c9a432bf56e0b748ac1ba8b6c50745233fcb7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/677c9a432bf56e0b748ac1ba8b6c50745233fcb7/websocket_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 309, 486, 365, 6315, 4875, 67, 7814, 67, 16341, 30, 389, 1330, 18, 1376, 2668, 2279, 1608, 358, 787, 738, 87, 1438, 1093, 738, 365, 6315, 3567, 67, 529, 13, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 486, 365, 6315, 4875, 67, 7814, 67, 16341, 30, 389, 1330, 18, 1376, 2668, 2279, 1608, 358, 787, 738, 87, 1438, 1093, 738, 365, 6315, 3567, 67, 529, 13, 327, ...