rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
append initrd=initrd%(index)s.img root=%(rootlabel)s rootfstype=%(isofstype)s %(liveargs)s %(extra)s label %(short)s menu label %(long)s %(basicvideo)s kernel vmlinuz%(index)s
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
ef154abad01d221f1917c58946926770cd80f5fa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9342/ef154abad01d221f1917c58946926770cd80f5fa/live.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 67, 2730, 67, 541, 11939, 12, 2890, 16, 353, 67, 92, 275, 16, 353, 40, 354, 5150, 16, 2826, 1968, 4672, 309, 353, 40, 354, 5150, 30, 833, 9614, 3085, 1925, 11929, 273, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2730, 67, 541, 11939, 12, 2890, 16, 353, 67, 92, 275, 16, 353, 40, 354, 5150, 16, 2826, 1968, 4672, 309, 353, 40, 354, 5150, 30, 833, 9614, 3085, 1925, 11929, 273, 315...
def _increment(self): curspot = len(self.int) - 1 self.int[curspot]+= 1 while (self.int[curspot] >= 10): self.int[curspot] -= 10 if curspot == 0: self.int[0:0] = [1] break self.int[curspot-1] += 1 curspot -= 1 def subtract(self, alist): """Subtract a list from the current int (in place). It is assured that (len(list)...
def _increment(self): curspot = len(self.int) - 1 self.int[curspot]+= 1 while (self.int[curspot] >= 10): self.int[curspot] -= 10 if curspot == 0: self.int[0:0] = [1] break self.int[curspot-1] += 1 curspot -= 1
323d0b30a64964b89a85e1b02e8fcc4017ce9fa7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/323d0b30a64964b89a85e1b02e8fcc4017ce9fa7/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 15016, 12, 2890, 4672, 662, 19032, 273, 562, 12, 2890, 18, 474, 13, 300, 404, 365, 18, 474, 63, 1397, 19032, 3737, 33, 404, 1323, 261, 2890, 18, 474, 63, 1397, 19032, 65, 1545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15016, 12, 2890, 4672, 662, 19032, 273, 562, 12, 2890, 18, 474, 13, 300, 404, 365, 18, 474, 63, 1397, 19032, 3737, 33, 404, 1323, 261, 2890, 18, 474, 63, 1397, 19032, 65, 1545, ...
a.y = ByteArraySubclass(b"efgh")
a.y = self.subclass2test(b"efgh")
def test_pickle(self): a = ByteArraySubclass(b"abcd") a.x = 10 a.y = ByteArraySubclass(b"efgh") for proto in range(pickle.HIGHEST_PROTOCOL + 1): b = pickle.loads(pickle.dumps(a, proto)) self.assertNotEqual(id(a), id(b)) self.assertEqual(a, b) self.assertEqual(a.x, b.x) self.assertEqual(a.y, b.y) self.assertEqual(type(a...
41f58a70ac168c3f468d2dacb945dd88f1c89350 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/41f58a70ac168c3f468d2dacb945dd88f1c89350/test_bytes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20847, 12, 2890, 4672, 279, 273, 7964, 1676, 1106, 12, 70, 6, 378, 4315, 7923, 279, 18, 92, 273, 1728, 279, 18, 93, 273, 365, 18, 10678, 22, 3813, 12, 70, 6, 73, 2137, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20847, 12, 2890, 4672, 279, 273, 7964, 1676, 1106, 12, 70, 6, 378, 4315, 7923, 279, 18, 92, 273, 1728, 279, 18, 93, 273, 365, 18, 10678, 22, 3813, 12, 70, 6, 73, 2137, 76...
self.assertEquals(tb[-1][-1], '1/0')
return tb[-1][-1]
def testRaiseExceptionWithTB(self): try: 1/0 except: f = failure.Failure()
4ee61d64eb616d2d0faaff096ca6d28512f5f391 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/4ee61d64eb616d2d0faaff096ca6d28512f5f391/test_failure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 30570, 503, 1190, 25730, 12, 2890, 4672, 775, 30, 404, 19, 20, 1335, 30, 284, 273, 5166, 18, 5247, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 30570, 503, 1190, 25730, 12, 2890, 4672, 775, 30, 404, 19, 20, 1335, 30, 284, 273, 5166, 18, 5247, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.assert_(stderr.startswith(b"UnicodeEncodeError: " b"'utf-8' codec can't encode character '\\udcff' in " b"position 7: surrogates not allowed"), stderr)
self.assert_(b"UnicodeEncodeError:" in stderr, "%r not in %s" % (b"UniodeEncodeError:", ascii(stderr)))
def test_main_invalid_unicode(self): import locale non_decodable = b"\xff" encoding = locale.getpreferredencoding() try: non_decodable.decode(encoding) except UnicodeDecodeError: pass else: self.skipTest('%r is decodable with encoding %s' % (non_decodable, encoding)) code = b'print("' + non_decodable + b'")' p = subpro...
661e4faf38ec5940d1cb76936e823503e3ec61e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/661e4faf38ec5940d1cb76936e823503e3ec61e5/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 67, 5387, 67, 9124, 12, 2890, 4672, 1930, 2573, 1661, 67, 323, 1559, 429, 273, 324, 12691, 5297, 6, 2688, 273, 2573, 18, 588, 23616, 5999, 1435, 775, 30, 1661, 67, 323,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 67, 5387, 67, 9124, 12, 2890, 4672, 1930, 2573, 1661, 67, 323, 1559, 429, 273, 324, 12691, 5297, 6, 2688, 273, 2573, 18, 588, 23616, 5999, 1435, 775, 30, 1661, 67, 323,...
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase import pdfmetrics
def getInternalFontName(self, psfontname): fm = self.fontMapping if fm.has_key(psfontname): return fm[psfontname] else: try: # does pdfmetrics know about it? if so, add from reportlab.pdfbase import pdfmetrics fontObj = pdfmetrics.getFont(psfontname) fontObj.addObjects(self) #self.addFont(fontObj) return fm[psfontname]...
423e7489419a6d9ccd2532adfbbcd247535afe02 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/423e7489419a6d9ccd2532adfbbcd247535afe02/pdfdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16918, 5711, 461, 12, 2890, 16, 4250, 5776, 529, 4672, 10940, 273, 365, 18, 5776, 3233, 309, 10940, 18, 5332, 67, 856, 12, 1121, 5776, 529, 4672, 327, 10940, 63, 1121, 5776, 529, 65, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16918, 5711, 461, 12, 2890, 16, 4250, 5776, 529, 4672, 10940, 273, 365, 18, 5776, 3233, 309, 10940, 18, 5332, 67, 856, 12, 1121, 5776, 529, 4672, 327, 10940, 63, 1121, 5776, 529, 65, 4...
DoInterestManager._interests[handle] = [description, STATE_ACTIVE, scopeId, event]
DoInterestManager._interests[handle] = [ description, STATE_ACTIVE, scopeId, event]
def addInterest(self, parentId, zoneIdList, description, event=None): """ Look into a (set of) zone(s). """ assert DoInterestManager.notify.debugCall() handle = self._getNextHandle() if event is not None: scopeId = self._getNextScopeId() else: scopeId = NO_SCOPE DoInterestManager._interests[handle] = [description, STAT...
75ecd2cf92b1fe6864ae6a464ec6f516faa1c37e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/75ecd2cf92b1fe6864ae6a464ec6f516faa1c37e/DoInterestManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 29281, 12, 2890, 16, 11582, 16, 4157, 22117, 16, 2477, 16, 871, 33, 7036, 4672, 3536, 10176, 1368, 279, 261, 542, 434, 13, 4157, 12, 87, 2934, 3536, 1815, 2256, 29281, 1318, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 29281, 12, 2890, 16, 11582, 16, 4157, 22117, 16, 2477, 16, 871, 33, 7036, 4672, 3536, 10176, 1368, 279, 261, 542, 434, 13, 4157, 12, 87, 2934, 3536, 1815, 2256, 29281, 1318, 18, 1...
if not self.state_machine.match_titles: blocktext = context[0] + '\n' + self.state_machine.line msg = self.reporter.severe( 'Unexpected section title.', nodes.literal_block(blocktext, blocktext), line=lineno) self.parent += msg return [], next_state, []
def underline(self, match, context, next_state): """Section title.""" lineno = self.state_machine.abs_line_number() if not self.state_machine.match_titles: blocktext = context[0] + '\n' + self.state_machine.line msg = self.reporter.severe( 'Unexpected section title.', nodes.literal_block(blocktext, blocktext), line=lin...
4c95f2937ebd0bf3495355f920c044e8bea44400 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/4c95f2937ebd0bf3495355f920c044e8bea44400/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 2077, 273, 819, 63, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 2077, 273, 819, 63, 20, ...
self.__store_phrase(self.project_id, pid, src, 0, "en")
self.store_phrase(self.project_id, pid, src, 0, "en")
def load_file(self, fname, lang): store = factory.getclass('a.po').parsefile(fname) mlang = self.__lang_hygiene(lang) for unit in store.units: src = unit.source.encode('utf-8') dst = unit.target.encode('utf-8') key = (src, '::'.join(unit.getlocations()) + '::::' + unit.getcontext()) if len(src) > 0: if key in self.phra...
a56e45efe3e36af770832bdc39b7ca99be6f3d8f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3042/a56e45efe3e36af770832bdc39b7ca99be6f3d8f/import_step1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 768, 12, 2890, 16, 5299, 16, 3303, 4672, 1707, 273, 3272, 18, 588, 1106, 2668, 69, 18, 1631, 16063, 2670, 768, 12, 12749, 13, 312, 4936, 273, 365, 16186, 4936, 67, 76, 4338, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 67, 768, 12, 2890, 16, 5299, 16, 3303, 4672, 1707, 273, 3272, 18, 588, 1106, 2668, 69, 18, 1631, 16063, 2670, 768, 12, 12749, 13, 312, 4936, 273, 365, 16186, 4936, 67, 76, 4338, ...
__targets[o] = (outputs, inputs, commands)
__targets[o] = (set(outputs), set(inputs), commands)
def add_rule(outputs, inputs, commands): for o in outputs: assert not o in __targets __targets[o] = (outputs, inputs, commands)
53358696c5adf2983d191f059a1cd57fb464959c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4811/53358696c5adf2983d191f059a1cd57fb464959c/make.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 5345, 12, 12295, 16, 4540, 16, 4364, 4672, 364, 320, 316, 6729, 30, 1815, 486, 320, 316, 1001, 11358, 1001, 11358, 63, 83, 65, 273, 261, 542, 12, 12295, 3631, 444, 12, 10029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 5345, 12, 12295, 16, 4540, 16, 4364, 4672, 364, 320, 316, 6729, 30, 1815, 486, 320, 316, 1001, 11358, 1001, 11358, 63, 83, 65, 273, 261, 542, 12, 12295, 3631, 444, 12, 10029, ...
if type(baseDir) not in SeqTypes
if type(baseDir) not in SeqTypes:
def recursiveImport(modulename, baseDir=None, noCWD=0, debug=0): """Dynamically imports possible packagized module, or raises ImportError""" import imp parts = string.split(modulename, '.') name = parts[0] if baseDir is None: path = sys.path[:] else: if type(baseDir) not in SeqTypes path = [baseDir] else: path = list(...
c72711cf02406ec68ee3042cff83cc3b3d4a8fac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/c72711cf02406ec68ee3042cff83cc3b3d4a8fac/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5904, 5010, 12, 1711, 332, 1069, 16, 14078, 33, 7036, 16, 1158, 12844, 40, 33, 20, 16, 1198, 33, 20, 4672, 3536, 9791, 1230, 10095, 3323, 2298, 346, 1235, 1605, 16, 578, 14183, 11308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5904, 5010, 12, 1711, 332, 1069, 16, 14078, 33, 7036, 16, 1158, 12844, 40, 33, 20, 16, 1198, 33, 20, 4672, 3536, 9791, 1230, 10095, 3323, 2298, 346, 1235, 1605, 16, 578, 14183, 11308, ...
self.assert_ (filename, foo)
self.assert_ (filename, filename)
def test_children_in_directory(self): """Unit test for function children_in_directory()""" import tempfile
525d13d9ca5df9f80d586e881f8d1ca27756c6a9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/525d13d9ca5df9f80d586e881f8d1ca27756c6a9/FileUtilities.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5906, 67, 267, 67, 5149, 12, 2890, 4672, 3536, 2802, 1842, 364, 445, 2325, 67, 267, 67, 5149, 1435, 8395, 1930, 13275, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5906, 67, 267, 67, 5149, 12, 2890, 4672, 3536, 2802, 1842, 364, 445, 2325, 67, 267, 67, 5149, 1435, 8395, 1930, 13275, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print "create", tokens[start], tokens[start].__dict__
def create(): sub = tokens[start+1:i] print "create", tokens[start], tokens[start].__dict__ return [T(type=T.t_complex_tag, children=sub, tagname=tagname, blocknode=blocknode, vlist=tokens[start].vlist)]
bbe4826b0b02295782489bc6ed7115ccd3c56813 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/bbe4826b0b02295782489bc6ed7115ccd3c56813/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 13332, 720, 273, 2430, 63, 1937, 15, 21, 30, 77, 65, 327, 306, 56, 12, 723, 33, 56, 18, 88, 67, 14259, 67, 2692, 16, 2325, 33, 1717, 16, 25586, 33, 2692, 529, 16, 1203, 2159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 13332, 720, 273, 2430, 63, 1937, 15, 21, 30, 77, 65, 327, 306, 56, 12, 723, 33, 56, 18, 88, 67, 14259, 67, 2692, 16, 2325, 33, 1717, 16, 25586, 33, 2692, 529, 16, 1203, 2159, ...
for key in media_obj.metadata.keys(): if media_obj.metadata[key] != '': media_description += '<tr><td>%s: </td><td><b>%s</b></td></tr>' % \ (key.capitalize(), media_obj.metadata[key])
for key in media.metadata.keys(): if media.metadata[key] != '': media_description += '<tr><td>%s: </td><td><b>%s</b></td></tr>' % \ (key.capitalize(), media.metadata[key])
def update_rss(self, media_obj_list, rss_file): i =0 rss_item_list = [] if not os.path.exists(self.rss_dir): os.makedirs(self.rss_dir) if len(media_obj_list) == 1: sub_title = '(currently playing)' else: sub_title = '(playlist)' for media_obj in media_obj_list: media_size = media_obj.size media_link = self.channel.ur...
787fef0709b19aa8df299b667ccf69a2ca01c4b6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12047/787fef0709b19aa8df299b667ccf69a2ca01c4b6/deefuzz.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 25151, 12, 2890, 16, 3539, 67, 2603, 67, 1098, 16, 18817, 67, 768, 4672, 277, 273, 20, 18817, 67, 1726, 67, 1098, 273, 5378, 309, 486, 1140, 18, 803, 18, 1808, 12, 2890, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 25151, 12, 2890, 16, 3539, 67, 2603, 67, 1098, 16, 18817, 67, 768, 4672, 277, 273, 20, 18817, 67, 1726, 67, 1098, 273, 5378, 309, 486, 1140, 18, 803, 18, 1808, 12, 2890, 18...
print(i, j)
with test_support.captured_output('stdout'): print (i, j)
def run(r1, r2): result = [] for i, j in izip_longest(r1, r2, fillvalue=0): print(i, j) result.append((i, j)) return result
b7b20bb510d28f0d6e1a8bc2829323dc98b78a14 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/b7b20bb510d28f0d6e1a8bc2829323dc98b78a14/test_itertools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 86, 21, 16, 436, 22, 4672, 563, 273, 5378, 364, 277, 16, 525, 316, 277, 4450, 67, 5748, 395, 12, 86, 21, 16, 436, 22, 16, 3636, 1132, 33, 20, 4672, 598, 1842, 67, 13261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 86, 21, 16, 436, 22, 4672, 563, 273, 5378, 364, 277, 16, 525, 316, 277, 4450, 67, 5748, 395, 12, 86, 21, 16, 436, 22, 16, 3636, 1132, 33, 20, 4672, 598, 1842, 67, 13261, ...
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase import pdfmetrics
def setFont(self, node): from reportlab.pdfbase import pdfmetrics fname = node.get('name') #TODO : other fonts should be supported if fname not in pdfmetrics.standardFonts: fname = self.canvas._fontname return self.canvas.setFont(fname, utils.unit_get(node.get('size')))
b0d1240fbfa51ac34e60c5e6fcd249cdbac23154 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/b0d1240fbfa51ac34e60c5e6fcd249cdbac23154/trml2pdf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20454, 12, 2890, 16, 756, 4672, 628, 2605, 7411, 18, 7699, 1969, 1930, 8169, 9597, 5299, 273, 756, 18, 588, 2668, 529, 6134, 468, 6241, 294, 1308, 16450, 1410, 506, 3260, 309, 5299, 486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20454, 12, 2890, 16, 756, 4672, 628, 2605, 7411, 18, 7699, 1969, 1930, 8169, 9597, 5299, 273, 756, 18, 588, 2668, 529, 6134, 468, 6241, 294, 1308, 16450, 1410, 506, 3260, 309, 5299, 486,...
for i in range(1000):
for i in range(5000):
def test_main(): import doctest, test_generators if 0: # Temporary block to help track down leaks. So far, the blame # has fallen mostly on doctest. for i in range(1000): doctest.master = None doctest.testmod(test_generators) else: doctest.testmod(test_generators)
2042aae9df2ab3269ad9c62680c5232e3bc47a4c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2042aae9df2ab3269ad9c62680c5232e3bc47a4c/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 13332, 1930, 31263, 395, 16, 1842, 67, 25959, 309, 374, 30, 468, 22791, 1203, 358, 2809, 3298, 2588, 20891, 87, 18, 225, 6155, 10247, 16, 326, 2811, 339, 468, 711, 4159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 13332, 1930, 31263, 395, 16, 1842, 67, 25959, 309, 374, 30, 468, 22791, 1203, 358, 2809, 3298, 2588, 20891, 87, 18, 225, 6155, 10247, 16, 326, 2811, 339, 468, 711, 4159, ...
else: FileList = glob.glob(os.path.normpath(os.path.join(WorkingDirectory, '*.dsc'))) FileNum = len(FileList) if FileNum >= 2: EdkLogger.error("build", None, "There are %d DSC files in %s.\n" % (FileNum, WorkingDirectory)) elif FileNum == 1: Option.PlatformFile = NormFile(FileList[0], Workspace)
def Main(): StartTime = time.clock() # # Parse the options and args # (Option, Target) = MyOptionParser() if len(Target) == 0: Target = "all" elif len(Target) >= 2: EdkLogger.error("build", OPTION_NOT_SUPPORTED, "More than on targets are not supported.", ExtraData="Please select one of: %s" %(' '.join(gSupportedTarget...
9dd1260a00d05ac72fceaeb3d711d82340b8fda9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/914/9dd1260a00d05ac72fceaeb3d711d82340b8fda9/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12740, 13332, 28043, 273, 813, 18, 18517, 1435, 468, 468, 2884, 326, 702, 471, 833, 468, 261, 1895, 16, 5916, 13, 273, 8005, 1895, 2678, 1435, 225, 309, 562, 12, 2326, 13, 422, 374, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12740, 13332, 28043, 273, 813, 18, 18517, 1435, 468, 468, 2884, 326, 702, 471, 833, 468, 261, 1895, 16, 5916, 13, 273, 8005, 1895, 2678, 1435, 225, 309, 562, 12, 2326, 13, 422, 374, 30...
mimsg['Subject'] = 'Flats report from %s' % (self.observatoryName) mimsg['To'] = self.email
mimsg['Subject'] = 'Flats report from %s' % (observatoryName) mimsg['To'] = email
def sendEmail(self,email,observatoryName): msg = 'Flats finished at %s.\n\nGood flats: %s\nBad flats: %s\n\n' % (datetime.today(),string.join(map(Flat.signature,self.goodFlats),';'),string.join(map(Flat.signature,self.badFlats),';')) for flat in self.usedFlats: msg += "\n\n" + flat.signature() + ':\n' + flat.attemptStr...
ce101122b2b16424448868d22923cc1d2f7c9cff /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6334/ce101122b2b16424448868d22923cc1d2f7c9cff/flats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4134, 12, 2890, 16, 3652, 16, 12199, 90, 8452, 461, 4672, 1234, 273, 296, 2340, 2323, 6708, 622, 738, 87, 8403, 82, 64, 82, 18195, 1183, 2323, 30, 738, 87, 64, 82, 6434, 1183, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4134, 12, 2890, 16, 3652, 16, 12199, 90, 8452, 461, 4672, 1234, 273, 296, 2340, 2323, 6708, 622, 738, 87, 8403, 82, 64, 82, 18195, 1183, 2323, 30, 738, 87, 64, 82, 6434, 1183, ...
@match(r'^literal\s+(.+?)(?:\s+start(?:ing)?\s+(?:from\s+)?(\d+))?$') def literal(self, event, name, start): start = start and int(start) or 0 session = ibid.databases.ibid() factoid = session.query(Factoid).options(eagerload('values')).join('names').filter(func.lower(FactoidName.name)==escape_name(name).lower()).order...
@match(r'^literal\s+(.+?)(?:\s+ def literal(self, event, name, number, pattern, is_regex): session = ibid.databases.ibid() factoids = get_factoid(session, name, number, pattern, is_regex, literal=True)
def get_factoid(session, name, number, pattern, is_regex, all=False): factoid = None # Reversed LIKE because factoid name contains SQL wildcards if factoid supports arguments query = session.query(Factoid)\ .add_entity(FactoidName).join(Factoid.names)\ .add_entity(FactoidValue).join(Factoid.values)\ .filter(":fact LIKE...
f225bef6763e5cd591e5cd93f62d6ea13a804264 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/f225bef6763e5cd591e5cd93f62d6ea13a804264/factoid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3493, 839, 12, 3184, 16, 508, 16, 1300, 16, 1936, 16, 353, 67, 7584, 16, 777, 33, 8381, 4672, 5410, 839, 273, 599, 468, 868, 7548, 13161, 2724, 5410, 839, 508, 1914, 3063, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3493, 839, 12, 3184, 16, 508, 16, 1300, 16, 1936, 16, 353, 67, 7584, 16, 777, 33, 8381, 4672, 5410, 839, 273, 599, 468, 868, 7548, 13161, 2724, 5410, 839, 508, 1914, 3063, 2...
s = _latex_file_(objects, title=title, expert=expert, debug=debug, sep=sep, tiny=tiny)
s = _latex_file_(objects, title=title, debug=debug, sep=sep, tiny=tiny)
def view(objects, title='SAGE', zoom=4, expert=True, debug=False, \ sep='', tiny=False, **kwds): r""" Compute a latex representation of each object in objects, compile, and display typeset. If used from the command line, this requires that latex be installed. INPUT: - ``objects`` - list (or object) - ``title`` -...
41e685a664d91787b4b32852193aeddf3e79118c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/41e685a664d91787b4b32852193aeddf3e79118c/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 12, 6911, 16, 2077, 2218, 55, 2833, 2187, 7182, 33, 24, 16, 431, 672, 33, 5510, 16, 1198, 33, 8381, 16, 521, 5478, 2218, 2187, 24405, 33, 8381, 16, 225, 2826, 25577, 4672, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1476, 12, 6911, 16, 2077, 2218, 55, 2833, 2187, 7182, 33, 24, 16, 431, 672, 33, 5510, 16, 1198, 33, 8381, 16, 521, 5478, 2218, 2187, 24405, 33, 8381, 16, 225, 2826, 25577, 4672, 436, ...
b[i] = tuple(list(b[i]) + ['?']*100) c = b[i] eul = format(c, 13) reg = format(c, 2) plan = format(c, 16) perf = format(c, 19) vtran = format(c, 12) etran = format(c, 15)
eul = multiple_replace(to_bool,'%s'%b[i][13]) reg = multiple_replace(to_bool,'%s'%b[i][2]) plan = multiple_replace(to_bool,'%s'%b[i][16]) perf = multiple_replace(to_bool,'%s'%b[i][19]) vtran = multiple_replace(to_bool,'%s'%b[i][12]) etran = multiple_replace(to_bool,'%s'%b[i][15])
def display_tables(self, tables=None, layout='circular', query=None, graph6=None, \ num_vertices=None, num_edges=None, num_cycles=None, \ num_hamiltonian_cycles=None, eulerian=None, planar=None, perfect=None, \ lovasz_number=None, complement_graph6=None, aut_grp_size=None, \ num_orbits=None, num_fixed_points=None, vert...
d2e8907302b58a50596391405ac97f7450c43896 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/d2e8907302b58a50596391405ac97f7450c43896/graph_database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 67, 9373, 12, 2890, 16, 4606, 33, 7036, 16, 3511, 2218, 11614, 9559, 2187, 843, 33, 7036, 16, 2667, 26, 33, 7036, 16, 521, 818, 67, 17476, 33, 7036, 16, 818, 67, 8746, 33, 7036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2562, 67, 9373, 12, 2890, 16, 4606, 33, 7036, 16, 3511, 2218, 11614, 9559, 2187, 843, 33, 7036, 16, 2667, 26, 33, 7036, 16, 521, 818, 67, 17476, 33, 7036, 16, 818, 67, 8746, 33, 7036...
""" Get a list of available wireless networks.
""" Get a list of available wireless networks.
def GetNetworks(self): """ Get a list of available wireless networks. Returns: A list containing available wireless networks. """ cmd = 'iwlist ' + self.iface + ' scan' if self.verbose: print cmd results = misc.Run(cmd)
6f0faa1ac2c9bae4d122f4d6babe96248aee11b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12280/6f0faa1ac2c9bae4d122f4d6babe96248aee11b5/wnettools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 19999, 12, 2890, 4672, 3536, 968, 279, 666, 434, 2319, 6636, 2656, 13884, 18, 225, 2860, 30, 432, 666, 4191, 2319, 6636, 2656, 13884, 18, 225, 3536, 1797, 273, 296, 22315, 1098, 296...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 19999, 12, 2890, 4672, 3536, 968, 279, 666, 434, 2319, 6636, 2656, 13884, 18, 225, 2860, 30, 432, 666, 4191, 2319, 6636, 2656, 13884, 18, 225, 3536, 1797, 273, 296, 22315, 1098, 296...
list.append(("DEBUG: Enable Subtitles: " + x[0], self.ENABLE_SUBTITLE, x))
list.append(("DEBUG: Enable Subtitles: " + x[0], self.ENABLE_SUBTITLE, x[1]))
def extensions(self): list = [] if self.pipshown == False: list.append((_("Activate Picture in Picture"), self.PIPON)) elif self.pipshown == True: list.append((_("Disable Picture in Picture"), self.PIPOFF)) list.append((_("Move Picture in Picture"), self.MOVEPIP)) list.append((_("Swap services"), self.PIPSWAP)) s = se...
66514ab8a11f8b501f1807165903c5394647cad4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/66514ab8a11f8b501f1807165903c5394647cad4/InfoBarGenerics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4418, 12, 2890, 4672, 666, 273, 5378, 309, 365, 18, 16104, 674, 995, 422, 1083, 30, 666, 18, 6923, 12443, 67, 2932, 21370, 28770, 316, 28770, 6, 3631, 365, 18, 1102, 52, 673, 3719, 132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4418, 12, 2890, 4672, 666, 273, 5378, 309, 365, 18, 16104, 674, 995, 422, 1083, 30, 666, 18, 6923, 12443, 67, 2932, 21370, 28770, 316, 28770, 6, 3631, 365, 18, 1102, 52, 673, 3719, 132...
obj_properties=[] dt_properties=[]
def __init__(self,redland_model,resource,node): rdf_type='http://www.w3.org/2002/07/owl#Class' OWL_Resource.__init__(self,resource,node)
9a7d3b3df24875c370cf286441782c1a3ea3653a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2488/9a7d3b3df24875c370cf286441782c1a3ea3653a/OWL.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1118, 15733, 67, 2284, 16, 3146, 16, 2159, 4672, 9160, 67, 723, 2218, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 6976, 22, 19, 8642, 19, 543, 80, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1118, 15733, 67, 2284, 16, 3146, 16, 2159, 4672, 9160, 67, 723, 2218, 2505, 2207, 5591, 18, 91, 23, 18, 3341, 19, 6976, 22, 19, 8642, 19, 543, 80, 7, ...
mantissa0=floor(self.yframe[0]/exponent) ticks=mantissa1-mantissa0 if ticks>10: mantissa0=floor(mantissa0/2)*2 mantissa1=ceil(mantissa1/2)*2 ticks=(mantissa1-mantissa0)/2 elif ticks<5: ticks*=2 self.yticks_no=ticks
mantissa0=abs(floor(self.yframe[0]/exponent)) if mantissa1<=1.0:mantissa1=1.0 elif mantissa1<=2.0:mantissa1=2.0 elif mantissa1<=5.0:mantissa1=5.0 else: mantissa1=10.0 self.yticks_no=10 if self.yframe[0]<0: if mantissa0<=1.0:mantissa0=1.0 elif mantissa0<=2.0:mantissa0=2.0 elif mantissa0<=5.0:mantissa0=5.0 else: mantiss...
def reframey(self): #no redraw! #get max and min from databuffers if self.zoomlevel==0: self.getminmax() if self.minmax[0]==self.minmax[1]: if self.minmax[0]==0: self.minmax[1]=1 else: self.minmax[1]=self.minmax[0]+abs(self.minmax[0]) #calculate yframemin, max if self.scale_type=='linear': yrange=(self.minmax[1]-self....
eabcaee3ba1e52b53dfcff4e030943497eebe6d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/eabcaee3ba1e52b53dfcff4e030943497eebe6d0/Plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1278, 1474, 93, 12, 2890, 4672, 225, 468, 2135, 16540, 5, 468, 588, 943, 471, 1131, 628, 10481, 3809, 414, 309, 365, 18, 14932, 2815, 631, 20, 30, 365, 18, 588, 1154, 1896, 1435, 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, 1278, 1474, 93, 12, 2890, 4672, 225, 468, 2135, 16540, 5, 468, 588, 943, 471, 1131, 628, 10481, 3809, 414, 309, 365, 18, 14932, 2815, 631, 20, 30, 365, 18, 588, 1154, 1896, 1435, 309, ...
for tmpPath, tmpFile in md5Cache.iteritems():
for tmpFileName, tmpFile in md5Cache.iteritems():
def run(self): log.log(2,"info",_("New XiboDownloadManager instance started.")) while (self.running): self.interval = 300
66a075cab3d68c237f51e86004d5840adb9c1f9c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5464/66a075cab3d68c237f51e86004d5840adb9c1f9c/XiboClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 613, 18, 1330, 12, 22, 10837, 1376, 3113, 67, 2932, 1908, 1139, 495, 83, 7109, 1318, 791, 5746, 1199, 3719, 1323, 261, 2890, 18, 8704, 4672, 365, 18, 6624, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 613, 18, 1330, 12, 22, 10837, 1376, 3113, 67, 2932, 1908, 1139, 495, 83, 7109, 1318, 791, 5746, 1199, 3719, 1323, 261, 2890, 18, 8704, 4672, 365, 18, 6624, 273, 1...
public.write(self._public_private_link('toc', from_private=0)) private.write(self._public_private_link('toc', from_private=1))
where = 'toc' public.write(self._public_private_link(where, from_private=0)) private.write(self._public_private_link(where, from_private=1))
def _write_toc(self, private, public): """ @return: An HTML page containing the top-level table of contents page. This page is used to select a module table of contents page, or the "everything" table of contents page. @rtype: C{string} """ uids = self._docmap.keys()
dad6dd09c82d3878a78d977cc13da79d4420db2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/dad6dd09c82d3878a78d977cc13da79d4420db2b/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 1391, 12, 2890, 16, 3238, 16, 1071, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 4191, 326, 1760, 17, 2815, 1014, 434, 2939, 1363, 18, 225, 1220, 1363, 353, 1399, 358, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 1391, 12, 2890, 16, 3238, 16, 1071, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 4191, 326, 1760, 17, 2815, 1014, 434, 2939, 1363, 18, 225, 1220, 1363, 353, 1399, 358, 2...
], CONTEXT)
], 0, None, None, CONTEXT)
def test0020integer(self): ''' Test Integer. ''' integer1_id = self.integer.create({ 'integer': 1, }, CONTEXT) self.assert_(integer1_id)
52062c763bf1737b3f2071e48338f60845edc54d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/52062c763bf1737b3f2071e48338f60845edc54d/test_tryton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 3462, 7745, 12, 2890, 4672, 9163, 7766, 2144, 18, 9163, 3571, 21, 67, 350, 273, 365, 18, 7745, 18, 2640, 12590, 296, 7745, 4278, 404, 16, 19879, 13862, 13, 365, 18, 11231, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 3462, 7745, 12, 2890, 4672, 9163, 7766, 2144, 18, 9163, 3571, 21, 67, 350, 273, 365, 18, 7745, 18, 2640, 12590, 296, 7745, 4278, 404, 16, 19879, 13862, 13, 365, 18, 11231, 6...
a vertical border strip to self.
a vertical border strip of length k to self.
def add_vertical_border_strip(self, k): """ Returns a list of all the partitions that can be obtained by adding a vertical border strip to self.
d2bea0c9898d10512ce54569c87e5b09be4cdba6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/d2bea0c9898d10512ce54569c87e5b09be4cdba6/partition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 17824, 67, 8815, 67, 6406, 12, 2890, 16, 417, 4672, 3536, 2860, 279, 666, 434, 777, 326, 10060, 716, 848, 506, 12700, 635, 6534, 279, 9768, 5795, 2569, 358, 365, 18, 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, 527, 67, 17824, 67, 8815, 67, 6406, 12, 2890, 16, 417, 4672, 3536, 2860, 279, 666, 434, 777, 326, 10060, 716, 848, 506, 12700, 635, 6534, 279, 9768, 5795, 2569, 358, 365, 18, 2, -100, ...
if not self.has_section(blogid): self.add_section(blogid)
if self.has_option("main", "blogs"): blogids = str(self.get("main", "blogs")) if blogid not in blogs.split(';'): blogids += ";blogid" self.set("main", "blogs", blogids) else: self.set("main", "blogs", blogid)
def convert_config(self, configfile): """ unpickles the specified file into a hash """ config_hash = None try: fd = open(configfile[0:-4]) config_hash = pickle.load(fd) fd.close() except: return # This is soooooo nasty, way too many if statements.... for key in config_hash.keys(): if key == "blogs": if len(config_hash...
cc7a40d8695d3ec7964e0c14ff1d4ef0e06b3c7c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2266/cc7a40d8695d3ec7964e0c14ff1d4ef0e06b3c7c/PyQLoggerConfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 1425, 12, 2890, 16, 642, 768, 4672, 3536, 640, 11503, 1040, 326, 1269, 585, 1368, 279, 1651, 3536, 642, 67, 2816, 273, 599, 775, 30, 5194, 273, 1696, 12, 1425, 768, 63, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1765, 67, 1425, 12, 2890, 16, 642, 768, 4672, 3536, 640, 11503, 1040, 326, 1269, 585, 1368, 279, 1651, 3536, 642, 67, 2816, 273, 599, 775, 30, 5194, 273, 1696, 12, 1425, 768, 63, 20, ...
testcase = 1
testcase = 4
def changedTarget(self): self.recomputeCM()
047a6875227be72ac23d2364d8c146df65263343 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/047a6875227be72ac23d2364d8c146df65263343/OWTestLearners.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3550, 2326, 12, 2890, 4672, 365, 18, 266, 9200, 9611, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3550, 2326, 12, 2890, 4672, 365, 18, 266, 9200, 9611, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if not dyetub or (not char.canreach( dyetub, 2 ) and dyetub.getoutmostchar() != char):
if not dyetub or not char.canreach( dyetub, 2 ):
def dyingtub_response( char, args, target ): dyetub = wolfpack.finditem( args[0] ) if not dyetub or (not char.canreach( dyetub, 2 ) and dyetub.getoutmostchar() != char): char.message( localemsg( 6 ) ) return if not target.item: char.message( localemsg( 8 ) ) return # Valid Target? if not char.gm: if target.item.geto...
087043c72862a16806af2a1c86b346e1166c966e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/087043c72862a16806af2a1c86b346e1166c966e/environment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7732, 310, 88, 373, 67, 2740, 12, 1149, 16, 833, 16, 1018, 262, 30, 7732, 278, 373, 273, 341, 355, 74, 2920, 18, 4720, 1726, 12, 833, 63, 20, 65, 262, 225, 309, 486, 7732, 278, 373...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7732, 310, 88, 373, 67, 2740, 12, 1149, 16, 833, 16, 1018, 262, 30, 7732, 278, 373, 273, 341, 355, 74, 2920, 18, 4720, 1726, 12, 833, 63, 20, 65, 262, 225, 309, 486, 7732, 278, 373...
"state_vec_map": "int_4s", "insertion_time": "int_4s"
"state_vec_map": "int_4s"
def set_band(self, band): self.central_freq = (band[0] + band[1])/2.0 self.bandwidth = band.duration()
e4cba553d847c62222d592f5398cc0b319f447e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/e4cba553d847c62222d592f5398cc0b319f447e4/lsctables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 12752, 12, 2890, 16, 8937, 4672, 365, 18, 71, 12839, 67, 10212, 273, 261, 12752, 63, 20, 65, 397, 8937, 63, 21, 5717, 19, 22, 18, 20, 365, 18, 29750, 273, 8937, 18, 8760, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 12752, 12, 2890, 16, 8937, 4672, 365, 18, 71, 12839, 67, 10212, 273, 261, 12752, 63, 20, 65, 397, 8937, 63, 21, 5717, 19, 22, 18, 20, 365, 18, 29750, 273, 8937, 18, 8760, ...
return (0,temp)
del temp['cond'] del temp['loadedThisSession'] return (1,temp)
def __getstate__(self): temp = copy(self.__dict__) return (0,temp)
c0481e5ef62748f3dcca013c76c1e5fc892357da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/c0481e5ef62748f3dcca013c76c1e5fc892357da/guide.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 2019, 972, 12, 2890, 4672, 1906, 273, 1610, 12, 2890, 16186, 1576, 972, 13, 327, 261, 20, 16, 5814, 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, 1001, 588, 2019, 972, 12, 2890, 4672, 1906, 273, 1610, 12, 2890, 16186, 1576, 972, 13, 327, 261, 20, 16, 5814, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._extract_mem
self._extract_member(self._find_link_target(tarinfo), targetpath)
def makelink(self, tarinfo, targetpath): """Make a (symbolic) link called targetpath. If it cannot be created (platform limitation), we try to make a copy of the referenced file instead of a link. """ try: # For systems that support symbolic and hard links. if tarinfo.issym(): os.symlink(tarinfo.linkname, targetpath) e...
82df53e9324450483efce4582af62ae1c2232d2d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/82df53e9324450483efce4582af62ae1c2232d2d/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29796, 27269, 12, 2890, 16, 8232, 1376, 16, 1018, 803, 4672, 3536, 6464, 279, 261, 9009, 12164, 13, 1692, 2566, 1018, 803, 18, 971, 518, 2780, 506, 2522, 261, 9898, 17732, 3631, 732, 775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29796, 27269, 12, 2890, 16, 8232, 1376, 16, 1018, 803, 4672, 3536, 6464, 279, 261, 9009, 12164, 13, 1692, 2566, 1018, 803, 18, 971, 518, 2780, 506, 2522, 261, 9898, 17732, 3631, 732, 775...
navtrail += ' &gt; <a class="navtrail" href="%s/record/%s">%s</a> &gt; %s' % \
navtrail += ' <a class="navtrail" href="%s/record/%s">%s</a> &gt; %s' % \
def page_start(req, of, cc, as, ln, uid, title_message=None, description='', keywords='', recID=-1, tab=''): "Start page according to given output format." _ = gettext_set_language(ln) if not title_message: title_message = _("Search Results") if not req: return # we were called from CLI content_type = get_output_for...
99d05df2f651ccbc08f6d39a68e3f0aa4eee3f33 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2139/99d05df2f651ccbc08f6d39a68e3f0aa4eee3f33/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, ...
signal.signal(signal.SIGWINCH, sigwinch_handler)
def sigwinch_handler(s, f): sigwinch.append(True)
f1806133f0160c813de35e1b127006f4672f5d7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/f1806133f0160c813de35e1b127006f4672f5d7a/logger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 8082, 343, 67, 4176, 12, 87, 16, 284, 4672, 3553, 8082, 343, 18, 6923, 12, 5510, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 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, 3553, 8082, 343, 67, 4176, 12, 87, 16, 284, 4672, 3553, 8082, 343, 18, 6923, 12, 5510, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not os.environ.has_key('PKG_CONFIG_PATH'): pkgconfigdir = pkgconfigdir + ':/usr/lib/pkgconfig'
addpath('PKG_CONFIG_PATH', pkgconfigdatadir)
def setup_env(self): '''set environment variables for using prefix'''
5b1770a30f23172c80a7b8afd8a06ff4ecf656b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4596/5b1770a30f23172c80a7b8afd8a06ff4ecf656b2/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 67, 3074, 12, 2890, 4672, 9163, 542, 3330, 3152, 364, 1450, 1633, 26418, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3875, 67, 3074, 12, 2890, 4672, 9163, 542, 3330, 3152, 364, 1450, 1633, 26418, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def __init__(self, generator, addprefix, delete, always, skipredirects):
def __init__(self, generator, addprefix, delete, always, skipredirects, summary):
def __init__(self, generator, addprefix, delete, always, skipredirects): self.generator = generator self.addprefix = addprefix self.delete = delete self.always = always self.skipredirects = skipredirects
4e85b294a70ff363deff68fe89ce77f260a7df17 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/4e85b294a70ff363deff68fe89ce77f260a7df17/movepages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4456, 16, 527, 3239, 16, 1430, 16, 3712, 16, 2488, 22715, 16, 4916, 4672, 365, 18, 8812, 273, 4456, 365, 18, 1289, 3239, 273, 527, 3239, 365, 18, 3733, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4456, 16, 527, 3239, 16, 1430, 16, 3712, 16, 2488, 22715, 16, 4916, 4672, 365, 18, 8812, 273, 4456, 365, 18, 1289, 3239, 273, 527, 3239, 365, 18, 3733, ...
If `allowcomments' is non-zero, embedded RFC-822 comments are allowed within the parsed fragment.
If `allowcomments' is non-zero, embedded RFC 2822 comments are allowed within the parsed fragment.
def getdelimited(self, beginchar, endchars, allowcomments = 1): """Parse a header fragment delimited by special characters.
9ec58aaef2d0124bd42e30e6029fe8a7bdb906e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/9ec58aaef2d0124bd42e30e6029fe8a7bdb906e7/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 3771, 1038, 329, 12, 2890, 16, 2376, 3001, 16, 679, 7549, 16, 1699, 9231, 273, 404, 4672, 3536, 3201, 279, 1446, 5481, 18609, 635, 4582, 3949, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 3771, 1038, 329, 12, 2890, 16, 2376, 3001, 16, 679, 7549, 16, 1699, 9231, 273, 404, 4672, 3536, 3201, 279, 1446, 5481, 18609, 635, 4582, 3949, 18, 2, -100, -100, -100, -100, -100, ...
def tearDown(self): shutil.rmtree(self.workdir)
self.inputdir = tempfile.mkdtemp() self.src_path1 = os.path.join(self.inputdir, 'srcfile1') self.src_path2 = os.path.join(self.inputdir, 'srcfile2') self.result_path1 = os.path.join(self.inputdir, 'resultfile1') self.result_path2 = os.path.join(self.inputdir, 'resultfile2') open(self.src_path1, 'wb').write('source1\n')...
def setUp(self): self.workdir = tempfile.mkdtemp()
9d80ba66d4923756a64b80fa3f0ca6ecd1abd64f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9162/9d80ba66d4923756a64b80fa3f0ca6ecd1abd64f/test_cachemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 1252, 1214, 273, 13275, 18, 24816, 72, 5814, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 1252, 1214, 273, 13275, 18, 24816, 72, 5814, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
elems = content_tree.find ('body') if elems.text == None and len (elems) == 0: raise Exception ('no elements in entry
elems = body_tree.find (ET_XHTML_NAMESPACE + 'body') if elems == None: raise Exception ('no <html:body> element for entry elif elems.text == None and len (elems) == 0: raise Exception ('empty <html:body> element for entry
def parse_unicode (document): from cStringIO import StringIO from elementtidy import TidyHTMLTreeBuilder return et.parse (StringIO (body.encode ('utf-8')), TidyHTMLTreeBuilder.TreeBuilder (encoding = 'utf-8'))
379ab415f3483f29a308f6c6495450cf9a433ca5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7252/379ab415f3483f29a308f6c6495450cf9a433ca5/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 9124, 261, 5457, 4672, 628, 276, 780, 4294, 1930, 15777, 628, 930, 18081, 93, 1930, 399, 29609, 4870, 25060, 327, 3393, 18, 2670, 261, 780, 4294, 261, 3432, 18, 3015, 7707, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1109, 67, 9124, 261, 5457, 4672, 628, 276, 780, 4294, 1930, 15777, 628, 930, 18081, 93, 1930, 399, 29609, 4870, 25060, 327, 3393, 18, 2670, 261, 780, 4294, 261, 3432, 18, 3015, 7707, 315...
def skip(func,msg=''):
def skip(msg=''):
def decor(f): for label in labels: setattr(f,label,True) return f
0c17deab89e8f7f93e5e0180d6e4d6954b34b93b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4224/0c17deab89e8f7f93e5e0180d6e4d6954b34b93b/decorators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4839, 12, 74, 4672, 364, 1433, 316, 3249, 30, 9241, 12, 74, 16, 1925, 16, 5510, 13, 327, 284, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4839, 12, 74, 4672, 364, 1433, 316, 3249, 30, 9241, 12, 74, 16, 1925, 16, 5510, 13, 327, 284, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
for reporter in reporters:
for reporter in self.reporters:
def detect_start_response(status, headers, exc_info=None): try: return start_response(status, headers, exc_info) except: raise else: started.append(True)
466a2876c7b0fce665169e7d920dfc699a7b591f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12946/466a2876c7b0fce665169e7d920dfc699a7b591f/evalexception.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 1937, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 775, 30, 327, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 13, 1335, 30, 1002, 469, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 1937, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 775, 30, 327, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 13, 1335, 30, 1002, 469, 30, ...
mirrordoctor file add distribution/11.0/SHOULD_NOT_BE_VISIBLE cdn.novell.com mirrordoctor file rm distribution/11.0/SHOULD_NOT_BE_VISIBLE
mirrordoctor file add distribution/11.0/SHOULD_NOT_BE_VISIBLE -m cdn.novell.com mirrordoctor file rm distribution/11.0/SHOULD_NOT_BE_VISIBLE -m MIRROR
def do_file(self, subcmd, opts, action, path): """${cmd_name}: operations on files: ls/rm/add
40369ee396aa9e3ce4887c33721571156c1bfe2b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3890/40369ee396aa9e3ce4887c33721571156c1bfe2b/mirrordoctor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 768, 12, 2890, 16, 720, 4172, 16, 1500, 16, 1301, 16, 589, 4672, 3536, 18498, 4172, 67, 529, 6713, 5295, 603, 1390, 30, 7180, 19, 8864, 19, 1289, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 768, 12, 2890, 16, 720, 4172, 16, 1500, 16, 1301, 16, 589, 4672, 3536, 18498, 4172, 67, 529, 6713, 5295, 603, 1390, 30, 7180, 19, 8864, 19, 1289, 2, -100, -100, -100, -100, ...
widgets.PaginateDataGrid.Column(name='arch', getter=lambda x:x.arch, title='Arch', options=dict(sortable=True)), widgets.PaginateDataGrid.Column(name='system', getter=lambda x: x.system and x.system.link, title='System', options=dict(sortable=True)), widgets.PaginateDataGrid.Column(name='distro', getter=lambda x: x.dis...
widgets.PaginateDataGrid.Column(name='distro.arch.arch', getter=lambda x:x.arch, title='Arch', options=dict(sortable=True)), widgets.PaginateDataGrid.Column(name='system.fqdn', getter=lambda x: x.system and x.system.link, title='System', options=dict(sortable=True)), widgets.PaginateDataGrid.Column(name='distro.install...
def recipes(self,recipes,action='.',*args, **kw): recipes_return = self._recipes(recipes,**kw) searchvalue = None search_options = {} if recipes_return: if 'recipes_found' in recipes_return: recipes = recipes_return['recipes_found'] if 'searchvalue' in recipes_return: searchvalue = recipes_return['searchvalue'] if 'sim...
28d8af43f68a4801fe67e3fd414769005b9ba42b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/28d8af43f68a4801fe67e3fd414769005b9ba42b/recipes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5863, 281, 12, 2890, 16, 266, 3449, 281, 16, 1128, 2218, 1093, 16, 14, 1968, 16, 2826, 9987, 4672, 5863, 281, 67, 2463, 273, 365, 6315, 266, 3449, 281, 12, 266, 3449, 281, 16, 636, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5863, 281, 12, 2890, 16, 266, 3449, 281, 16, 1128, 2218, 1093, 16, 14, 1968, 16, 2826, 9987, 4672, 5863, 281, 67, 2463, 273, 365, 6315, 266, 3449, 281, 12, 266, 3449, 281, 16, 636, 9...
aTag.insert(0, escape(title['author']))
aTag.insert(0, title['author'])
def generateHTMLDescriptions(self): # Write each title to a separate HTML file in contentdir if self.verbose: print self.updateProgressFullStep("generateHTMLDescriptions()")
f2776c02eb64a6961bc1dc6798b150c8693a5d8f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/f2776c02eb64a6961bc1dc6798b150c8693a5d8f/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 4870, 16844, 12, 2890, 4672, 468, 2598, 1517, 2077, 358, 279, 9004, 3982, 585, 316, 913, 1214, 309, 365, 18, 11369, 30, 1172, 365, 18, 2725, 5491, 5080, 4160, 2932, 7163, 4870, 168...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 4870, 16844, 12, 2890, 4672, 468, 2598, 1517, 2077, 358, 279, 9004, 3982, 585, 316, 913, 1214, 309, 365, 18, 11369, 30, 1172, 365, 18, 2725, 5491, 5080, 4160, 2932, 7163, 4870, 168...
gLogger.warn("Failed to update FC_DirectoryUsage",res['Message'])
gLogger.warn( "Failed to update FC_DirectoryUsage", res['Message'] )
def _updateDirectoryUsage(self,directorySEDict,change,connection=False): connection = self._getConnection(connection) for dirID in sortList(directorySEDict.keys()): dirDict = directorySEDict[dirID] for seID in sortList(dirDict.keys()): seDict = dirDict[seID] files = seDict['Files'] size = seDict['Size'] req = "UPDATE F...
26c5008a7adbc1c761e2409bed59b7710e5f2c74 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/26c5008a7adbc1c761e2409bed59b7710e5f2c74/FileManagerBase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 2853, 5357, 12, 2890, 16, 5149, 1090, 5014, 16, 3427, 16, 4071, 33, 8381, 4672, 1459, 273, 365, 6315, 588, 1952, 12, 4071, 13, 364, 1577, 734, 316, 1524, 682, 12, 5149, 1090...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2853, 5357, 12, 2890, 16, 5149, 1090, 5014, 16, 3427, 16, 4071, 33, 8381, 4672, 1459, 273, 365, 6315, 588, 1952, 12, 4071, 13, 364, 1577, 734, 316, 1524, 682, 12, 5149, 1090...
def printPair( self, key, value, separator=":" ):
def printPair( self, key, value, separator = ":" ):
def printPair( self, key, value, separator=":" ): valueList = value.split( "\n" ) print "%s%s%s %s" % ( key, " " * ( self.identSpace - len( key ) ), separator, valueList[0].strip() ) for valueLine in valueList[ 1:-1 ]: print "%s %s" % ( " " * self.identSpace, valueLine.strip() )
bb7d1a0bdf22edd5f5fe7facc3ef500663868716 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/bb7d1a0bdf22edd5f5fe7facc3ef500663868716/CSCLI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 4154, 12, 365, 16, 498, 16, 460, 16, 4182, 273, 6153, 262, 30, 460, 682, 273, 460, 18, 4939, 12, 1548, 82, 6, 262, 1172, 2213, 87, 9, 87, 9, 87, 738, 87, 6, 738, 261, 498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 4154, 12, 365, 16, 498, 16, 460, 16, 4182, 273, 6153, 262, 30, 460, 682, 273, 460, 18, 4939, 12, 1548, 82, 6, 262, 1172, 2213, 87, 9, 87, 9, 87, 738, 87, 6, 738, 261, 498, ...
def __init__(self, name):
def __init__(self, job, name):
def __init__(self, name): self.name = name self.workspace = "/tmp" self.immediate_preconditions = [ ] self.global_preconditions = [ ] self.postconditions = [ ] self.returncode = None self.initial_input = None
bad1a92b98b1dfac4d5269f5ad6e983e309572b5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/bad1a92b98b1dfac4d5269f5ad6e983e309572b5/Task.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1719, 16, 508, 4672, 365, 18, 529, 273, 508, 365, 18, 14915, 273, 2206, 5645, 6, 365, 18, 381, 6785, 67, 1484, 6381, 273, 306, 308, 365, 18, 6347, 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, 1001, 2738, 972, 12, 2890, 16, 1719, 16, 508, 4672, 365, 18, 529, 273, 508, 365, 18, 14915, 273, 2206, 5645, 6, 365, 18, 381, 6785, 67, 1484, 6381, 273, 306, 308, 365, 18, 6347, 67, ...
data = {'label_singular': gettext(self._label[0]), 'label_plural': gettext(self._label[1])}
label = [gettext(each) for each in self._label] data = {'label_singular': label[0], 'label_plural': label[1]}
def _render_admin_panel(self, req, cat, page, path_info): data = {'label_singular': gettext(self._label[0]), 'label_plural': gettext(self._label[1])}
9551c6f0906637670276f4f30356edd2f0c9f6f1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9317/9551c6f0906637670276f4f30356edd2f0c9f6f1/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 3666, 67, 13916, 12, 2890, 16, 1111, 16, 6573, 16, 1363, 16, 589, 67, 1376, 4672, 501, 273, 13666, 1925, 67, 17835, 4278, 24972, 12, 2890, 6315, 1925, 63, 20, 65, 3631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 3666, 67, 13916, 12, 2890, 16, 1111, 16, 6573, 16, 1363, 16, 589, 67, 1376, 4672, 501, 273, 13666, 1925, 67, 17835, 4278, 24972, 12, 2890, 6315, 1925, 63, 20, 65, 3631, ...
if handle in self._listChannels:
try:
def channel_for_list(self, handle, suppress_handler=False): if handle in self._listChannels: chan = self._listChannels[handle] else: if handle.get_type() == telepathy.HANDLE_TYPE_GROUP: chan = channel.contact_list.GroupChannel(self._connRef(), handle) elif handle.get_type() == telepathy.HANDLE_TYPE_CONTACT: chan = chan...
ae58a0e7efd07fd97be2289c97cc2d3a53651ca9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13096/ae58a0e7efd07fd97be2289c97cc2d3a53651ca9/channel_manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1904, 67, 1884, 67, 1098, 12, 2890, 16, 1640, 16, 12257, 67, 4176, 33, 8381, 4672, 775, 30, 3861, 273, 365, 6315, 1098, 10585, 63, 4110, 65, 469, 30, 309, 1640, 18, 588, 67, 723, 143...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1904, 67, 1884, 67, 1098, 12, 2890, 16, 1640, 16, 12257, 67, 4176, 33, 8381, 4672, 775, 30, 3861, 273, 365, 6315, 1098, 10585, 63, 4110, 65, 469, 30, 309, 1640, 18, 588, 67, 723, 143...
class TestdocSerializer(LogSuiteSerializer):
class TestdocSerializer(LogSerializer):
def get_outpath(path, suite_name): if not path: path = '.' if os.path.isdir(path): path = os.path.join(path, '%s-doc.html' % suite_name.replace(' ', '_')) return os.path.abspath(path)
f33f03560eaa42dec6e8352d9e273211d12d6c41 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7408/f33f03560eaa42dec6e8352d9e273211d12d6c41/testdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 659, 803, 12, 803, 16, 11371, 67, 529, 4672, 309, 486, 589, 30, 589, 273, 2611, 309, 1140, 18, 803, 18, 291, 1214, 12, 803, 4672, 589, 273, 1140, 18, 803, 18, 5701, 12, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 659, 803, 12, 803, 16, 11371, 67, 529, 4672, 309, 486, 589, 30, 589, 273, 2611, 309, 1140, 18, 803, 18, 291, 1214, 12, 803, 4672, 589, 273, 1140, 18, 803, 18, 5701, 12, 80...
if version:
if version is not None:
def check(self, package, version=None): '''Check whether a particular module is installed.''' if not self.entries.has_key(package): return False p_version, p_installed = self.entries[package] if version: if version != p_version: return False return True
1872e1591740e6ba22ea5a9ecfb90c98d9ca670b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4596/1872e1591740e6ba22ea5a9ecfb90c98d9ca670b/packagedb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 2181, 16, 1177, 33, 7036, 4672, 9163, 1564, 2856, 279, 6826, 1605, 353, 5876, 1093, 6309, 309, 486, 365, 18, 8219, 18, 5332, 67, 856, 12, 5610, 4672, 327, 1083, 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, 866, 12, 2890, 16, 2181, 16, 1177, 33, 7036, 4672, 9163, 1564, 2856, 279, 6826, 1605, 353, 5876, 1093, 6309, 309, 486, 365, 18, 8219, 18, 5332, 67, 856, 12, 5610, 4672, 327, 1083, 293,...
'''Called the time is over. It removes both the incoming and the outgoing scenes from the transition scene.
'''Called when the time is over. It removes both the incoming and the outgoing scenes from the transition scene, and restores the outgoing scene's attributes like: position, visible and scale.
def finish(self): '''Called the time is over. It removes both the incoming and the outgoing scenes from the transition scene. ''' self.remove( self.in_scene ) self.remove( self.out_scene ) self.restore_out()
dc8a270a9f1611885d7574b03b2562ae09ac2a2c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7473/dc8a270a9f1611885d7574b03b2562ae09ac2a2c/transitions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4076, 12, 2890, 4672, 9163, 8185, 1347, 326, 813, 353, 1879, 18, 2597, 7157, 3937, 326, 6935, 471, 326, 12902, 888, 275, 281, 628, 326, 6007, 9065, 16, 471, 3127, 3485, 326, 12902, 9065,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4076, 12, 2890, 4672, 9163, 8185, 1347, 326, 813, 353, 1879, 18, 2597, 7157, 3937, 326, 6935, 471, 326, 12902, 888, 275, 281, 628, 326, 6007, 9065, 16, 471, 3127, 3485, 326, 12902, 9065,...
last_point = self._lineControlPoints[-1] second_last_point = self._lineControlPoints[-2] line_x = (last_point[0] + second_last_point[0]) / 2.0 line_y = (last_point[1] + second_last_point[1]) / 2.0
if point: line_x, line_y = point else: last_point = self._lineControlPoints[-1] second_last_point = self._lineControlPoints[-2] line_x = (last_point[0] + second_last_point[0]) / 2.0 line_y = (last_point[1] + second_last_point[1]) / 2.0
def InsertLineControlPoint(self, dc = None): """Insert a control point at an arbitrary position.""" if dc: self.Erase(dc)
4809f5df5d38a5d8068c7857e295a4ed22b8659c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/4809f5df5d38a5d8068c7857e295a4ed22b8659c/_lines.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8040, 1670, 3367, 2148, 12, 2890, 16, 6744, 273, 599, 4672, 3536, 4600, 279, 3325, 1634, 622, 392, 11078, 1754, 12123, 309, 6744, 30, 365, 18, 41, 5648, 12, 7201, 13, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8040, 1670, 3367, 2148, 12, 2890, 16, 6744, 273, 599, 4672, 3536, 4600, 279, 3325, 1634, 622, 392, 11078, 1754, 12123, 309, 6744, 30, 365, 18, 41, 5648, 12, 7201, 13, 2, -100, -100, -1...
create_results_log(results, logdir, missing)
create_results_log(results, logdir, missing, summary=summary, coverdir=coverdir)
def main(argv = None): import getopt if argv is None: argv = sys.argv try: opts, prog_argv = getopt.getopt(argv[1:], "tcrRf:d:m", ["help", "version", "trace", "count", "report", "no-report", "file=", "logdir=", "missing", "ignore-module=", "ignore-dir="]) except getopt.error, msg: sys.stderr.write("%s: %s\n" % (sys.a...
894961335102d1da3e013a6c403542d89fcb4d40 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/894961335102d1da3e013a6c403542d89fcb4d40/trace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 273, 599, 4672, 1930, 336, 3838, 225, 309, 5261, 353, 599, 30, 5261, 273, 2589, 18, 19485, 775, 30, 1500, 16, 11243, 67, 19485, 273, 336, 3838, 18, 588, 3838, 12, 1948...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 273, 599, 4672, 1930, 336, 3838, 225, 309, 5261, 353, 599, 30, 5261, 273, 2589, 18, 19485, 775, 30, 1500, 16, 11243, 67, 19485, 273, 336, 3838, 18, 588, 3838, 12, 1948...
self.render_zip(req, repos, chgset)
self._render_zip(req, repos, chgset)
def process_request(self, req): req.perm.assert_permission(perm.CHANGESET_VIEW)
294ad5958b84e6670b05ec7b2263cef3638204e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/294ad5958b84e6670b05ec7b2263cef3638204e0/Changeset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 1111, 4672, 1111, 18, 12160, 18, 11231, 67, 9827, 12, 12160, 18, 14473, 4043, 67, 12145, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 1111, 4672, 1111, 18, 12160, 18, 11231, 67, 9827, 12, 12160, 18, 14473, 4043, 67, 12145, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(self, default=''):
def __init__(self, default=""):
def __init__(self, default=''): gtk.FileChooserButton.__init__(self, _("Python-Fu Folder Selection")) self.set_action(gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER) if default: self.set_filename(default)
11f094f565c8843d3b52447f6bf7564fe383f605 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11058/11f094f565c8843d3b52447f6bf7564fe383f605/gimpfu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 805, 1546, 6, 4672, 22718, 18, 812, 17324, 3616, 16186, 2738, 972, 12, 2890, 16, 389, 2932, 15774, 17, 42, 89, 12623, 12977, 6, 3719, 365, 18, 542, 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, 1001, 2738, 972, 12, 2890, 16, 805, 1546, 6, 4672, 22718, 18, 812, 17324, 3616, 16186, 2738, 972, 12, 2890, 16, 389, 2932, 15774, 17, 42, 89, 12623, 12977, 6, 3719, 365, 18, 542, 67, ...
a.wrte("
a.write("
def Boot(): global BuildLocal BuildLocal += " -boot -keep -DM3CC_TARGET=" + Config Version = CM3VERSION + "-" + time.strftime("%Y%m%d") # This information is duplicated from the config files. # TBD: put it only in one place. # The older bootstraping method does get that right. vms = StringTagged(Config, "VMS") # p...
fe402951663a114939ea364d70ddccab8c9e07a5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9328/fe402951663a114939ea364d70ddccab8c9e07a5/pylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26254, 13332, 225, 2552, 3998, 2042, 3998, 2042, 1011, 315, 300, 7137, 300, 10102, 300, 16125, 23, 6743, 67, 16374, 1546, 397, 1903, 225, 4049, 273, 15871, 23, 5757, 397, 7514, 397, 813, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26254, 13332, 225, 2552, 3998, 2042, 3998, 2042, 1011, 315, 300, 7137, 300, 10102, 300, 16125, 23, 6743, 67, 16374, 1546, 397, 1903, 225, 4049, 273, 15871, 23, 5757, 397, 7514, 397, 813, ...
for xid in dead: if xid == root_xid or xid == default_xid:
for deadxid in deadxids: if deadxid == root_xid or deadxid == default_xid:
def sync(nmdbcopy): """ Syncs tc, db, and bwmon.dat. Then, starts new slices, kills old ones, and updates byte accounts for each running slice. Sends emails and caps those that went over their limit. """ # Defaults global datafile, \ period, \ default_MaxRate, \ default_Maxi2Rate, \ default_MinRate, \ default_MaxKByt...
e17ccfdb44360782bd91e02b3b1df8cafb675f28 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6995/e17ccfdb44360782bd91e02b3b1df8cafb675f28/bwmon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 12, 82, 27574, 3530, 4672, 3536, 9721, 87, 1715, 16, 1319, 16, 471, 12986, 2586, 18, 3404, 18, 225, 9697, 16, 2542, 394, 12390, 16, 8673, 87, 1592, 5945, 16, 471, 4533, 1160, 948...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3792, 12, 82, 27574, 3530, 4672, 3536, 9721, 87, 1715, 16, 1319, 16, 471, 12986, 2586, 18, 3404, 18, 225, 9697, 16, 2542, 394, 12390, 16, 8673, 87, 1592, 5945, 16, 471, 4533, 1160, 948...
self.zp = -8.9
self.zp = -2.5*n.log10(3631)
def __init__(self, wavelen=None, flambda=None): """Initialize sed object by giving filename or lambda/flambda array.
9952ff4a2d94aab006515720b203b88088185227 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/91/9952ff4a2d94aab006515720b203b88088185227/Sed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 341, 7882, 275, 33, 7036, 16, 1183, 2737, 33, 7036, 4672, 3536, 7520, 24336, 733, 635, 21057, 1544, 578, 3195, 19, 2242, 2737, 526, 18, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 341, 7882, 275, 33, 7036, 16, 1183, 2737, 33, 7036, 4672, 3536, 7520, 24336, 733, 635, 21057, 1544, 578, 3195, 19, 2242, 2737, 526, 18, 2, -100, -100, -1...
dk = zipfile.ZipFile('./DK-data.zip')
dk = zipfile.ZipFile('/home/skipper/statsmodels/DK-data.zip')
def Q(x): cholQ = np.array([[x[1],0],[0,x[2]]]) return np.dot(cholQ,cholQ.T)
3f0ccb720bd60c3732850d8827f15d2f4f538f23 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12658/3f0ccb720bd60c3732850d8827f15d2f4f538f23/kalmanf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2238, 12, 92, 4672, 462, 355, 53, 273, 1130, 18, 1126, 3816, 63, 92, 63, 21, 6487, 20, 6487, 63, 20, 16, 92, 63, 22, 13563, 5717, 327, 1130, 18, 9811, 12, 343, 355, 53, 16, 343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2238, 12, 92, 4672, 462, 355, 53, 273, 1130, 18, 1126, 3816, 63, 92, 63, 21, 6487, 20, 6487, 63, 20, 16, 92, 63, 22, 13563, 5717, 327, 1130, 18, 9811, 12, 343, 355, 53, 16, 343, ...
oframe1 = Frame(mainframe, background=BG_COLOR) oframe1.pack(side="bottom", fill='x', expand=0) b1 = Button(oframe1, text="Options", justify='center',
b1 = Button(ctrlframe, text="Options", justify='center',
def _init_options(self, mainframe): self._leftImage=PhotoImage(master=self._top, data=LEFT_GIF) self._rightImage=PhotoImage(master=self._top, data=RIGHT_GIF)
19275515c1011eb2ed1be810d73cf19c849a3b63 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/19275515c1011eb2ed1be810d73cf19c849a3b63/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 2116, 12, 2890, 16, 2774, 3789, 4672, 365, 6315, 4482, 2040, 33, 19934, 2040, 12, 7525, 33, 2890, 6315, 3669, 16, 501, 33, 10066, 67, 43, 5501, 13, 365, 6315, 4083, 2040...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 2738, 67, 2116, 12, 2890, 16, 2774, 3789, 4672, 365, 6315, 4482, 2040, 33, 19934, 2040, 12, 7525, 33, 2890, 6315, 3669, 16, 501, 33, 10066, 67, 43, 5501, 13, 365, 6315, 4083, 2040...
mh._send(collector.collector_email, dest_emails, email_msg.as_string())
mh._send(collector.collector_email, dest_emails, outer.as_string())
def send_notifications(recipients, issue): """ send out notifications through email """ collector = issue.aq_parent
f0f8246aa0e99d151c7c222d02d00994abb324ed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/f0f8246aa0e99d151c7c222d02d00994abb324ed/notifications.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 15286, 12, 27925, 16, 5672, 4672, 3536, 1366, 596, 9208, 3059, 2699, 3536, 225, 8543, 273, 5672, 18, 69, 85, 67, 2938, 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, 0, 0, 0, 0, 0, 0, 0, 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, 1366, 67, 15286, 12, 27925, 16, 5672, 4672, 3536, 1366, 596, 9208, 3059, 2699, 3536, 225, 8543, 273, 5672, 18, 69, 85, 67, 2938, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
mysmtp.quit()
mysmtp = smtplib.SMTP(self.settings['E-mail']['SMTP Server'], self.settings['E-mail']['SMTP Port']) if self.cmdoptions.debug: mysmtp.set_debuglevel(1) if self.settings['E-mail']['SMTP Use TLS'] == True: mysmtp.ehlo() mysmtp.starttls() mysmtp.ehlo() if self.settings['E-mail']['SMTP Needs Login'] == True: mysmtp.logi...
def SendZipByEmail(self): '''Send the zipped logfile archive by email, using mail settings specified in the .ini file ''' # basic logic flow: #~ if autozip is not enabled, just call the ziplogfiles function ourselves #~ read ziplog.txt (in a try block) and check if it conforms to being a proper zip filename #~ if not,...
6ed57ae951689329f84b1af783026391157d52a4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3638/6ed57ae951689329f84b1af783026391157d52a4/logwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2479, 9141, 858, 4134, 12, 2890, 4672, 9163, 3826, 326, 3144, 1845, 15204, 5052, 635, 2699, 16, 1450, 4791, 1947, 1269, 316, 326, 263, 8767, 585, 9163, 468, 5337, 4058, 4693, 30, 468, 98...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 9141, 858, 4134, 12, 2890, 4672, 9163, 3826, 326, 3144, 1845, 15204, 5052, 635, 2699, 16, 1450, 4791, 1947, 1269, 316, 326, 263, 8767, 585, 9163, 468, 5337, 4058, 4693, 30, 468, 98...
includes += [ CONTRIBS_INC ]
CONTRIBS_INC = [ CONTRIBS_INC ] else: CONTRIBS_INC = []
def adjustLFLAGS(lfags, libdirs, libs): '''Extrace the -L and -l flags and put them in libdirs and libs as needed''' newLFLAGS = [] for flag in lflags: if flag[:2] == '-L': libdirs.append(flag[2:]) elif flag[:2] == '-l': libs.append(flag[2:]) else: newLFLAGS.append(flag) return newLFLAGS
4c41721418d544175d81f2270bc305cc33de5f12 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/4c41721418d544175d81f2270bc305cc33de5f12/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5765, 9105, 6552, 55, 12, 20850, 1341, 16, 2561, 8291, 16, 15042, 4672, 9163, 424, 5129, 326, 300, 48, 471, 300, 80, 2943, 471, 1378, 2182, 316, 2561, 8291, 471, 15042, 487, 3577, 26418,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5765, 9105, 6552, 55, 12, 20850, 1341, 16, 2561, 8291, 16, 15042, 4672, 9163, 424, 5129, 326, 300, 48, 471, 300, 80, 2943, 471, 1378, 2182, 316, 2561, 8291, 471, 15042, 487, 3577, 26418,...
line = shapes.Arrow if i == len(points)-2 and arrow_head else shapes.LineSegment
line = shapes.arrow3d if i == len(points)-2 and arrow_head else shapes.LineSegment
def line3d(points, thickness=1, radius=None, arrow_head=False, **kwds): """ Draw a 3d line joining a sequence of points. One may specify either a thickness or radius. If a thickness is specified, this line will have a constant diameter regardless of scaling and zooming. If a radius is specified, it will behave as a se...
cb8710b1bd611f9ed1fae1e72e26ff904ad5cef8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/cb8710b1bd611f9ed1fae1e72e26ff904ad5cef8/shapes2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 23, 72, 12, 4139, 16, 27199, 33, 21, 16, 5725, 33, 7036, 16, 12274, 67, 1978, 33, 8381, 16, 2826, 25577, 4672, 3536, 10184, 279, 890, 72, 980, 21239, 279, 3102, 434, 3143, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 23, 72, 12, 4139, 16, 27199, 33, 21, 16, 5725, 33, 7036, 16, 12274, 67, 1978, 33, 8381, 16, 2826, 25577, 4672, 3536, 10184, 279, 890, 72, 980, 21239, 279, 3102, 434, 3143, 18, 2...
self.root.ungrab_key (self.keycode, X.AnyModifier, self.root)
for combo in self.unknown_combos: self.root.ungrab_key (self.keycode, self.modifiers | combo, self.root)
def ungrab (self): """ Ungrab the key binding """ if self.keycode: self.root.ungrab_key (self.keycode, X.AnyModifier, self.root)
2055e1bfc264c25fe76e2c0aca8b3dfa9dc1163c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3179/2055e1bfc264c25fe76e2c0aca8b3dfa9dc1163c/globalkeybinding.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 2752, 70, 261, 2890, 4672, 3536, 1351, 2752, 70, 326, 498, 5085, 3536, 309, 365, 18, 856, 710, 30, 364, 16778, 316, 365, 18, 8172, 67, 9301, 538, 30, 365, 18, 3085, 18, 318, 275...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 2752, 70, 261, 2890, 4672, 3536, 1351, 2752, 70, 326, 498, 5085, 3536, 309, 365, 18, 856, 710, 30, 364, 16778, 316, 365, 18, 8172, 67, 9301, 538, 30, 365, 18, 3085, 18, 318, 275...
_error("""Option --strip-prefix has been replaced; see --identifier-prefix and --symbol-prefix.""")
print """g-ir-scanner: warning: Option --strip-prefix has been deprecated; see --identifier-prefix and --symbol-prefix.""" options.identifier_prefixes.append(options.strip_prefix)
def scanner_main(args): parser = _get_option_parser() (options, args) = parser.parse_args(args) if options.passthrough_gir: passthrough_gir(options.passthrough_gir, sys.stdout) if options.test_codegen: return test_codegen(options.test_codegen) if len(args) <= 1: _error('Need at least one filename') if not options.na...
920512de3fb9bfefffadb454308d66eca9c9ebd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2770/920512de3fb9bfefffadb454308d66eca9c9ebd4/scannermain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7683, 67, 5254, 12, 1968, 4672, 2082, 273, 389, 588, 67, 3482, 67, 4288, 1435, 261, 2116, 16, 833, 13, 273, 2082, 18, 2670, 67, 1968, 12, 1968, 13, 225, 309, 702, 18, 84, 345, 24283,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7683, 67, 5254, 12, 1968, 4672, 2082, 273, 389, 588, 67, 3482, 67, 4288, 1435, 261, 2116, 16, 833, 13, 273, 2082, 18, 2670, 67, 1968, 12, 1968, 13, 225, 309, 702, 18, 84, 345, 24283,...
self.linked[int(nim.connectedTo.value)]=x
connto = self.getRoot(x, int(nim.connectedTo.value)) if not self.linked.has_key(connto): self.linked[connto] = [] self.linked[connto].append(x)
def update(self): sec = secClass.getInstance() self.configuredSatellites = Set() sec.clear() ## this do unlinking NIMs too !! print "sec config cleared"
9063d6049a81d8945126c66e0a12ce8b5a64b4a1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/9063d6049a81d8945126c66e0a12ce8b5a64b4a1/NimManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 1428, 273, 1428, 797, 18, 588, 1442, 1435, 365, 18, 16449, 15163, 1165, 2997, 273, 1000, 1435, 1428, 18, 8507, 1435, 7541, 333, 741, 8255, 310, 423, 3445, 87, 4885,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 12, 2890, 4672, 1428, 273, 1428, 797, 18, 588, 1442, 1435, 365, 18, 16449, 15163, 1165, 2997, 273, 1000, 1435, 1428, 18, 8507, 1435, 7541, 333, 741, 8255, 310, 423, 3445, 87, 4885,...
an empty list of data will clear the SRAM.
an empty list of data will clear the SRAM. The blockDelay parameters specifies the number of microseconds to delay for a multiblock sequence.
def run_sram(self, c, data, loop=False): """Loads data into the SRAM and executes.
e5536ee3540ed76874b9bd1b357a8407dd491843 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7016/e5536ee3540ed76874b9bd1b357a8407dd491843/ghz_dacs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 87, 1940, 12, 2890, 16, 276, 16, 501, 16, 2798, 33, 8381, 4672, 3536, 7968, 501, 1368, 326, 19145, 2192, 471, 11997, 18, 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, 1086, 67, 87, 1940, 12, 2890, 16, 276, 16, 501, 16, 2798, 33, 8381, 4672, 3536, 7968, 501, 1368, 326, 19145, 2192, 471, 11997, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if not isinstance(halt, (int, long, Integer)): raise TypeError, "halt must be an integer" elif isinstance(halt, (int, long)): halt = Integer(halt)
def Qq(q, prec = 20, type = 'capped-rel', modulus = None, names=None, print_mode=None, halt=40, qp_name = None, check=True): r""" Given a prime power q = p^n, return the unique unramified extension of Qp of degree n. Currently, there's no code for unramified field extensions, so we just return the UnramifiedRingExtens...
b92340ea12db03897b3c1888cbbf80913f1ff7f8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/b92340ea12db03897b3c1888cbbf80913f1ff7f8/factory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2238, 85, 12, 85, 16, 13382, 273, 4200, 16, 618, 273, 296, 5909, 1845, 17, 2878, 2187, 24770, 273, 599, 16, 1257, 33, 7036, 16, 1172, 67, 3188, 33, 7036, 16, 18389, 33, 7132, 16, 228...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2238, 85, 12, 85, 16, 13382, 273, 4200, 16, 618, 273, 296, 5909, 1845, 17, 2878, 2187, 24770, 273, 599, 16, 1257, 33, 7036, 16, 1172, 67, 3188, 33, 7036, 16, 18389, 33, 7132, 16, 228...
def get_config_path(start_path):
def get_config_path(start_path, options):
def get_config_path(start_path): """ Gets the location of the config file, either in the deps directory or the user specified one, and ensures that it exists """ if start_path == './build.cfg' and not os.path.exists('./build.cfg'): config_path = os.path.join(get_build_root(options), 'build.cfg') else: config_path = os....
e07c83add8503a19b1f3cdbb836d74660234dddc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10608/e07c83add8503a19b1f3cdbb836d74660234dddc/build-deps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1425, 67, 803, 12, 1937, 67, 803, 16, 702, 4672, 3536, 11881, 326, 2117, 434, 326, 642, 585, 16, 3344, 316, 326, 8740, 1867, 578, 326, 729, 1269, 1245, 16, 471, 11932, 716, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1425, 67, 803, 12, 1937, 67, 803, 16, 702, 4672, 3536, 11881, 326, 2117, 434, 326, 642, 585, 16, 3344, 316, 326, 8740, 1867, 578, 326, 729, 1269, 1245, 16, 471, 11932, 716, ...
padded = "\x02%s\x00%s" % ("\xFF" * (128 - (len(toEncrypt)) -2), toEncrypt)
padded = "\x00\x02%s\x00%s" % ("\xFF" * (128 - (len(toEncrypt)) -3), toEncrypt)
def usage(): print "Usage:", sys.argv[0], print "[-p pin][--pin=pin]", print "[-c lib][--lib=lib]", print "[-S][--sign]", print "[-d][--decrypt]", print "[-h][--help]",
915d10ed08a5109d4d3b3eb803ec8f4b2779dc65 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6899/915d10ed08a5109d4d3b3eb803ec8f4b2779dc65/dumpit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 315, 5357, 2773, 16, 2589, 18, 19485, 63, 20, 6487, 1172, 5158, 17, 84, 7092, 6362, 413, 13097, 33, 13097, 65, 3113, 1172, 5158, 17, 71, 2561, 6362, 413, 2941, 33, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 315, 5357, 2773, 16, 2589, 18, 19485, 63, 20, 6487, 1172, 5158, 17, 84, 7092, 6362, 413, 13097, 33, 13097, 65, 3113, 1172, 5158, 17, 71, 2561, 6362, 413, 2941, 33, 2...
sage: F = AbelianGroup(2,[2,3],names='ab') sage: s = Collection([1,2,3,4,5,6],F)
sage: J = AbelianGroup(2,[2,3],names='ab') sage: s = Collection([1,2,3,4,5,6],J)
def dft(self, chi = lambda x: x): """ Implements a discrete Fourier transform "over QQ" using exact N-th roots of unity.
9c13afcbe9dba10ea8450a988631f90a3447d7ef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/9c13afcbe9dba10ea8450a988631f90a3447d7ef/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 18, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 18, 2,...
ccflags += ccflags + " -Iclaro"
ccflags += ccflags + " -Iinclude"
def cmd_examples(ccflags): ccflags += ccflags + " -Iclaro" Compile("build/hello", ["examples/helloworld/hello.c"], ccflags) Compile("build/radio", ["examples/radio/radio.c"], ccflags) Compile("build/combo", ["examples/combo/combo.c"], ccflags) Compile("build/layout_test", ["examples/layout/layout_test.c"], ccflags) Com...
cd5a0d1493d4b1ce86e83d89c7b7c4d37f816d44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14850/cd5a0d1493d4b1ce86e83d89c7b7c4d37f816d44/koch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 16858, 12, 952, 7133, 4672, 4946, 7133, 1011, 4946, 7133, 397, 315, 300, 45, 6702, 6, 16143, 2932, 3510, 19, 23711, 3113, 8247, 16858, 19, 76, 11394, 6245, 19, 23711, 18, 71, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1797, 67, 16858, 12, 952, 7133, 4672, 4946, 7133, 1011, 4946, 7133, 397, 315, 300, 45, 6702, 6, 16143, 2932, 3510, 19, 23711, 3113, 8247, 16858, 19, 76, 11394, 6245, 19, 23711, 18, 71, ...
Return the number type that contains both `self.field()` and `other`.
Return the common field for both ``self`` and ``other``.
def coerce_field(self, other): """ Return the number type that contains both `self.field()` and `other`.
0c61561d1b57a623066b142dfbf64dda9a4bb06e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/0c61561d1b57a623066b142dfbf64dda9a4bb06e/polyhedra.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12270, 67, 1518, 12, 2890, 16, 1308, 4672, 3536, 2000, 326, 1300, 618, 716, 1914, 3937, 1375, 2890, 18, 1518, 20338, 471, 1375, 3011, 8338, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12270, 67, 1518, 12, 2890, 16, 1308, 4672, 3536, 2000, 326, 1300, 618, 716, 1914, 3937, 1375, 2890, 18, 1518, 20338, 471, 1375, 3011, 8338, 2, -100, -100, -100, -100, -100, -100, -100, -...
self.UpdateStatus("%s tests, %s runs" % (self.options.test_count, self.options.run_count))
self.UpdateStatus("Source %s, mode %s, %s tests, %s runs" % (self.options.data_source, self.options.select_mode, self.options.test_count, self.options.run_count))
def ProcessForm(self): """Parse the form fields and populate class variables.""" self.UpdateStatus('Processing form inputs') self.primary = self.supplied_ns
64ebbf2fcdb018b4d842128d3184c6892d845697 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4170/64ebbf2fcdb018b4d842128d3184c6892d845697/controller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4389, 1204, 12, 2890, 4672, 3536, 3201, 326, 646, 1466, 471, 6490, 667, 3152, 12123, 365, 18, 1891, 1482, 2668, 7798, 646, 4540, 6134, 365, 18, 8258, 273, 365, 18, 2859, 3110, 67, 2387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4389, 1204, 12, 2890, 4672, 3536, 3201, 326, 646, 1466, 471, 6490, 667, 3152, 12123, 365, 18, 1891, 1482, 2668, 7798, 646, 4540, 6134, 365, 18, 8258, 273, 365, 18, 2859, 3110, 67, 2387, ...
keys = v.keys() keys.sort()
keys = sorted(v.keys())
def write(self, fp): options = self.__options timestamp = time.strftime('%Y-%m-%d %H:%M+%Z') # The time stamp in the header doesn't have the same format as that # generated by xgettext... print(pot_header % {'time': timestamp, 'version': __version__}, file=fp) # Sort the entries. First sort each particular entry's key...
432e25bde45d4cfa3df6d5da493a0f400a83af30 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/432e25bde45d4cfa3df6d5da493a0f400a83af30/pygettext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4253, 4672, 702, 273, 365, 16186, 2116, 2858, 273, 813, 18, 701, 9982, 29909, 61, 6456, 81, 6456, 72, 738, 44, 5319, 49, 15, 9, 62, 6134, 468, 1021, 813, 14429, 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, 1045, 12, 2890, 16, 4253, 4672, 702, 273, 365, 16186, 2116, 2858, 273, 813, 18, 701, 9982, 29909, 61, 6456, 81, 6456, 72, 738, 44, 5319, 49, 15, 9, 62, 6134, 468, 1021, 813, 14429, 3...
if os.path.isdir('/usr/local/include/freetype2'): FT_LIB = ['freetype'] FT_LIB_DIR = ['/usr/local/lib'] FT_MACROS = [('RENDERPM_FT',None)] FT_INC_DIR = ['/usr/local/include','/usr/local/include/freetype2']
if platform=='win32': FT_LIB=os.environ.get('FREETYPE_LIB','') if not FT_LIB: FT_LIB=config('FREETYPE','lib','') if FT_LIB and not os.path.isfile(FT_LIB): infoline(' FT_LIB=[] if FT_LIB: FT_INC_DIR=os.environ.get('FREETYPE_INC','') if not FT_INC_DIR: FT_INC_DIR=config('FREETYPE','incdir') FT_MACROS = [('RENDERPM_FT',No...
def main(): cwd = os.getcwd() os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) MACROS=[('ROBIN_DEBUG',None)] MACROS=[] from glob import glob from distutils.core import setup, Extension pJoin=os.path.join LIBART_VERSION = libart_version() SOURCES=['_renderPM.c'] DEVEL_DIR=os.curdir LIBART_DIR=pJoin(DEVEL_DIR,'li...
8803120be2f52578e5d4da6add04f5d7ced4c1d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3878/8803120be2f52578e5d4da6add04f5d7ced4c1d3/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 7239, 273, 1140, 18, 588, 11089, 1435, 1140, 18, 343, 1214, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 5113, 803, 12, 9499, 18, 19485, 63, 20, 65, 20349, 14246, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7239, 273, 1140, 18, 588, 11089, 1435, 1140, 18, 343, 1214, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 5113, 803, 12, 9499, 18, 19485, 63, 20, 65, 20349, 14246, ...
def __init__( self, owner, scale_type, root, width, heigth ):
def __init__( self, owner, scale_type, root, width, height ):
def __init__( self, owner, scale_type, root, width, heigth ):
2e4e7c5daa9d6b052171f723237d43de6db2f864 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/2e4e7c5daa9d6b052171f723237d43de6db2f864/Plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 3410, 16, 3159, 67, 723, 16, 1365, 16, 1835, 16, 3904, 360, 451, 262, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 365, 16, 3410, 16, 3159, 67, 723, 16, 1365, 16, 1835, 16, 3904, 360, 451, 262, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
else: all_files.append(f)
def manage_FTPlist(self, REQUEST): """Directory listing for FTP. """ out=()
62fd608a28a6ec86172e8ef8adbd0362880180ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/62fd608a28a6ec86172e8ef8adbd0362880180ad/ObjectManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 17104, 1098, 12, 2890, 16, 12492, 4672, 3536, 2853, 11591, 364, 19324, 18, 3536, 596, 33, 1435, 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, 10680, 67, 17104, 1098, 12, 2890, 16, 12492, 4672, 3536, 2853, 11591, 364, 19324, 18, 3536, 596, 33, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def setReplicaStatus(self,replicaTuples):
def setReplicaStatus(self,replicaTuples,connection=False):
def setReplicaStatus(self,replicaTuples): """Set status for the supplied replica tuples """ gLogger.info("TransformationDB.setReplicaStatus: Attempting to set statuses for %s replicas." % len(replicaTuples)) successful = {} failed = {} lfns = [] for lfn,pfn,se,status in replicaTuples: lfns.append(lfn) connection = self...
ff9eee8a40f9ffb1a9c8f7e8807007eaf1cdc8c7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/ff9eee8a40f9ffb1a9c8f7e8807007eaf1cdc8c7/TransformationDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 14222, 1482, 12, 2890, 16, 30065, 25813, 16, 4071, 33, 8381, 4672, 3536, 694, 1267, 364, 326, 4580, 12335, 10384, 3536, 314, 3328, 18, 1376, 2932, 15292, 2290, 18, 542, 14222, 1482, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14222, 1482, 12, 2890, 16, 30065, 25813, 16, 4071, 33, 8381, 4672, 3536, 694, 1267, 364, 326, 4580, 12335, 10384, 3536, 314, 3328, 18, 1376, 2932, 15292, 2290, 18, 542, 14222, 1482, ...
""" Run given command line much like run(), but return the status code instead of raising an exception if there's an error. """
""" Run the given command, but only if its dependencies have changed -- like run(), but returns the status code instead of raising an exception on error. If "command" is a string (as per memoize.py) it's split into args using shlex.split() in a POSIX/bash style, otherwise it's a list of args as per run(). This functio...
def memoize(self, command): """ Run given command line much like run(), but return the status code instead of raising an exception if there's an error. """ try: self.run(*command.split()) # *** this isn't escaping-safe return 0 except ExecutionError, exc: message, data, status = exc return status
070932f7fc3d347d0daecf87f93989d43ce66012 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7381/070932f7fc3d347d0daecf87f93989d43ce66012/fabricate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27820, 12, 2890, 16, 1296, 4672, 3536, 1939, 326, 864, 1296, 16, 1496, 1338, 309, 2097, 5030, 1240, 3550, 1493, 3007, 1086, 9334, 1496, 1135, 326, 1267, 981, 3560, 434, 28014, 392, 1520, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27820, 12, 2890, 16, 1296, 4672, 3536, 1939, 326, 864, 1296, 16, 1496, 1338, 309, 2097, 5030, 1240, 3550, 1493, 3007, 1086, 9334, 1496, 1135, 326, 1267, 981, 3560, 434, 28014, 392, 1520, ...
if __debug__: print "reschedule colorizing"
if DEBUG: print "reschedule colorizing"
def recolorize(self): self.after_id = None if not self.delegate: if __debug__: print "no delegate" return if not self.allow_colorizing: if __debug__: print "auto colorizing is off" return if self.colorizing: if __debug__: print "already colorizing" return try: self.stop_colorizing = 0 self.colorizing = 1 if __debug__: ...
4eac93808fdd8f20626f02a6a00d4c5b9809f2e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4eac93808fdd8f20626f02a6a00d4c5b9809f2e0/ColorDelegator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 3266, 554, 12, 2890, 4672, 365, 18, 5205, 67, 350, 273, 599, 309, 486, 365, 18, 22216, 30, 309, 1001, 4148, 972, 30, 1172, 315, 2135, 7152, 6, 327, 309, 486, 365, 18, 5965, 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, 283, 3266, 554, 12, 2890, 4672, 365, 18, 5205, 67, 350, 273, 599, 309, 486, 365, 18, 22216, 30, 309, 1001, 4148, 972, 30, 1172, 315, 2135, 7152, 6, 327, 309, 486, 365, 18, 5965, 67, ...
if type == 'feed':
if tab_type in ('feed', 'audio-feed'):
def _make_label(self, type, selected_tabs): label_parts = [] if self.folder_count > 0: if type == 'feed': label_parts.append(_('%d Channel Folders Selected') % self.folder_count) label_parts.append(_('(contains %d channels)') % self.folder_child_count) else: label_parts.append(_('%d Playlist Folders Selected') % self.f...
8b9a3f4dfba5989d296d22657facbc6d61718af5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/8b9a3f4dfba5989d296d22657facbc6d61718af5/displays.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 1925, 12, 2890, 16, 618, 16, 3170, 67, 16056, 4672, 1433, 67, 6019, 273, 5378, 309, 365, 18, 5609, 67, 1883, 405, 374, 30, 309, 3246, 67, 723, 316, 7707, 7848, 2187, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 1925, 12, 2890, 16, 618, 16, 3170, 67, 16056, 4672, 1433, 67, 6019, 273, 5378, 309, 365, 18, 5609, 67, 1883, 405, 374, 30, 309, 3246, 67, 723, 316, 7707, 7848, 2187, 2...
def mark_as_watched(self): id = self.playlist[self.position].id messages.MarkItemWatched(id).send_to_backend()
def mark_as_watched(self, id_):
def mark_as_watched(self): id = self.playlist[self.position].id messages.MarkItemWatched(id).send_to_backend() self.mark_as_watched_timeout = None
1d0bcf92e936bfffd89a6ba85ea9d6af9194aafd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/1d0bcf92e936bfffd89a6ba85ea9d6af9194aafd/playback.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2267, 67, 345, 67, 7585, 329, 12, 2890, 16, 612, 67, 4672, 365, 18, 3355, 67, 345, 67, 7585, 329, 67, 4538, 273, 599, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2267, 67, 345, 67, 7585, 329, 12, 2890, 16, 612, 67, 4672, 365, 18, 3355, 67, 345, 67, 7585, 329, 67, 4538, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if uri[i:i+1] =="
if uri[i:i+1] =="
def refTo(base, uri): """Your regular relative URI algorithm -- never trust anyone else's ;-) This one checks that it uses a root-realtive one where that is all they share. Now uses root-relative where no path is shared. This is a matter of taste but tends to give more resilience IMHO -- and shorter paths""" if base ==...
86d148b223a0cb14ac1fc7ea7253a880cf1be42c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/86d148b223a0cb14ac1fc7ea7253a880cf1be42c/uripath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1278, 774, 12, 1969, 16, 2003, 4672, 3536, 15446, 6736, 3632, 3699, 4886, 1493, 5903, 10267, 1281, 476, 469, 1807, 274, 17, 13, 1220, 1245, 4271, 716, 518, 4692, 279, 1365, 17, 266, 2390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1278, 774, 12, 1969, 16, 2003, 4672, 3536, 15446, 6736, 3632, 3699, 4886, 1493, 5903, 10267, 1281, 476, 469, 1807, 274, 17, 13, 1220, 1245, 4271, 716, 518, 4692, 279, 1365, 17, 266, 2390...
return gtk.RESPONSE_OK
return gtk.RESPONSE_YES
def Ask(self, message, buttons, custom_widgets=None): if self.AutoResolve: return gtk.RESPONSE_OK
36d6b37e455460b3e47684e2c9154bf3ea58f2c9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7183/36d6b37e455460b3e47684e2c9154bf3ea58f2c9/Conflicts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25747, 12, 2890, 16, 883, 16, 9502, 16, 1679, 67, 18148, 33, 7036, 4672, 309, 365, 18, 4965, 8460, 30, 327, 22718, 18, 14508, 67, 3141, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 25747, 12, 2890, 16, 883, 16, 9502, 16, 1679, 67, 18148, 33, 7036, 4672, 309, 365, 18, 4965, 8460, 30, 327, 22718, 18, 14508, 67, 3141, 2, -100, -100, -100, -100, -100, -100, -100, -10...
for c in self.chords: cline += (' '*c[0] + c[1].capitalize())
for c in self.chords: cline += (' '*c[0] + c[1])
def __str__(self): cline = ' ' for c in self.chords: cline += (' '*c[0] + c[1].capitalize()) v = [cline, '%03d %s' % (self.lineno, self.bare)] return '\n'.join(v)
db0235fbec6be16be903312dd522038ba0e6ec04 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11886/db0235fbec6be16be903312dd522038ba0e6ec04/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 927, 558, 273, 296, 565, 296, 364, 276, 316, 365, 18, 343, 517, 87, 30, 927, 558, 1011, 7707, 14609, 71, 63, 20, 65, 397, 276, 63, 21, 5717, 331, 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, 1001, 701, 972, 12, 2890, 4672, 927, 558, 273, 296, 565, 296, 364, 276, 316, 365, 18, 343, 517, 87, 30, 927, 558, 1011, 7707, 14609, 71, 63, 20, 65, 397, 276, 63, 21, 5717, 331, 27...
plugin = x.split(" - ")
plugin = x.split(" - ", 2)
def dataAvail(self, str): #prepend any remaining data from the previous call str = self.remainingdata + str #split in lines lines = str.split('\n') #'str' should end with '\n', so when splitting, the last line should be empty. If this is not the case, we received an incomplete line if len(lines[-1]): #remember this dat...
d737336f55ea7bb0a714d73cabd351d6db8bdddd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/d737336f55ea7bb0a714d73cabd351d6db8bdddd/PluginBrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 501, 3769, 671, 12, 2890, 16, 609, 4672, 468, 23100, 1281, 4463, 501, 628, 326, 2416, 745, 609, 273, 365, 18, 17956, 892, 397, 609, 468, 4939, 316, 2362, 2362, 273, 609, 18, 4939, 2668...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 501, 3769, 671, 12, 2890, 16, 609, 4672, 468, 23100, 1281, 4463, 501, 628, 326, 2416, 745, 609, 273, 365, 18, 17956, 892, 397, 609, 468, 4939, 316, 2362, 2362, 273, 609, 18, 4939, 2668...
Returns an iterator through all curves with conductor between Nmin and Nmax-1, inclusive, in the database.
Return an iterator through all curves in the database with given conductors.
def iter(self, conductors): """ Returns an iterator through all curves with conductor between Nmin and Nmax-1, inclusive, in the database.
3c1b27bc91a3712f6058f9620a30ed25509047e2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/3c1b27bc91a3712f6058f9620a30ed25509047e2/cremona.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 12, 2890, 16, 356, 1828, 1383, 4672, 3536, 2860, 392, 2775, 3059, 777, 24106, 598, 356, 1828, 280, 3086, 423, 1154, 471, 423, 1896, 17, 21, 16, 13562, 16, 316, 326, 2063, 18, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 12, 2890, 16, 356, 1828, 1383, 4672, 3536, 2860, 392, 2775, 3059, 777, 24106, 598, 356, 1828, 280, 3086, 423, 1154, 471, 423, 1896, 17, 21, 16, 13562, 16, 316, 326, 2063, 18, 2, ...
v = ' '.join(map(str, v))
v = ' '.join(nv)
def _options(self, cnf, kw = None): """Internal function.""" if kw: cnf = _cnfmerge((cnf, kw)) else: cnf = _cnfmerge(cnf) res = () for k, v in cnf.items(): if v is not None: if k[-1] == '_': k = k[:-1] if callable(v): v = self._register(v) elif isinstance(v, (tuple, list)): for item in v: if not isinstance(item, (bases...
988e7d872b449a19d6811bb41c8cf84bd2b4867a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/988e7d872b449a19d6811bb41c8cf84bd2b4867a/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2116, 12, 2890, 16, 23118, 16, 5323, 273, 599, 4672, 3536, 3061, 445, 12123, 309, 5323, 30, 23118, 273, 389, 10305, 74, 2702, 12443, 10305, 74, 16, 5323, 3719, 469, 30, 23118, 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, 389, 2116, 12, 2890, 16, 23118, 16, 5323, 273, 599, 4672, 3536, 3061, 445, 12123, 309, 5323, 30, 23118, 273, 389, 10305, 74, 2702, 12443, 10305, 74, 16, 5323, 3719, 469, 30, 23118, 273, ...
0x0413: "nl_NL", 0x0409: "en_US", 0x0809: "en_UK", 0x0c09: "en_AU", 0x1009: "en_CA", 0x1409: "en_NZ", 0x1809: "en_IE", 0x1c09: "en_ZA",
0x048c: "gbz_AF", 0x0465: "div_MV", 0x0413: "nl_NL", 0x0813: "nl_BE", 0x0409: "en_US", 0x0809: "en_GB", 0x0c09: "en_AU", 0x1009: "en_CA", 0x1409: "en_NZ", 0x1809: "en_IE", 0x1c09: "en_ZA", 0x2009: "en_JA", 0x2409: "en_CB", 0x2809: "en_BZ", 0x2c09: "en_TT", 0x3009: "en_ZW", 0x3409: "en_PH", 0x0425: "et_EE", 0x0438: "fo_...
def getpreferredencoding(do_setlocale = True): """Return the charset that the user is likely using, according to the system configuration.""" if do_setlocale: oldloc = setlocale(LC_CTYPE) setlocale(LC_CTYPE, "") result = nl_langinfo(CODESET) setlocale(LC_CTYPE, oldloc) return result else: return nl_langinfo(CODESET)
494d0666bbd1c51595495abf757828b8dafb2dd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/494d0666bbd1c51595495abf757828b8dafb2dd7/locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23616, 5999, 12, 2896, 67, 542, 6339, 273, 1053, 4672, 3536, 990, 326, 4856, 716, 326, 729, 353, 10374, 1450, 16, 4888, 358, 326, 2619, 1664, 12123, 309, 741, 67, 542, 6339, 30, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23616, 5999, 12, 2896, 67, 542, 6339, 273, 1053, 4672, 3536, 990, 326, 4856, 716, 326, 729, 353, 10374, 1450, 16, 4888, 358, 326, 2619, 1664, 12123, 309, 741, 67, 542, 6339, 30, 1...
active_root_tasks = self.req.get_active_tasks_list(tags=tag_list,\ notag_only=notag_only, is_root=True, started_only=False) active_tasks = self.req.get_active_tasks_list(tags=tag_list,\ notag_only=notag_only, is_root=False, started_only=False)
active_root_tasks = self.req.get_active_tasks_list( tags=tag_list,notag_only=notag_only, is_root=True, started_only=False) active_tasks = self.req.get_active_tasks_list( tags=tag_list, notag_only=notag_only, is_root=False, started_only=False)
def refresh_list(self, a=None, toselect=None): #pylint: disable-msg=W0613
fac54dcba973acc5967f43b60fb540659a1a87a8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/fac54dcba973acc5967f43b60fb540659a1a87a8/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 67, 1098, 12, 2890, 16, 279, 33, 7036, 16, 358, 4025, 33, 7036, 4672, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 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, 4460, 67, 1098, 12, 2890, 16, 279, 33, 7036, 16, 358, 4025, 33, 7036, 4672, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._debug(NIGHTMARE, "JS: document.write", `data`)
def jsProcessData (self, data): """process data produced by document.write() JavaScript""" self._debug(NIGHTMARE, "JS: document.write", `data`) self.js_output += 1 # parse recursively self.js_html.feed(data)
2235a065dd104f9a4252037ab7cb36681acd5b89 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/2235a065dd104f9a4252037ab7cb36681acd5b89/HtmlParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3828, 2227, 751, 261, 2890, 16, 501, 4672, 3536, 2567, 501, 14929, 635, 1668, 18, 2626, 1435, 11905, 8395, 225, 365, 18, 2924, 67, 2844, 1011, 404, 468, 1109, 8536, 365, 18, 2924, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3828, 2227, 751, 261, 2890, 16, 501, 4672, 3536, 2567, 501, 14929, 635, 1668, 18, 2626, 1435, 11905, 8395, 225, 365, 18, 2924, 67, 2844, 1011, 404, 468, 1109, 8536, 365, 18, 2924, 67, ...
assert dt.debugCompare(dt1), (dt, dt1)
self.assertEqual(repr(dt),repr(dt1))
def testConstructor7(self): '''Constructor from parts''' dt = DateTime() dt1 = DateTime( dt.year(), dt.month(), dt.day(), dt.hour(), dt.minute(), dt.second(), dt.timezone()) assert dt.debugCompare(dt1), (dt, dt1)
b3c9e0f18e86ee332fdce4466b2b7295d9ea9fd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b3c9e0f18e86ee332fdce4466b2b7295d9ea9fd7/testDateTime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6293, 27, 12, 2890, 4672, 9163, 6293, 628, 2140, 26418, 3681, 273, 3716, 1435, 3681, 21, 273, 3716, 12, 3681, 18, 6874, 9334, 3681, 18, 7496, 9334, 3681, 18, 2881, 9334, 3681, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6293, 27, 12, 2890, 4672, 9163, 6293, 628, 2140, 26418, 3681, 273, 3716, 1435, 3681, 21, 273, 3716, 12, 3681, 18, 6874, 9334, 3681, 18, 7496, 9334, 3681, 18, 2881, 9334, 3681, 18, ...
maxT = '%.2f' % self.curveCollection.getMaxT()
maxT = self.curveCollection.getMaxT() maxT_text = '%0.2f' % maxT
def updateWidgets(self): if not self.curveCollection: return self.fAdjustingValues = 1 # Widgets depending on max T maxT = '%.2f' % self.curveCollection.getMaxT() # Playback controls self.getWidget('Playback', 'Time').configure(max = maxT) self.getVariable('Resample', 'Path Duration').set(maxT) # Refine widgets widget ...
5d734967e5189740d7aaf488592138233a905a3c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/5d734967e5189740d7aaf488592138233a905a3c/MopathRecorder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 16166, 12, 2890, 4672, 309, 486, 365, 18, 16683, 2532, 30, 327, 365, 18, 74, 10952, 310, 1972, 273, 404, 468, 11103, 87, 8353, 603, 943, 399, 943, 56, 273, 365, 18, 16683, 2532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 16166, 12, 2890, 4672, 309, 486, 365, 18, 16683, 2532, 30, 327, 365, 18, 74, 10952, 310, 1972, 273, 404, 468, 11103, 87, 8353, 603, 943, 399, 943, 56, 273, 365, 18, 16683, 2532, ...