rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
command.extend([ "--skel", skel ])
command.extend(["--skel", skel])
def record(uri, http_user, name, skel=None, permissive=False, description=None, members_source = [], members_dest = [], resps_source = [], resps_dest = [], guests_source = [], guests_dest = [], record = None): """Record group changes.""" # web submit -> forget it del record title = _("Modifying group...
d9449425cb5de89ee21ea727bbf57a04644d6cfc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/d9449425cb5de89ee21ea727bbf57a04644d6cfc/groups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1409, 12, 1650, 16, 1062, 67, 1355, 16, 508, 16, 4343, 292, 33, 7036, 16, 293, 1840, 688, 33, 8381, 16, 2477, 33, 7036, 16, 4833, 67, 3168, 565, 273, 5378, 16, 4833, 67, 10488, 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, 1409, 12, 1650, 16, 1062, 67, 1355, 16, 508, 16, 4343, 292, 33, 7036, 16, 293, 1840, 688, 33, 8381, 16, 2477, 33, 7036, 16, 4833, 67, 3168, 565, 273, 5378, 16, 4833, 67, 10488, 273, ...
if c2pwrite is not None:
if c2pwrite != -1:
def _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session): """Execute program (MS Windows version)"""
3b8bfeffb3bf63ff54a338b60a82c514a00687d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/3b8bfeffb3bf63ff54a338b60a82c514a00687d3/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8837, 67, 3624, 12, 2890, 16, 833, 16, 9070, 16, 675, 4177, 67, 4293, 16, 1746, 67, 74, 2377, 16, 7239, 16, 1550, 16, 26182, 67, 31276, 16, 11850, 1376, 16, 6710, 7133, 16, 5972...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8837, 67, 3624, 12, 2890, 16, 833, 16, 9070, 16, 675, 4177, 67, 4293, 16, 1746, 67, 74, 2377, 16, 7239, 16, 1550, 16, 26182, 67, 31276, 16, 11850, 1376, 16, 6710, 7133, 16, 5972...
emailsent = sendAccountDeletedMessage(res[0][1], res[0][1])
emailsent = send_account_deleted_message(res[0][1], res[0][1])
def perform_deleteaccount(req, userID, callback='yes', confirm=0): """delete account""" (auth_code, auth_message) = is_adminuser(req) if auth_code != 0: return mustloginpage(req, auth_message) subtitle = """<a name="3"></a>3. Delete account.&nbsp;&nbsp;&nbsp;<small>[<a title="See guide" href="%s/help/admin/webaccess-...
23f82669a784517b3dd8a1acd98ec74aa6e40517 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1931/23f82669a784517b3dd8a1acd98ec74aa6e40517/webaccessadmin_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 3733, 4631, 12, 3658, 16, 16299, 16, 1348, 2218, 9707, 2187, 6932, 33, 20, 4672, 3536, 3733, 2236, 8395, 225, 261, 1944, 67, 710, 16, 1357, 67, 2150, 13, 273, 353, 67, 3666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 3733, 4631, 12, 3658, 16, 16299, 16, 1348, 2218, 9707, 2187, 6932, 33, 20, 4672, 3536, 3733, 2236, 8395, 225, 261, 1944, 67, 710, 16, 1357, 67, 2150, 13, 273, 353, 67, 3666, ...
steps += 1
def optimize(self, nrOfSteps = -1): self.optimizeButton.hide() self.stopButton.show() self.cancelOptimization = 0
124412186d12bde3fe0b836818de0b9222b5f935 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/124412186d12bde3fe0b836818de0b9222b5f935/OWFreeVizOptimization.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2890, 16, 9884, 951, 11811, 273, 300, 21, 4672, 365, 18, 29155, 3616, 18, 11248, 1435, 365, 18, 5681, 3616, 18, 4500, 1435, 365, 18, 10996, 13930, 1588, 273, 374, 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, 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, 10979, 12, 2890, 16, 9884, 951, 11811, 273, 300, 21, 4672, 365, 18, 29155, 3616, 18, 11248, 1435, 365, 18, 5681, 3616, 18, 4500, 1435, 365, 18, 10996, 13930, 1588, 273, 374, 2, -100, -...
- ``l`` - element to perform phi on.
- ``l`` - element to perform `\phi` on.
def phi(self, l): r""" The operation `\phi` from [MR02]_
e9de4dc45b78ee371d827176c047af2a011b3044 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/e9de4dc45b78ee371d827176c047af2a011b3044/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7706, 12, 2890, 16, 328, 4672, 436, 8395, 1021, 1674, 1375, 64, 9973, 68, 628, 306, 23464, 3103, 65, 67, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7706, 12, 2890, 16, 328, 4672, 436, 8395, 1021, 1674, 1375, 64, 9973, 68, 628, 306, 23464, 3103, 65, 67, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
' texkey ' : ' 035__z:',
'texkey' : '035__z:',
def __init__(self, message): """Initialization.""" self.message = message
855acf1f403f93dbc03543809cdbbd3d0c4c46af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12027/855acf1f403f93dbc03543809cdbbd3d0c4c46af/search_engine_query_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 883, 4672, 3536, 17701, 12123, 365, 18, 2150, 273, 883, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 883, 4672, 3536, 17701, 12123, 365, 18, 2150, 273, 883, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
defvalue = defvalue.strip('"').strip("'") argdefs.append(defvalue)
argdefs.append(eval(defvalue))
defpos = source.find('def ')
4d25713f8b0421c8ec86dac00f7ab1999549be38 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11792/4d25713f8b0421c8ec86dac00f7ab1999549be38/sageinspect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 917, 273, 1084, 18, 4720, 2668, 536, 8624, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 917, 273, 1084, 18, 4720, 2668, 536, 8624, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def setParameters(self,ceOptions):
def setParameters( self, ceOptions ):
def reset(self): """ Make specific CE parameter adjustments here """ pass
3d103a1ec7530dcfac38e6ccc642be862e663b73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/3d103a1ec7530dcfac38e6ccc642be862e663b73/ComputingElement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 12, 2890, 4672, 3536, 4344, 2923, 29538, 1569, 5765, 1346, 2674, 3536, 1342, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 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, 2715, 12, 2890, 4672, 3536, 4344, 2923, 29538, 1569, 5765, 1346, 2674, 3536, 1342, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
return re.sub('^[0-9]+-(.*)\.(diff|patch)$', '\g<1>', name)
stripped = re.sub('^[0-9]+-(.*)$', '\g<1>', name) stripped = re.sub('^(.*)\.(diff|patch)$', '\g<1>', stripped) return stripped
def __strip_patch_name(name): return re.sub('^[0-9]+-(.*)\.(diff|patch)$', '\g<1>', name)
bcb6d890a9805ef09bcaeb3c39a099895c6dd40f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12366/bcb6d890a9805ef09bcaeb3c39a099895c6dd40f/imprt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6406, 67, 2272, 67, 529, 12, 529, 4672, 13300, 273, 283, 18, 1717, 2668, 66, 63, 20, 17, 29, 3737, 17, 14361, 8, 2187, 2337, 75, 32, 21, 1870, 16, 508, 13, 13300, 273, 283, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6406, 67, 2272, 67, 529, 12, 529, 4672, 13300, 273, 283, 18, 1717, 2668, 66, 63, 20, 17, 29, 3737, 17, 14361, 8, 2187, 2337, 75, 32, 21, 1870, 16, 508, 13, 13300, 273, 283, 1...
if isinstance(prop, hyperdb.Multilink): value = [] else: value = None
value = None
def __getitem__(self, item): """ return an HTMLProperty instance """
b22dddaa059d0ce4d088471b84168e28232e1ec2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1906/b22dddaa059d0ce4d088471b84168e28232e1ec2/templating.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 761, 4672, 3536, 327, 392, 3982, 1396, 791, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 31571, 972, 12, 2890, 16, 761, 4672, 3536, 327, 392, 3982, 1396, 791, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
loglevel = LOG['level'] log.root.setLevel(loglevel) if config.main.logfile: logfile = config.main.logfile if not logfile.startswith('/'): logfile = os.path.join(prefix, logfile) handler = log.FileHandler(logfile) handler.setFormatter(log.Formatter(LOG[u'format'], LOG[u'datefmt'])) log.root.addHandler(handler) log.inf...
loglevel = None else: loglevel = opts.loglevel if loglevel is not None: log.root.setLevel(loglevel)
def main(): """Entry point to set up bot and run it""" log.basicConfig(**LOG) # where we are being run from if __file__.startswith(sys.argv[0]): prefix = sys.argv[0] else: prefix = __file__ prefix = os.path.abspath(os.path.dirname(prefix)) sys.path.insert(0, prefix) # location of config files config = os.path.join(p...
7615d5fa9880d811ab241bf6fb9d8404faa37970 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10942/7615d5fa9880d811ab241bf6fb9d8404faa37970/madcow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 1622, 1634, 358, 444, 731, 2512, 471, 1086, 518, 8395, 225, 613, 18, 13240, 809, 12, 636, 4842, 13, 225, 468, 1625, 732, 854, 3832, 1086, 628, 309, 1001, 768, 25648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3536, 1622, 1634, 358, 444, 731, 2512, 471, 1086, 518, 8395, 225, 613, 18, 13240, 809, 12, 636, 4842, 13, 225, 468, 1625, 732, 854, 3832, 1086, 628, 309, 1001, 768, 25648, ...
return r"%s \\times 10^{%d}" % (m, int(e))
return r"%s \times 10^{%d}" % (m, int(e))
def latexnumber(s): """ Convert a string of the form "d.dddde-dd" to "d.dddd \times 10^{-dd}" """ m, e = floatpattern.match(s).groups() return r"%s \\times 10^{%d}" % (m, int(e))
f3c9333bc17cb8cd050d7f5171410146a69ae0d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/f3c9333bc17cb8cd050d7f5171410146a69ae0d9/SnglBurstUtils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25079, 2696, 12, 87, 4672, 3536, 4037, 279, 533, 434, 326, 646, 315, 72, 18, 449, 72, 323, 17, 449, 6, 358, 315, 72, 18, 449, 449, 521, 8293, 1728, 66, 95, 17, 449, 1532, 3536, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25079, 2696, 12, 87, 4672, 3536, 4037, 279, 533, 434, 326, 646, 315, 72, 18, 449, 72, 323, 17, 449, 6, 358, 315, 72, 18, 449, 449, 521, 8293, 1728, 66, 95, 17, 449, 1532, 3536, 312...
time.sleep(100)
qsize = nmessages * nconsumers try: for i in xrange(qsize): queue.get(block=True, timeout=5) except Queue.Empty: self.assert_(False, 'Expected %d messages in queue' % qsize) self.assert_(queue.empty())
def xtest_multiple_sessions(self): # create a single producer session1 = self.conn.createSession() topic = self.random_topic(session1) producer = session1.createProducer(topic)
495a97b7732a060d96e59c2e67732ce9cdc8c4da /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4509/495a97b7732a060d96e59c2e67732ce9cdc8c4da/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 3813, 67, 9622, 67, 16794, 12, 2890, 4672, 468, 752, 279, 2202, 12608, 1339, 21, 273, 365, 18, 4646, 18, 2640, 2157, 1435, 3958, 273, 365, 18, 9188, 67, 10476, 12, 3184, 21, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 3813, 67, 9622, 67, 16794, 12, 2890, 4672, 468, 752, 279, 2202, 12608, 1339, 21, 273, 365, 18, 4646, 18, 2640, 2157, 1435, 3958, 273, 365, 18, 9188, 67, 10476, 12, 3184, 21, 13, ...
print "Mouse wheel zooming activated"
msg = "Mouse wheel zooming activated" appendTextview(self.textviewStdOut, msg)
def switchWheelZoom(self,event): if event.key==self.dictKeybindings['switchWheelZoom']: self.flagWheelZoom=not self.flagWheelZoom if self.flagWheelZoom: print "Mouse wheel zooming activated" else: print "Mouse wheel zooming deactivated"
b822b77814749ba0fa0b0a638d2c2e8ccf514f6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/b822b77814749ba0fa0b0a638d2c2e8ccf514f6c/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1620, 59, 11648, 11497, 12, 2890, 16, 2575, 4672, 309, 871, 18, 856, 631, 2890, 18, 1576, 653, 15863, 3292, 9610, 59, 11648, 11497, 3546, 30, 365, 18, 6420, 59, 11648, 11497, 33, 902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1620, 59, 11648, 11497, 12, 2890, 16, 2575, 4672, 309, 871, 18, 856, 631, 2890, 18, 1576, 653, 15863, 3292, 9610, 59, 11648, 11497, 3546, 30, 365, 18, 6420, 59, 11648, 11497, 33, 902, ...
Translation options are availabe below."
Translation options are available below."
def updateMessage(self): # Mark 2007-06-23 """ Updates the message box with an informative message. """ from ops_select import objectSelected if objectSelected(self.o.assy): msg = "" else: msg = "Click on an object to select it." if self._currentMoveMode == TRANSLATE: msg += "Translate the current selection by holdin...
9212476e2dac5fe7a9c408893cfa497626fa650f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/9212476e2dac5fe7a9c408893cfa497626fa650f/MovePropertyManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 1079, 12, 2890, 4672, 468, 6622, 4044, 27, 17, 7677, 17, 4366, 3536, 15419, 326, 883, 3919, 598, 392, 13235, 1535, 883, 18, 3536, 225, 628, 6727, 67, 4025, 1930, 733, 7416, 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, 1089, 1079, 12, 2890, 4672, 468, 6622, 4044, 27, 17, 7677, 17, 4366, 3536, 15419, 326, 883, 3919, 598, 392, 13235, 1535, 883, 18, 3536, 225, 628, 6727, 67, 4025, 1930, 733, 7416, 309, ...
else: return (context._raise_error(InvalidOperation, '(+-)INF // (+-)INF'), context._raise_error(InvalidOperation, '(+-)INF % (+-)INF')) if not divmod: if other._isinfinity(): context._raise_error(Clamped, 'Division by infinity') return Decimal((sign, (0,), context.Etiny())) if self._isinfinity(): return Infsign[sign]...
def _divide(self, other, divmod = 0, context=None): """Return a / b, to context.prec precision.
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, 2892, 831, 12, 2890, 16, 1308, 16, 26105, 273, 374, 16, 819, 33, 7036, 4672, 3536, 990, 279, 342, 324, 16, 358, 819, 18, 4036, 6039, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2892, 831, 12, 2890, 16, 1308, 16, 26105, 273, 374, 16, 819, 33, 7036, 4672, 3536, 990, 279, 342, 324, 16, 358, 819, 18, 4036, 6039, 18, 2, -100, -100, -100, -100, -100, -100, -...
print _("Window is already visible! Not doing anything")
self.logger.log("Window is already visible! Not doing anything.", "debug", "specto")
def listenforUSR1(signum, frame): f = open(self.SPECTO_DIR + "/" + "specto.pid.boot") pid = int(f.readline()) f.close() os.kill(pid, signal.SIGUSR1) #If window was not shown, make it appear if not self.notifier.get_state(): print _("Showing window, the user ran another instance of specto") self.toggle_notifier() else: ...
8be045ab4ecf7a75366f75029b2bd2a34e5edf69 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10818/8be045ab4ecf7a75366f75029b2bd2a34e5edf69/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6514, 1884, 27984, 21, 12, 2977, 379, 16, 2623, 4672, 284, 273, 1696, 12, 2890, 18, 23810, 1268, 51, 67, 4537, 397, 4016, 397, 315, 13234, 83, 18, 6610, 18, 7137, 7923, 4231, 273, 509,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6514, 1884, 27984, 21, 12, 2977, 379, 16, 2623, 4672, 284, 273, 1696, 12, 2890, 18, 23810, 1268, 51, 67, 4537, 397, 4016, 397, 315, 13234, 83, 18, 6610, 18, 7137, 7923, 4231, 273, 509,...
from pprint import pprint
def dispatch(self, req): """Find a registered handler that matches the request and let it process it. In addition, this method initializes the HDF data set and adds the web site chrome. """ self.log.debug('Dispatching %r', req) chrome = Chrome(self.env)
23c47c625c1188d3121cd9c24aa0dc70b53b3efa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/23c47c625c1188d3121cd9c24aa0dc70b53b3efa/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3435, 12, 2890, 16, 1111, 4672, 3536, 3125, 279, 4104, 1838, 716, 1885, 326, 590, 471, 2231, 518, 1207, 518, 18, 225, 657, 2719, 16, 333, 707, 11643, 326, 21673, 501, 444, 471, 4831, 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, 3435, 12, 2890, 16, 1111, 4672, 3536, 3125, 279, 4104, 1838, 716, 1885, 326, 590, 471, 2231, 518, 1207, 518, 18, 225, 657, 2719, 16, 333, 707, 11643, 326, 21673, 501, 444, 471, 4831, 3...
beg, end = this_quarter() get_report(authtok, tableid, beg, end)
beg, end = previous_quarter() print get_report(authtok, tableid, beg, end)
def this_quarter(): t = datetime.datetime.now() order = math.ceil(t.month / 3.0) year = "%04d" % t.year return quarter_limits(year, order)
0e1e4429075fced431d9ff87c2614cbf8df0a54f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8937/0e1e4429075fced431d9ff87c2614cbf8df0a54f/download_report.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 333, 67, 372, 14153, 13332, 268, 273, 3314, 18, 6585, 18, 3338, 1435, 1353, 273, 4233, 18, 311, 330, 12, 88, 18, 7496, 342, 890, 18, 20, 13, 3286, 273, 2213, 3028, 72, 6, 738, 268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 333, 67, 372, 14153, 13332, 268, 273, 3314, 18, 6585, 18, 3338, 1435, 1353, 273, 4233, 18, 311, 330, 12, 88, 18, 7496, 342, 890, 18, 20, 13, 3286, 273, 2213, 3028, 72, 6, 738, 268, ...
self.log_info ('sending %s' % repr(data))
self.log_info('sending %s' % repr(data))
def send (self, data): if self.debug: self.log_info ('sending %s' % repr(data)) self.out_buffer = self.out_buffer + data self.initiate_send()
f7eb0d3f501f2e379b8719bda476d318d1e79160 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/f7eb0d3f501f2e379b8719bda476d318d1e79160/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 261, 2890, 16, 501, 4672, 309, 365, 18, 4148, 30, 365, 18, 1330, 67, 1376, 2668, 87, 2846, 738, 87, 11, 738, 8480, 12, 892, 3719, 365, 18, 659, 67, 4106, 273, 365, 18, 659, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 261, 2890, 16, 501, 4672, 309, 365, 18, 4148, 30, 365, 18, 1330, 67, 1376, 2668, 87, 2846, 738, 87, 11, 738, 8480, 12, 892, 3719, 365, 18, 659, 67, 4106, 273, 365, 18, 659, 6...
keys = msgstrs.keys() list(keys).sort()
keys = list(msgstrs) keys.sort()
def __str__(self, wrapwidth=78): """ Common string representation of the POEntry and MOEntry objects. """ if self.obsolete: delflag = '#~ ' else: delflag = '' # write the msgid ret = [] ret += self._str_field("msgid", delflag, "", self.msgid) # write the msgid_plural if any if self.msgid_plural: ret += self._str_field(...
db68db8432a3c118721cee9bb011f0c0bdbfe9f7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9209/db68db8432a3c118721cee9bb011f0c0bdbfe9f7/polib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 16, 2193, 2819, 33, 8285, 4672, 3536, 5658, 533, 4335, 434, 326, 13803, 1622, 471, 16070, 1622, 2184, 18, 3536, 309, 365, 18, 10992, 19513, 30, 1464, 6420, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 16, 2193, 2819, 33, 8285, 4672, 3536, 5658, 533, 4335, 434, 326, 13803, 1622, 471, 16070, 1622, 2184, 18, 3536, 309, 365, 18, 10992, 19513, 30, 1464, 6420, 273,...
init()
if not inited: init()
def guess_extension(type, strict=True): """Guess the extension for a file based on its MIME type. Return value is a string giving a filename extension, including the leading dot ('.'). The extension is not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type `type' ...
78733639eb896b4755f40a0943515fdc45ddefcb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/78733639eb896b4755f40a0943515fdc45ddefcb/mimetypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7274, 67, 6447, 12, 723, 16, 5490, 33, 5510, 4672, 3536, 15977, 326, 2710, 364, 279, 585, 2511, 603, 2097, 13195, 618, 18, 225, 2000, 460, 353, 279, 533, 21057, 279, 1544, 2710, 16, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7274, 67, 6447, 12, 723, 16, 5490, 33, 5510, 4672, 3536, 15977, 326, 2710, 364, 279, 585, 2511, 603, 2097, 13195, 618, 18, 225, 2000, 460, 353, 279, 533, 21057, 279, 1544, 2710, 16, 65...
assert it.next()==item try: it.next() except StopIteration: pass else: raise AssertionError("Too many items from .next()",it)
test.assertEqual(it.next(), item) test.assertRaises(StopIteration, it.next)
def compare_generic_iter(make_it,match): """Utility to compare a generic 2.1/2.2+ iterator with an iterable If running under Python 2.2+, this tests the iterator using iter()/next(), as well as __getitem__. 'make_it' must be a function returning a fresh iterator to be tested (since this may test the iterator twice)."...
06524b61d05c604543e6d3603dee11425ccff637 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/06524b61d05c604543e6d3603dee11425ccff637/test_wsgiref.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 13540, 67, 2165, 12, 6540, 67, 305, 16, 1916, 4672, 3536, 6497, 358, 3400, 279, 5210, 576, 18, 21, 19, 22, 18, 22, 15, 2775, 598, 392, 6087, 225, 971, 3549, 3613, 6600, 576...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 13540, 67, 2165, 12, 6540, 67, 305, 16, 1916, 4672, 3536, 6497, 358, 3400, 279, 5210, 576, 18, 21, 19, 22, 18, 22, 15, 2775, 598, 392, 6087, 225, 971, 3549, 3613, 6600, 576...
log.msg(jsonurl)
if self.debug: log.msg(jsonurl)
def poll(self): '''poll iterates over the repos and updates the local database.
e93531ed72a3c9efadadcecbaad74ad11913d114 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12435/e93531ed72a3c9efadadcecbaad74ad11913d114/pushes_plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7672, 12, 2890, 4672, 9163, 13835, 16960, 1879, 326, 13686, 471, 4533, 326, 1191, 2063, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7672, 12, 2890, 4672, 9163, 13835, 16960, 1879, 326, 13686, 471, 4533, 326, 1191, 2063, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.list == other.list
self._list == other._list
def __eq__(self, other): return self.__class__ == other.__class__ and \ self.parent() == self.parent() and \ self.list == other.list
7bd6bd5654c649eca3e905174386c36be6d520ab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/7bd6bd5654c649eca3e905174386c36be6d520ab/tensor_product.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 11253, 972, 12, 2890, 16, 1308, 4672, 327, 365, 16186, 1106, 972, 422, 1308, 16186, 1106, 972, 471, 521, 365, 18, 2938, 1435, 225, 422, 365, 18, 2938, 1435, 282, 471, 521, 365, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 11253, 972, 12, 2890, 16, 1308, 4672, 327, 365, 16186, 1106, 972, 422, 1308, 16186, 1106, 972, 471, 521, 365, 18, 2938, 1435, 225, 422, 365, 18, 2938, 1435, 282, 471, 521, 365, 1...
unimportant = self._get_change_num(Token(), [ r['commit_id'] for r in res])
unimportant = self._get_change_num(Token(), [ r['commit_id'][0] for r in res])
def scheduler_get_classified_changes(self, schedulerid, t): scha_obj = rpc.RpcProxy('software_dev.sched_change') # one time for important ones sids = scha_obj.search([('sched_id','=', schedulerid), ('important','=',True)]) res = scha_obj.read(sids, ['commit_id']) important = self._get_change_num(Token(), [ r['commit_...
1d76ea1403b8a548a33992aaafdc47b42a87e77d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12355/1d76ea1403b8a548a33992aaafdc47b42a87e77d/connector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8129, 67, 588, 67, 1106, 939, 67, 6329, 12, 2890, 16, 8129, 350, 16, 268, 4672, 272, 8838, 67, 2603, 273, 6724, 18, 11647, 3886, 2668, 9269, 2726, 67, 5206, 18, 87, 2049, 67, 3427, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8129, 67, 588, 67, 1106, 939, 67, 6329, 12, 2890, 16, 8129, 350, 16, 268, 4672, 272, 8838, 67, 2603, 273, 6724, 18, 11647, 3886, 2668, 9269, 2726, 67, 5206, 18, 87, 2049, 67, 3427, 6...
if diff > 0: self.append_column(odf_create_column(repeated=diff))
if diff >= 0: if diff > 0: self.append_column(odf_create_column(repeated=diff))
def set_column(self, x, column=None): """Replace the column at the given "x" position.
f03ab2c3edfee9766627e5b6f6b51733fc7ca42a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10612/f03ab2c3edfee9766627e5b6f6b51733fc7ca42a/table.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2827, 12, 2890, 16, 619, 16, 1057, 33, 7036, 4672, 3536, 5729, 326, 1057, 622, 326, 864, 315, 92, 6, 1754, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2827, 12, 2890, 16, 619, 16, 1057, 33, 7036, 4672, 3536, 5729, 326, 1057, 622, 326, 864, 315, 92, 6, 1754, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
out += ': ' + volume
out += ': ' + volume
def format(bfo): """ Displays inline publication information with html link to ejournal (when available). TODO: Complete element to display full publ. info. """ out = '' publication_info = bfo.fields('773__') action_notes = bfo.fields("583__a") if publication_info == [] and action_notes == []: return "" if publicati...
3cd88a96520799f512a5f7d501f59c39f2e1eedc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14116/3cd88a96520799f512a5f7d501f59c39f2e1eedc/bfe_INSPIRE_publi_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 70, 617, 4672, 3536, 9311, 87, 6370, 20574, 1779, 598, 1729, 1692, 358, 425, 22644, 261, 13723, 2319, 2934, 2660, 30, 14575, 930, 358, 2562, 1983, 293, 440, 18, 1123, 18, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 70, 617, 4672, 3536, 9311, 87, 6370, 20574, 1779, 598, 1729, 1692, 358, 425, 22644, 261, 13723, 2319, 2934, 2660, 30, 14575, 930, 358, 2562, 1983, 293, 440, 18, 1123, 18, 3536, ...
def __init__(self, prec, names):
def __init__(self, base, prec, names):
def __init__(self, prec, names): self._prec = prec sage.structure.parent_gens.ParentWithGens.__init__(self, self, (names,), normalize=False)
4705f54d3a8cb1ec355cf5a3a8189d9c2b64e1ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/4705f54d3a8cb1ec355cf5a3a8189d9c2b64e1ac/local_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1026, 16, 13382, 16, 1257, 4672, 365, 6315, 4036, 273, 13382, 272, 410, 18, 7627, 18, 2938, 67, 23730, 18, 3054, 1190, 43, 773, 16186, 2738, 972, 12, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1026, 16, 13382, 16, 1257, 4672, 365, 6315, 4036, 273, 13382, 272, 410, 18, 7627, 18, 2938, 67, 23730, 18, 3054, 1190, 43, 773, 16186, 2738, 972, 12, 289...
def translate(self, table, deletechars=""): return self.__class__(self.data.translate(table, deletechars))
def translate(self, *args): return self.__class__(self.data.translate(*args))
def translate(self, table, deletechars=""): return self.__class__(self.data.translate(table, deletechars))
a893957c8e0a514bc62f6ea7fe91a0ecf073fe83 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a893957c8e0a514bc62f6ea7fe91a0ecf073fe83/UserString.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 12, 2890, 16, 1014, 16, 1430, 7549, 1546, 6, 4672, 327, 365, 16186, 1106, 972, 12, 2890, 18, 892, 18, 13929, 12, 2121, 16, 1430, 7549, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 12, 2890, 16, 1014, 16, 1430, 7549, 1546, 6, 4672, 327, 365, 16186, 1106, 972, 12, 2890, 18, 892, 18, 13929, 12, 2121, 16, 1430, 7549, 3719, 2, -100, -100, -100, -100, -100, -100...
self.warm_init()
self._warm_init()
def onItemCopy(self, original): self.warm_init()
ecdc4981efb1601ad3f705afe76e69681e8570a4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/ecdc4981efb1601ad3f705afe76e69681e8570a4/Query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1180, 2951, 12, 2890, 16, 2282, 4672, 365, 18, 13113, 67, 2738, 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, ...
[ 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, 603, 1180, 2951, 12, 2890, 16, 2282, 4672, 365, 18, 13113, 67, 2738, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
'/lib',
def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
1891ff6c3ac896bd9130663fe071326ae30f4fb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1891ff6c3ac896bd9130663fe071326ae30f4fb7/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 19, ...
raise self.error('%s failed: %r' % (command, data[0]))
raise self.Error('%s failed: %r' % (command, data[0]))
def _checkok(self, command, typ, data): '''Check command responses for errors.
85410ed715e4d58f7449b28c7d003bfab4608e73 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9352/85410ed715e4d58f7449b28c7d003bfab4608e73/imapclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 601, 12, 2890, 16, 1296, 16, 3815, 16, 501, 4672, 9163, 1564, 1296, 7220, 364, 1334, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 601, 12, 2890, 16, 1296, 16, 3815, 16, 501, 4672, 9163, 1564, 1296, 7220, 364, 1334, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if self.down:
if self.stillDown:
def printStatusHTML(self, buffer, count): if count % 2 == 0: trclass = "" else: trclass = "class=odd"
32c54edb8ba55a2c779c156bdab4b93431fb0173 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4466/32c54edb8ba55a2c779c156bdab4b93431fb0173/kfsstatus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 1482, 4870, 12, 2890, 16, 1613, 16, 1056, 4672, 309, 1056, 738, 576, 422, 374, 30, 433, 1106, 273, 1408, 469, 30, 433, 1106, 273, 315, 1106, 33, 31755, 6, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 1482, 4870, 12, 2890, 16, 1613, 16, 1056, 4672, 309, 1056, 738, 576, 422, 374, 30, 433, 1106, 273, 1408, 469, 30, 433, 1106, 273, 315, 1106, 33, 31755, 6, 2, -100, -100, -100, ...
if line.startswith('URL'):
if bold_stuff.startswith('Size'): raw_size = int(normal_stuff) kb_size = raw_size / 1024 normal_stuff = str(kb_size) + ' KB' if kb_size > 1024: mb_size = kb_size / 1024 normal_stuff = str(mb_size) + ' MB' if mb_size > 1024: gb_size = mb_size / 1024 normal_stuff = str(gb_size) + ' GB' text_buffer.insert(iterator, normal...
def __add_pkg_info_markuped_to_text_buffer__(self, text_buffer, lines, installed = True): iterator = text_buffer.get_iter_at_offset(0) table = text_buffer.get_tag_table() bold_tag = table.lookup('bold') hyperlink_tag = table.lookup('hyperlink')
9860b0432fbcc6e387632d83c3d33e016f1a7a28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2759/9860b0432fbcc6e387632d83c3d33e016f1a7a28/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1289, 67, 10657, 67, 1376, 67, 15056, 329, 67, 869, 67, 955, 67, 4106, 972, 12, 2890, 16, 977, 67, 4106, 16, 2362, 16, 5876, 273, 1053, 4672, 2775, 273, 977, 67, 4106, 18, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1289, 67, 10657, 67, 1376, 67, 15056, 329, 67, 869, 67, 955, 67, 4106, 972, 12, 2890, 16, 977, 67, 4106, 16, 2362, 16, 5876, 273, 1053, 4672, 2775, 273, 977, 67, 4106, 18, 588,...
TEST_F(GLES2DecoderTest, %(name)sInvalidArgs%(arg_index)d_%(value_index)d) {
TEST_F(%(test_name)s, %(name)sInvalidArgs%(arg_index)d_%(value_index)d) {
def WriteImmediateServiceUnitTest(self, func, file): """Writes the service unit test for a command.""" valid_test = """
3916c97e1bb1ef3fecfdcaf9d80f239016756c06 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/3916c97e1bb1ef3fecfdcaf9d80f239016756c06/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1179, 2802, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 8368, 326, 1156, 2836, 1842, 364, 279, 1296, 12123, 923, 67, 3813, 273, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1179, 2802, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 8368, 326, 1156, 2836, 1842, 364, 279, 1296, 12123, 923, 67, 3813, 273, 3536, 2, -100, -100, -100, -100, -100, -10...
libraries = ['gmp', 'm', 'readline', 'singular', 'singcf', 'singfac', 'omalloc', 'givaro', 'gmpxx'],
libraries = ['m', 'readline', 'singular', 'singcf', 'singfac', 'omalloc', 'givaro', 'gmpxx', 'gmp'],
def is_older(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
36a29b6929e1e10c686590c8ce6b55a203dd0e24 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/36a29b6929e1e10c686590c8ce6b55a203dd0e24/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 1498, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16, 3712...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 1498, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16, 3712...
for s in [chr(i + ord('a')) * i for i in range(1, 11)]: v.add(s)
for s in [chr(i + ord('a')) * i for i in range(1, HARD_CHUNK_SIZE+1)]: v.append(s) self.assertEquals(arith(HARD_CHUNK_SIZE), v.bytes)
def testWriteToFile(self): v = iovec.iovec() for s in [chr(i + ord('a')) * i for i in range(1, 11)]: v.add(s) f = tempfile.TemporaryFile('w+') self.assertEquals(55, v.write(f)) f.seek(0, 0) self.assertEquals(f.read(), ''.join([chr(i + ord('a')) * i for i in range(1, 11)]))
a17d0e14b4142b07f44b93f28a7338eeec23927d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/a17d0e14b4142b07f44b93f28a7338eeec23927d/test_iovec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3067, 15450, 12, 2890, 4672, 331, 273, 277, 841, 71, 18, 77, 841, 71, 1435, 364, 272, 316, 306, 15182, 12, 77, 397, 4642, 2668, 69, 26112, 380, 277, 364, 277, 316, 1048, 12, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3067, 15450, 12, 2890, 4672, 331, 273, 277, 841, 71, 18, 77, 841, 71, 1435, 364, 272, 316, 306, 15182, 12, 77, 397, 4642, 2668, 69, 26112, 380, 277, 364, 277, 316, 1048, 12, 21...
print "SlackAction"
def highlight(self, ui, offset, length, refreshed): print "SlackAction" try: file_size = ui.fd.size blocksize = ui.fd.block_size slacksize = blocksize - file_size % blocksize
7fee5cf916e6d2eba03c5abc5adc14cc0c8404e0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5568/7fee5cf916e6d2eba03c5abc5adc14cc0c8404e0/Hexeditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8839, 12, 2890, 16, 5915, 16, 1384, 16, 769, 16, 27880, 4672, 775, 30, 585, 67, 1467, 273, 5915, 18, 8313, 18, 1467, 18440, 273, 5915, 18, 8313, 18, 2629, 67, 1467, 19033, 1467, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8839, 12, 2890, 16, 5915, 16, 1384, 16, 769, 16, 27880, 4672, 775, 30, 585, 67, 1467, 273, 5915, 18, 8313, 18, 1467, 18440, 273, 5915, 18, 8313, 18, 2629, 67, 1467, 19033, 1467, 273, ...
editData['stableText']=editData['page'].getOldVersion(editData['stableid'])
editData['stableText']=editData['page'].getOldVersion(editData['stableid'])
def sameOldid(editData): """ Are both the same oldid? """ """ ¿Es el mismo oldid? """ if editData['oldid']!=editData['stableid']: editData['stableText']=editData['page'].getOldVersion(editData['stableid']) return editData else: #editData['stableText']=editData['oldText'] #no sé porqué pero a veces oldtext almacena el p...
008de48eaad6361f81ce829c4c303219e24286d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3342/008de48eaad6361f81ce829c4c303219e24286d3/avbotanalysis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1967, 7617, 350, 12, 4619, 751, 4672, 3536, 12520, 3937, 326, 1967, 1592, 350, 35, 3536, 3536, 225, 131, 128, 6705, 415, 312, 6228, 83, 1592, 350, 35, 3536, 309, 3874, 751, 3292, 1673, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1967, 7617, 350, 12, 4619, 751, 4672, 3536, 12520, 3937, 326, 1967, 1592, 350, 35, 3536, 3536, 225, 131, 128, 6705, 415, 312, 6228, 83, 1592, 350, 35, 3536, 309, 3874, 751, 3292, 1673, ...
if type(input) == type(''):
if isinstance(input, StringType):
def test(): """uuencode/uudecode main program""" import getopt dopt = 0 topt = 0 input = sys.stdin output = sys.stdout ok = 1 try: optlist, args = getopt.getopt(sys.argv[1:], 'dt') except getopt.error: ok = 0 if not ok or len(args) > 2: print 'Usage:', sys.argv[0], '[-d] [-t] [input [output]]' print ' -d: Decode (in s...
acc28b7c0512a4282ffa66f1534fff465a726bfb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/acc28b7c0512a4282ffa66f1534fff465a726bfb/uu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 3536, 24286, 3015, 19, 89, 1317, 710, 2774, 5402, 8395, 1930, 336, 3838, 225, 741, 337, 273, 374, 358, 337, 273, 374, 810, 273, 2589, 18, 21772, 876, 273, 2589, 18, 10283, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13332, 3536, 24286, 3015, 19, 89, 1317, 710, 2774, 5402, 8395, 1930, 336, 3838, 225, 741, 337, 273, 374, 358, 337, 273, 374, 810, 273, 2589, 18, 21772, 876, 273, 2589, 18, 10283, ...
self.__frame.grid(row=3, column=0, ipadx=5)
self.__frame.grid(row=3, column=0, ipadx=5, sticky='NSEW')
def __init__(self, switchboard, master=None): self.__sb = switchboard self.__frame = Frame(master, relief=RAISED, borderwidth=1) self.__frame.grid(row=3, column=0, ipadx=5) # create the chip that will display the currently selected color # exactly self.__sframe = Frame(self.__frame) self.__sframe.grid(row=0, column=0) ...
859e6b7e299b2f89cfc8e2682a624af1604c0123 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/859e6b7e299b2f89cfc8e2682a624af1604c0123/ChipViewer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1620, 3752, 16, 4171, 33, 7036, 4672, 365, 16186, 18366, 273, 1620, 3752, 365, 16186, 3789, 273, 8058, 12, 7525, 16, 14719, 10241, 33, 2849, 45, 18204, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1620, 3752, 16, 4171, 33, 7036, 4672, 365, 16186, 18366, 273, 1620, 3752, 365, 16186, 3789, 273, 8058, 12, 7525, 16, 14719, 10241, 33, 2849, 45, 18204, 16,...
for tab in view: if tab.obj.get_title().lower().startswith(text): matches.append(tab.obj.get_title())
for tab in view_items: if tab.get_title().lower().startswith(text): matches.append(tab.get_title())
def handle_tab_complete(self, text, view): text = text.lower() matches = [] for tab in view: if tab.obj.get_title().lower().startswith(text): matches.append(tab.obj.get_title()) return matches
ba7e51e3e03d9068a7e95e9beba806bfd19f9f19 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/ba7e51e3e03d9068a7e95e9beba806bfd19f9f19/interpreter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 7032, 67, 6226, 12, 2890, 16, 977, 16, 1476, 4672, 977, 273, 977, 18, 8167, 1435, 1885, 273, 5378, 364, 3246, 316, 1476, 67, 3319, 30, 309, 3246, 18, 588, 67, 2649, 7675, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 7032, 67, 6226, 12, 2890, 16, 977, 16, 1476, 4672, 977, 273, 977, 18, 8167, 1435, 1885, 273, 5378, 364, 3246, 316, 1476, 67, 3319, 30, 309, 3246, 18, 588, 67, 2649, 7675, 8...
except KeyError, IndexError:
except (KeyError, IndexError):
def isLocked(self, login): """ Return True if the user is locked, else False. An user is locked if there is a L in its samba account flags """ u = self.getDetailedUser(login) try: ret = "L" in u["sambaAcctFlags"][0] except KeyError, IndexError: ret = False return ret
b6fcd818d6df21120e496ae488e3a8f44800b232 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/b6fcd818d6df21120e496ae488e3a8f44800b232/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31753, 12, 2890, 16, 3925, 4672, 3536, 2000, 1053, 309, 326, 729, 353, 8586, 16, 469, 1083, 18, 1922, 729, 353, 8586, 309, 1915, 353, 279, 511, 316, 2097, 272, 2536, 69, 2236, 2943, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31753, 12, 2890, 16, 3925, 4672, 3536, 2000, 1053, 309, 326, 729, 353, 8586, 16, 469, 1083, 18, 1922, 729, 353, 8586, 309, 1915, 353, 279, 511, 316, 2097, 272, 2536, 69, 2236, 2943, 35...
def _executeSingleStorageElementFunction( self, storageElementName, pfn, method, argsDict={} ):
def _executeSingleStorageElementFunction( self, storageElementName, pfn, method, argsDict = {} ):
def _executeSingleStorageElementFunction( self, storageElementName, pfn, method, argsDict={} ): res = self._executeStorageElementFunction( storageElementName, pfn, method, argsDict ) if type( pfn ) == types.ListType: pfn = pfn[0] elif type( pfn ) == types.DictType: pfn = pfn.keys()[0] if not res['OK']: return res elif ...
8cfc8d124489ba672254aee3d1fff4f748757c6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/8cfc8d124489ba672254aee3d1fff4f748757c6c/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8837, 5281, 3245, 1046, 2083, 12, 365, 16, 2502, 30584, 16, 293, 4293, 16, 707, 16, 833, 5014, 273, 2618, 262, 30, 400, 273, 365, 6315, 8837, 3245, 1046, 2083, 12, 2502, 30584, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8837, 5281, 3245, 1046, 2083, 12, 365, 16, 2502, 30584, 16, 293, 4293, 16, 707, 16, 833, 5014, 273, 2618, 262, 30, 400, 273, 365, 6315, 8837, 3245, 1046, 2083, 12, 2502, 30584, 16...
res = RecapDecompose(m)
res = RecapDecompose(m,onlyUseReactions=[0])
def testUreaRxn(self): m = Chem.MolFromSmiles('C1CC1NC(=O)NC1OC1') res = RecapDecompose(m) self.failUnless(res) self.failUnless(len(res.GetLeaves())==2) ks = res.GetLeaves().keys() self.failUnless('[*]NC1CC1' in ks) self.failUnless('[*]NC1CO1' in ks) m = Chem.MolFromSmiles('C1CC1NC(=O)N(C)C1OC1') res = RecapDecompose(...
e793cf1d5a1abc952de6d7bd7feb70328e8a57c4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9195/e793cf1d5a1abc952de6d7bd7feb70328e8a57c4/Recap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 57, 266, 69, 54, 22695, 12, 2890, 4672, 312, 273, 26542, 18, 49, 355, 1265, 9552, 1449, 2668, 39, 21, 6743, 21, 10346, 12, 33, 51, 13, 10346, 21, 10809, 21, 6134, 400, 273, 868...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 57, 266, 69, 54, 22695, 12, 2890, 4672, 312, 273, 26542, 18, 49, 355, 1265, 9552, 1449, 2668, 39, 21, 6743, 21, 10346, 12, 33, 51, 13, 10346, 21, 10809, 21, 6134, 400, 273, 868...
if os.access(path, os.R_OK):
if os.access(path, os.R_OK) and os.path.isfile(path):
def parse_tag(self, tag, parent_css): try: tagname = tag.name.lower() except AttributeError: if not isinstance(tag, HTMLConverter.IGNORED_TAGS): self.add_text(tag, parent_css, {}) return tag_css, tag_pseudo_css = self.tag_css(tag, parent_css=parent_css) try: # Skip element if its display attribute is set to none if tag...
2e52d6dfe34d581cf37a65a4b03909a18d938c95 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9125/2e52d6dfe34d581cf37a65a4b03909a18d938c95/convert_from.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 2692, 12, 2890, 16, 1047, 16, 982, 67, 5212, 4672, 775, 30, 25586, 273, 1047, 18, 529, 18, 8167, 1435, 1335, 6394, 30, 309, 486, 1549, 12, 2692, 16, 3982, 5072, 18, 3047, 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, 1109, 67, 2692, 12, 2890, 16, 1047, 16, 982, 67, 5212, 4672, 775, 30, 25586, 273, 1047, 18, 529, 18, 8167, 1435, 1335, 6394, 30, 309, 486, 1549, 12, 2692, 16, 3982, 5072, 18, 3047, 3...
"""test if the abs function works"""
def test_abs(self): """test if the abs function works""" a = -gpuarray.arange(111, dtype=numpy.float32) res = a.get()
b4921174e8e8618d1e94d342df636db8d27a7407 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12870/b4921174e8e8618d1e94d342df636db8d27a7407/test_abstract_array.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5113, 12, 2890, 4672, 279, 273, 300, 23162, 1126, 18, 297, 726, 12, 20227, 16, 3182, 33, 15974, 18, 5659, 1578, 13, 400, 273, 279, 18, 588, 1435, 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, 1842, 67, 5113, 12, 2890, 4672, 279, 273, 300, 23162, 1126, 18, 297, 726, 12, 20227, 16, 3182, 33, 15974, 18, 5659, 1578, 13, 400, 273, 279, 18, 588, 1435, 2, -100, -100, -100, -100, ...
else: resvalue = lib['namespace'] resdata[assetId] = resvalue addResourceToPackage(script, classToResourceMap, assetId, resvalue)
if assetFilter(resource): resId, resVal = addResource(resource) filteredResources[resId] = resVal if isCombinedImage(resource): combObj = NameSpace() combId, combImgFmt = addResource(resource) combObj.info = combImgFmt combObj.embeds = addCombinedImage(resource, combId, combImgFmt) combine...
def addResourceToPackage(script, classToResourceMap, assetId, resvalue): classesUsing = set(()) for clazz, assetSet in classToResourceMap.items(): for assetRex in assetSet: if assetRex.match(assetId): classesUsing.add(clazz) break for package in script.packages: if classesUsing.intersection(set(package.classes)): packa...
a33eb8df6a28aea273c471202d8e9726eb9c022d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/a33eb8df6a28aea273c471202d8e9726eb9c022d/CodeGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23812, 774, 2261, 12, 4263, 16, 667, 774, 1420, 863, 16, 3310, 548, 16, 400, 1132, 4672, 3318, 7736, 273, 444, 12, 10756, 364, 4003, 16, 3310, 694, 316, 667, 774, 1420, 863, 18, 3319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23812, 774, 2261, 12, 4263, 16, 667, 774, 1420, 863, 16, 3310, 548, 16, 400, 1132, 4672, 3318, 7736, 273, 444, 12, 10756, 364, 4003, 16, 3310, 694, 316, 667, 774, 1420, 863, 18, 3319, ...
if t is not None: t.setOldTime(ot) t.getTime(msg="Total Running Time")
if tim is not None: tim.setOldTime(old_time) tim.getTime(msg="Total Running Time")
def run(config, tim=None): """ This method is where the data reduction process gets done. @param config: Object containing the data reduction configuration information. @type config: L{hlr_utils.Configure} @param tim: (OPTIONAL) Object that will allow the method to perform timing evaluations. @type tim: C{sns_time.Di...
1b2df37b8a6cf44bf72b5907cb0ef08b55dcd748 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/763/1b2df37b8a6cf44bf72b5907cb0ef08b55dcd748/dgs_reduction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 1425, 16, 1658, 33, 7036, 4672, 3536, 1220, 707, 353, 1625, 326, 501, 20176, 1207, 5571, 2731, 18, 225, 632, 891, 642, 30, 1033, 4191, 326, 501, 20176, 1664, 1779, 18, 632, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 1425, 16, 1658, 33, 7036, 4672, 3536, 1220, 707, 353, 1625, 326, 501, 20176, 1207, 5571, 2731, 18, 225, 632, 891, 642, 30, 1033, 4191, 326, 501, 20176, 1664, 1779, 18, 632, 7...
help='maximum number of simulataneous jobs',
help='maximum number of simulataneous jobs (default: 5)',
def watch(): parser = optparse.OptionParser(usage="%prog [OPTIONS]") parser.add_option('-l', '--logfile', help='log output to LOGFILE', ) parser.add_option('-d', '--daemonize', action='store_true', help='become daemon as soon as possible', ) parser.add_option('-q', '--queue-dir', help='queue directory, where new job fi...
a7bffd5480f057a6a6a5051b18fc71708f5c6f3d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12391/a7bffd5480f057a6a6a5051b18fc71708f5c6f3d/apps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4267, 13332, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 9167, 11613, 14654, 306, 12422, 4279, 13, 2082, 18, 1289, 67, 3482, 2668, 17, 80, 2187, 3534, 28806, 2187, 2809, 2218, 1330, 876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4267, 13332, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 9167, 11613, 14654, 306, 12422, 4279, 13, 2082, 18, 1289, 67, 3482, 2668, 17, 80, 2187, 3534, 28806, 2187, 2809, 2218, 1330, 876, ...
s = cPickle.dumps(body)
s = dumps(body)
def respond(self, body): _log("responding with: %s" % body) #_log("objects: %s" % self._objects) s = cPickle.dumps(body) _log(`s`) str = _write_lp_hunk(self._out, s)
aca5baa34eb8c8d1462e1770dd9b27982b937730 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/aca5baa34eb8c8d1462e1770dd9b27982b937730/saranwrap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6846, 12, 2890, 16, 1417, 4672, 389, 1330, 2932, 17863, 310, 598, 30, 738, 87, 6, 738, 1417, 13, 468, 67, 1330, 2932, 6911, 30, 738, 87, 6, 738, 365, 6315, 6911, 13, 272, 273, 6711, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6846, 12, 2890, 16, 1417, 4672, 389, 1330, 2932, 17863, 310, 598, 30, 738, 87, 6, 738, 1417, 13, 468, 67, 1330, 2932, 6911, 30, 738, 87, 6, 738, 365, 6315, 6911, 13, 272, 273, 6711, ...
On error, prints message to stderr and returns normally.
If no logFunc was supplied then the message is printed to stderr. On error, prints a message to stderr and returns normally.
def logMsg (self, msgStr, severity = RO.Constants.sevNormal, actor = "TUI", cmdr = None,
4f31dc8d2e9244340a50a454aa2f490d287e5d5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6353/4f31dc8d2e9244340a50a454aa2f490d287e5d5a/KeyDispatcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 3332, 261, 2890, 16, 1234, 1585, 16, 11426, 273, 6525, 18, 2918, 18, 307, 90, 5506, 16, 8327, 273, 315, 56, 5370, 3113, 1797, 86, 273, 599, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 3332, 261, 2890, 16, 1234, 1585, 16, 11426, 273, 6525, 18, 2918, 18, 307, 90, 5506, 16, 8327, 273, 315, 56, 5370, 3113, 1797, 86, 273, 599, 16, 2, -100, -100, -100, -100, -100, ...
anchor="w", justify="left",
anchor=W, justify=LEFT,
def toggle_code_context_event(self, event=None): if not self.label: # The following code attempts to figure out the required border # width and vertical padding required for the CodeContext widget # to be perfectly aligned with the text in the main Text widget. # This is done by retrieving the appropriate attributes fr...
4864b2bcd78aab1f7561f0c4d987d187d9b6391a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4864b2bcd78aab1f7561f0c4d987d187d9b6391a/CodeContext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 710, 67, 2472, 67, 2575, 12, 2890, 16, 871, 33, 7036, 4672, 309, 486, 365, 18, 1925, 30, 468, 1021, 3751, 981, 7531, 358, 7837, 596, 326, 1931, 5795, 468, 1835, 471, 9768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 710, 67, 2472, 67, 2575, 12, 2890, 16, 871, 33, 7036, 4672, 309, 486, 365, 18, 1925, 30, 468, 1021, 3751, 981, 7531, 358, 7837, 596, 326, 1931, 5795, 468, 1835, 471, 9768, ...
proxies['https'] = 'http://%s' % proxyServer
proxies['https'] = 'https://%s' % proxyServer
def getproxies_registry(): """Return a dictionary of scheme -> proxy server URL mappings.
0bdaee088a8d98ff0c4e4fe72ba2c6d1027ee891 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/0bdaee088a8d98ff0c4e4fe72ba2c6d1027ee891/request.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 20314, 606, 67, 9893, 13332, 3536, 990, 279, 3880, 434, 4355, 317, 2889, 1438, 1976, 7990, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 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, 336, 20314, 606, 67, 9893, 13332, 3536, 990, 279, 3880, 434, 4355, 317, 2889, 1438, 1976, 7990, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
`\\theta''+\\sin(\\theta)=0`, `\\theta(0)=\\frac 34`, `\\theta'(0) =
`\theta''+\sin(\theta)=0`, `\theta(0)=\frac 34`, `\theta'(0) =
def eulers_method_2x2_plot(f,g, t0, x0, y0, h, t1): """ This plots the soln in the rectangle ``(xrange[0],xrange[1]) x (yrange[0],yrange[1])`` and plots using Euler's method the numerical solution of the 1st order ODEs `x' = f(t,x,y)`, `x(a)=x_0`, `y' = g(t,x,y)`, `y(a) = y_0`. *For pedagogical purposes only.* EXAMPL...
9902f1225cf51ac05097f8e749c306b7e620fc70 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/9902f1225cf51ac05097f8e749c306b7e620fc70/desolvers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 332, 414, 67, 2039, 67, 22, 92, 22, 67, 4032, 12, 74, 16, 75, 16, 268, 20, 16, 619, 20, 16, 677, 20, 16, 366, 16, 268, 21, 4672, 3536, 1220, 17931, 326, 3704, 82, 316, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 332, 414, 67, 2039, 67, 22, 92, 22, 67, 4032, 12, 74, 16, 75, 16, 268, 20, 16, 619, 20, 16, 677, 20, 16, 366, 16, 268, 21, 4672, 3536, 1220, 17931, 326, 3704, 82, 316, 326, ...
dictionaryTable = self.db.tables[self.DICTIONARY_TABLE] clauses = []
strings = []
def _getReadingClause(self, readingStr, fromReading, **options): decompositions = self._readingFactory.getDecompositions(readingStr, fromReading, **options) # convert all possible decompositions decompEntities = [] e = None for entities in decompositions: try: decompEntities.append( self._readingFactory.convertEntities...
4c727813531c7579b99ed686160ec93ff63a4db2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/4c727813531c7579b99ed686160ec93ff63a4db2/dictionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 15714, 7044, 12, 2890, 16, 6453, 1585, 16, 628, 15714, 16, 2826, 2116, 4672, 9862, 12388, 273, 365, 6315, 21803, 1733, 18, 588, 17731, 12388, 12, 21803, 1585, 16, 628, 15714, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 15714, 7044, 12, 2890, 16, 6453, 1585, 16, 628, 15714, 16, 2826, 2116, 4672, 9862, 12388, 273, 365, 6315, 21803, 1733, 18, 588, 17731, 12388, 12, 21803, 1585, 16, 628, 15714, 1...
res = fn(ls, db, uid, *params)
res = fn(db, uid, *params)
def dispatch(self, method, auth, params):
eee65763bdd30eb0490de9e89c59d5404396d230 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/eee65763bdd30eb0490de9e89c59d5404396d230/web_services.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3435, 12, 2890, 16, 707, 16, 1357, 16, 859, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3435, 12, 2890, 16, 707, 16, 1357, 16, 859, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
idle(self.set_editor_prefs, e, e.uri, e.contexts)
idle(self.set_editor_prefs, e, e.uri, e.lang)
def on_editor_settings_changed(self, editor): self.set_editor_prefs(editor, editor.uri, editor.contexts) for e in self.editors: if e is not editor: idle(self.set_editor_prefs, e, e.uri, e.contexts)
17ca749558063a6f4af9d92adefa36e8191e939e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14800/17ca749558063a6f4af9d92adefa36e8191e939e/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 9177, 67, 4272, 67, 6703, 12, 2890, 16, 4858, 4672, 365, 18, 542, 67, 9177, 67, 1484, 2556, 12, 9177, 16, 4858, 18, 1650, 16, 4858, 18, 18332, 13, 364, 425, 316, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 9177, 67, 4272, 67, 6703, 12, 2890, 16, 4858, 4672, 365, 18, 542, 67, 9177, 67, 1484, 2556, 12, 9177, 16, 4858, 18, 1650, 16, 4858, 18, 18332, 13, 364, 425, 316, 365, 18, ...
fullModName = os.path.join(directory, name)
fullModName = os.path.join(pluralDirectory, name)
def command(self): """Main command to create a mapfish controller""" try: fileOp = FileOp(source_dir=os.path.join( os.path.dirname(__file__), 'templates')) try: name, directory = fileOp.parse_path_name_args(self.args[0]) except: raise BadCommand('No egg_info directory was found')
1572653f7e31f60479478f6ef7a525b1b85b18b0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11978/1572653f7e31f60479478f6ef7a525b1b85b18b0/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1296, 12, 2890, 4672, 3536, 6376, 1296, 358, 752, 279, 852, 22905, 2596, 8395, 775, 30, 585, 3817, 273, 1387, 3817, 12, 3168, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 1140, 18, 803, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1296, 12, 2890, 4672, 3536, 6376, 1296, 358, 752, 279, 852, 22905, 2596, 8395, 775, 30, 585, 3817, 273, 1387, 3817, 12, 3168, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 1140, 18, 803, ...
'trace=open,stat64,execve,exit_group,chdir,mkdir,rename,clone,vfork,fork',
'trace=open,%s,execve,exit_group,chdir,mkdir,rename,clone,vfork,fork' % self._stat_func,
def _do_strace(self, args, outfile, outname): """ Run strace on given command args, sending output to file. Return (status code, list of dependencies, list of outputs). """ shell('strace', '-fo', outname, '-e', 'trace=open,stat64,execve,exit_group,chdir,mkdir,rename,clone,vfork,fork', args, silent=False) cwd = '.' stat...
1d735a32a20b769bb254cbbea726636f0643db07 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7381/1d735a32a20b769bb254cbbea726636f0643db07/fabricate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 701, 623, 12, 2890, 16, 833, 16, 8756, 16, 596, 529, 4672, 3536, 1939, 609, 623, 603, 864, 1296, 833, 16, 5431, 876, 358, 585, 18, 2000, 261, 2327, 981, 16, 666, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2896, 67, 701, 623, 12, 2890, 16, 833, 16, 8756, 16, 596, 529, 4672, 3536, 1939, 609, 623, 603, 864, 1296, 833, 16, 5431, 876, 358, 585, 18, 2000, 261, 2327, 981, 16, 666, 434, ...
info_x, info_y = self.__panel_x + 15, self.__panel_y + 49
info_x, info_y = self.get_normalized_panel_pos((self.__panel_x, self.__panel_y)) info_x += 15 info_y += 49
def draw_planet_info(self, text_rows): DISPLAY = self.get_display() font3 = self.get_font3() info_palette = [0x0, 0x181c40, 0x688cb0] info_x, info_y = self.__panel_x + 15, self.__panel_y + 49 rows = [] width, height = 0, 6 for text_line in text_rows: rows.append(font3.render(text_line, info_palette, 1)) height += 13 wi...
510d8d9b80c8142fda462bae77731c7a39f8f710 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3188/510d8d9b80c8142fda462bae77731c7a39f8f710/starsystem_screen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 7088, 278, 67, 1376, 12, 2890, 16, 977, 67, 3870, 4672, 25214, 273, 365, 18, 588, 67, 5417, 1435, 3512, 23, 273, 365, 18, 588, 67, 5776, 23, 1435, 1123, 67, 26474, 273, 306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 7088, 278, 67, 1376, 12, 2890, 16, 977, 67, 3870, 4672, 25214, 273, 365, 18, 588, 67, 5417, 1435, 3512, 23, 273, 365, 18, 588, 67, 5776, 23, 1435, 1123, 67, 26474, 273, 306...
tl=u64(stl) if tl+pos+8 > self._file_size or status=='c':
tl=U64(stl) if pos+(tl+8) > self._file_size or status=='c':
def next(self, index=0): file=self._file seek=file.seek read=file.read pos=self._pos
e9aa3bd398cba329c8a421eb6d47f4dba6e400a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/e9aa3bd398cba329c8a421eb6d47f4dba6e400a9/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 12, 2890, 16, 770, 33, 20, 4672, 585, 33, 2890, 6315, 768, 6520, 33, 768, 18, 16508, 855, 33, 768, 18, 896, 949, 33, 2890, 6315, 917, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 12, 2890, 16, 770, 33, 20, 4672, 585, 33, 2890, 6315, 768, 6520, 33, 768, 18, 16508, 855, 33, 768, 18, 896, 949, 33, 2890, 6315, 917, 2, -100, -100, -100, -100, -100, -100, -10...
scaled_buf = pixbuf if config.DEBUG: print("Sucessfully cached %s, cache size: %i images, %.3f MBytes" % (self.filename, len(imageCache.ordered), (imageCache.size / 1048576.0))) self.scaledPixbuffer = scaled_buf
self.scaledPixbuffer = pixbuf if config.DEBUG: print("Sucessfully cached %s, size (%i,%i)" % (self.filename, nxBig, nyBig)) if (self.scaledPixbuffer.get_width() == nx) and (self.scaledPixbuffer.get_height() == ny): scaled_buf = self.scaledPixbuffer if config.DEBUG: print("Sucessfully fetched %s from cache, directly wi...
def show(self, Xsize=600, Ysize=600): """return a pixbuf to shows the image in a Gtk window""" scaled_buf = None if Xsize > config.ImageWidth : config.ImageWidth = Xsize if Ysize > config.ImageHeight: config.ImageHeight = Ysize self.taille() R = min(float(Xsize) / self.pixelsX, float(Ysize) / self.pixelsY) if R < 1: nx...
a00cb5733f2792d415d71ab962e652861d4abd01 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12328/a00cb5733f2792d415d71ab962e652861d4abd01/imagizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 12, 2890, 16, 1139, 1467, 33, 28133, 16, 1624, 1467, 33, 28133, 4672, 3536, 2463, 279, 11871, 4385, 358, 17975, 326, 1316, 316, 279, 22132, 2742, 8395, 12304, 67, 4385, 273, 599, 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, 2405, 12, 2890, 16, 1139, 1467, 33, 28133, 16, 1624, 1467, 33, 28133, 4672, 3536, 2463, 279, 11871, 4385, 358, 17975, 326, 1316, 316, 279, 22132, 2742, 8395, 12304, 67, 4385, 273, 599, 3...
def prompt(ui, prompt, default=None, rest=': ', empty_ok=False):
def prompt(ui, prompt, default='', rest=': ', empty_ok=False):
def prompt(ui, prompt, default=None, rest=': ', empty_ok=False): if not ui.interactive(): return default if default: prompt += ' [%s]' % default prompt += rest while True: r = ui.prompt(prompt, default=default) if r: return r if default is not None: return default if empty_ok: return r ui.warn(_('Please enter a valid v...
af9c5e2ce359a1dd301b2adaff4581fda9978e32 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/af9c5e2ce359a1dd301b2adaff4581fda9978e32/patchbomb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6866, 12, 4881, 16, 6866, 16, 805, 2218, 2187, 3127, 2218, 30, 2265, 1008, 67, 601, 33, 8381, 4672, 309, 486, 5915, 18, 24761, 13332, 327, 805, 309, 805, 30, 6866, 1011, 296, 9799, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6866, 12, 4881, 16, 6866, 16, 805, 2218, 2187, 3127, 2218, 30, 2265, 1008, 67, 601, 33, 8381, 4672, 309, 486, 5915, 18, 24761, 13332, 327, 805, 309, 805, 30, 6866, 1011, 296, 9799, 87,...
self.emit(SIGNAL('progressChanged'), self.tagCount - len(self.taggingQueue), self.tagCount)
self.importer.progressChanged(self.tagCount - len(self.taggingQueue), self.tagCount)
def importFolder(self, folder, tagger): for filename in GlobDirectoryWalker(folder, self.filetypes): mediaObject = Media(filename) self.taggingQueue.append(( tagger, mediaObject ))
5be5ea0a42c7a511b293ecabfd5f833194bd15fe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11141/5be5ea0a42c7a511b293ecabfd5f833194bd15fe/importer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 3899, 12, 2890, 16, 3009, 16, 28777, 4672, 364, 1544, 316, 18901, 2853, 16246, 12, 5609, 16, 365, 18, 7540, 15180, 4672, 3539, 921, 273, 6128, 12, 3459, 13, 365, 18, 2692, 1998, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 3899, 12, 2890, 16, 3009, 16, 28777, 4672, 364, 1544, 316, 18901, 2853, 16246, 12, 5609, 16, 365, 18, 7540, 15180, 4672, 3539, 921, 273, 6128, 12, 3459, 13, 365, 18, 2692, 1998, ...
del self.sync_stdout, self.sync_stderr
def async_stdio_stop (self): async_loop.async_catch = self.async_loop_catch self.async_loop_catch = None sys.__stdout__, sys.__stderr__ = ( self.sys_stdout, self.sys_stderr ) del self.sys_stdout, self.sys_stderr del self.sync_stdout, self.sync_stderr try: del self.log except: pass loginfo.Loginfo.loginfo_logger.loginfo...
c7eede3be410026f2a87c94178f7050c491b806b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/c7eede3be410026f2a87c94178f7050c491b806b/sync_stdio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4326, 67, 5084, 1594, 67, 5681, 261, 2890, 4672, 4326, 67, 6498, 18, 3810, 67, 14683, 273, 365, 18, 3810, 67, 6498, 67, 14683, 365, 18, 3810, 67, 6498, 67, 14683, 273, 599, 2589, 16186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4326, 67, 5084, 1594, 67, 5681, 261, 2890, 4672, 4326, 67, 6498, 18, 3810, 67, 14683, 273, 365, 18, 3810, 67, 6498, 67, 14683, 365, 18, 3810, 67, 6498, 67, 14683, 273, 599, 2589, 16186...
def make_wrappable(self, html, wrap_limit=50,
def make_wrappable(self, html, wrap_limit=60,
def make_wrappable(self, html, wrap_limit=50, split_on=';?&@!$#-/\\"\''): # Currently using <wbr>, maybe should use &#8203; # http://www.cs.tut.fi/~jkorpela/html/nobr.html words = html.split() new_words = [] for word in words: for char in split_on: if char in word: word = word.replace(char, char+'<wbr>') break new_wo...
0c660537bd6d42f683f4ccfac0e1ed992c7f1324 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2097/0c660537bd6d42f683f4ccfac0e1ed992c7f1324/formatter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4113, 19586, 12, 2890, 16, 1729, 16, 2193, 67, 3595, 33, 4848, 16, 1416, 67, 265, 2218, 31, 35, 10, 36, 5, 8, 7, 17, 19, 27576, 11421, 4672, 468, 15212, 1450, 411, 91, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4113, 19586, 12, 2890, 16, 1729, 16, 2193, 67, 3595, 33, 4848, 16, 1416, 67, 265, 2218, 31, 35, 10, 36, 5, 8, 7, 17, 19, 27576, 11421, 4672, 468, 15212, 1450, 411, 91, 28...
vertices of the graph G. EXAMPLES:
vertices of the graph `G`. EXAMPLES::
def chromatic_number(G): """ Returns the minimal number of colors needed to color the vertices of the graph G. EXAMPLES: sage: from sage.graphs.graph_coloring import chromatic_number sage: G = Graph({0:[1,2,3],1:[2]}) sage: chromatic_number(G) 3 sage: G = graphs.PetersenGraph() sage: G.chromatic_number() 3 """ o = G...
7056b61dfa30c6705aab69c7fdf3017463c8aae2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/7056b61dfa30c6705aab69c7fdf3017463c8aae2/graph_coloring.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8123, 2126, 67, 2696, 12, 43, 4672, 3536, 2860, 326, 16745, 1300, 434, 5740, 3577, 358, 2036, 326, 6928, 434, 326, 2667, 1375, 43, 8338, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 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, 8123, 2126, 67, 2696, 12, 43, 4672, 3536, 2860, 326, 16745, 1300, 434, 5740, 3577, 358, 2036, 326, 6928, 434, 326, 2667, 1375, 43, 8338, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, ...
if move_line.sale_line_id:
if move_line.sale_line_id and move_line.sale_line_id.product_id.id == move_line.product_id.id:
def _get_taxes_invoice(self, cursor, user, move_line, type): if move_line.sale_line_id: return [x.id for x in move_line.sale_line_id.tax_id] return super(stock_picking, self)._get_taxes_invoice(cursor, user, move_line, type)
53bdfd5278e0f40fd0f5f8923886c2faad896b44 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/53bdfd5278e0f40fd0f5f8923886c2faad896b44/stock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 8066, 281, 67, 16119, 12, 2890, 16, 3347, 16, 729, 16, 3635, 67, 1369, 16, 618, 4672, 309, 3635, 67, 1369, 18, 87, 5349, 67, 1369, 67, 350, 471, 3635, 67, 1369, 18, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 8066, 281, 67, 16119, 12, 2890, 16, 3347, 16, 729, 16, 3635, 67, 1369, 16, 618, 4672, 309, 3635, 67, 1369, 18, 87, 5349, 67, 1369, 67, 350, 471, 3635, 67, 1369, 18, 8...
if rcmd == u'cc':
if re.match(re.compile('c|c[bhlw{}]'), rcmd):
def NewLineAfter(): """Insert newline after current line""" line = self.LineFromPosition(self.GetCurrentPos()) self.GotoPos(self.GetLineEndPosition(line)) self.AutoIndent()
be43c077f19ad88c63e5e2f8aa6305f97b701c5e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/be43c077f19ad88c63e5e2f8aa6305f97b701c5e/ed_stc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1166, 1670, 4436, 13332, 3536, 4600, 9472, 1839, 783, 980, 8395, 980, 273, 365, 18, 1670, 1265, 2555, 12, 2890, 18, 967, 3935, 1616, 10756, 365, 18, 43, 6302, 1616, 12, 2890, 18, 967, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1166, 1670, 4436, 13332, 3536, 4600, 9472, 1839, 783, 980, 8395, 980, 273, 365, 18, 1670, 1265, 2555, 12, 2890, 18, 967, 3935, 1616, 10756, 365, 18, 43, 6302, 1616, 12, 2890, 18, 967, ...
self.word2ASCII(text)
ascii_text = self.word2ASCII(text)
def Uni2Ascii(self): self.direction="u2a" self.rulesDict = self.LoadRules() '''പണിതുടങ്ങട്ടെ''' if self.input_filename : uni_file = codecs.open(self.input_filename, encoding = 'utf-8', errors = 'ignore') else : uni_file = codecs.open(sys.stdin, encoding = 'utf-8', errors = 'ignore') text = "" if self.output_filename : ...
7f8c951ab963616cdc40fb003b2e70ad33d6a854 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7930/7f8c951ab963616cdc40fb003b2e70ad33d6a854/payyan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1351, 77, 22, 21363, 12, 2890, 4672, 365, 18, 9855, 1546, 89, 22, 69, 6, 365, 18, 7482, 5014, 273, 365, 18, 2563, 4478, 1435, 9163, 161, 117, 108, 161, 117, 101, 161, 117, 128, 161, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1351, 77, 22, 21363, 12, 2890, 4672, 365, 18, 9855, 1546, 89, 22, 69, 6, 365, 18, 7482, 5014, 273, 365, 18, 2563, 4478, 1435, 9163, 161, 117, 108, 161, 117, 101, 161, 117, 128, 161, ...
'numfiles' : SimpleItem(defvalue=0,doc='Number of files per subjob'), 'numsubjobs': SimpleItem(defvalue=0,sequence=0, doc="Number of subjobs"), 'use_lfc' : SimpleItem(defvalue = False, doc = 'Use LFC catalog instead of default site catalog/tracker service'),
'numfiles' : SimpleItem(defvalue=0,doc='Number of files per subjob'), 'numsubjobs' : SimpleItem(defvalue=0,sequence=0, doc="Number of subjobs"), 'use_lfc' : SimpleItem(defvalue = False, doc = 'Use LFC catalog instead of default site catalog/tracker service'), 'update_siteindex' : SimpleItem(d...
def lfc_siteinfo(result,allowed_sites): siteinfo = {} for guid, sites in result.iteritems(): newsites = [ site for site in sites if site in allowed_sites ] if not newsites: continue newsites.sort() sitekey = ':'.join(newsites) if sitekey in siteinfo: siteinfo[sitekey].append(guid) else: siteinfo[sitekey] = [ guid ] r...
f6d6d564247220a9f84c905ca600beecd6b141ed /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1488/f6d6d564247220a9f84c905ca600beecd6b141ed/DQ2JobSplitter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 7142, 67, 4256, 1376, 12, 2088, 16, 8151, 67, 12180, 4672, 225, 2834, 1376, 273, 2618, 364, 9875, 16, 9180, 316, 563, 18, 2165, 3319, 13332, 394, 12180, 273, 306, 2834, 364, 2834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 7142, 67, 4256, 1376, 12, 2088, 16, 8151, 67, 12180, 4672, 225, 2834, 1376, 273, 2618, 364, 9875, 16, 9180, 316, 563, 18, 2165, 3319, 13332, 394, 12180, 273, 306, 2834, 364, 2834, ...
def open(self, url, new=0):
def open(self, url, new=0, autoraise=1):
def open(self, url, new=0): os.startfile(url)
68aafcbdf63829c3dfb854b8cff029508602999e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/68aafcbdf63829c3dfb854b8cff029508602999e/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 1140, 18, 1937, 768, 12, 718, 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, 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, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 1140, 18, 1937, 768, 12, 718, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if not type(config) == type(" "): return self._reportError('Expected string for system configuration',**kwargs)
if not type( config ) == type( " " ): return self._reportError( 'Expected string for system configuration', **kwargs )
def setSystemConfig(self, config): """Helper function.
50b3322668816ba92ea3f9b253d993dc34c53a21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/50b3322668816ba92ea3f9b253d993dc34c53a21/Job.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3163, 809, 12, 2890, 16, 642, 4672, 3536, 2276, 445, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3163, 809, 12, 2890, 16, 642, 4672, 3536, 2276, 445, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if (total-1)/items_per_page != 0:
if (total-1)/items_per_page * page != 0:
def simple_search(request, response_type, items_per_page, page, start_index): """ simple search with query """ tags = Tag.objects.all().order_by("name") query = request.GET['query'] if not query: return no_results(request, response_type, query, None, is_simple = True) books = SEARCH_ENGINE.simple_search(query) autho...
ce49cea536f23a20bc29e9fd7e635c72e27b1b30 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4508/ce49cea536f23a20bc29e9fd7e635c72e27b1b30/search_views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4143, 67, 3072, 12, 2293, 16, 766, 67, 723, 16, 1516, 67, 457, 67, 2433, 16, 1363, 16, 787, 67, 1615, 4672, 3536, 4143, 1623, 598, 843, 3536, 2342, 273, 4034, 18, 6911, 18, 454, 7675...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4143, 67, 3072, 12, 2293, 16, 766, 67, 723, 16, 1516, 67, 457, 67, 2433, 16, 1363, 16, 787, 67, 1615, 4672, 3536, 4143, 1623, 598, 843, 3536, 2342, 273, 4034, 18, 6911, 18, 454, 7675...
rlib_graph_clear_bg_region = _librlib.rlib_graph_clear_bg_region
rlib_graph_clear_bg_region = _rlib.rlib_graph_clear_bg_region
def _swig_getattr(self,class_type,name): method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError,name
5896c3671984e1a35bf6763e59a746d9ce345f8b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6831/5896c3671984e1a35bf6763e59a746d9ce345f8b/librlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5328, 360, 67, 588, 1747, 12, 2890, 16, 1106, 67, 723, 16, 529, 4672, 707, 273, 667, 67, 723, 16186, 5328, 360, 67, 588, 5163, 25648, 588, 12, 529, 16, 7036, 13, 309, 707, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5328, 360, 67, 588, 1747, 12, 2890, 16, 1106, 67, 723, 16, 529, 4672, 707, 273, 667, 67, 723, 16186, 5328, 360, 67, 588, 5163, 25648, 588, 12, 529, 16, 7036, 13, 309, 707, 30, ...
print "in reParent item=%s has children..." %repr(self.tree.GetItemText(item))
def reParent(self, parent, newParent): #import pdb;set_trace() print "in reParent for %s..." %repr(self.tree.GetItemText(parent))
018dc2f3a19f43f863b8a1cd816cbdb4591b1bce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/018dc2f3a19f43f863b8a1cd816cbdb4591b1bce/SceneGraphUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 3054, 12, 2890, 16, 982, 16, 24818, 4672, 468, 5666, 10892, 31, 542, 67, 5129, 1435, 1172, 315, 267, 283, 3054, 364, 738, 87, 7070, 738, 12715, 12, 2890, 18, 3413, 18, 967, 1180, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 283, 3054, 12, 2890, 16, 982, 16, 24818, 4672, 468, 5666, 10892, 31, 542, 67, 5129, 1435, 1172, 315, 267, 283, 3054, 364, 738, 87, 7070, 738, 12715, 12, 2890, 18, 3413, 18, 967, 1180, ...
highlight[day] = tuple([1] + highlight[day][1:])
highlight[day] = tuple([1] + list(highlight[day])[1:])
def generateCalendar(self): """ Generates the calendar. We'd like to walk the archives for things that happen in this month and mark the dates accordingly. After doing that we pass it to a formatting method which turns the thing into HTML. """ root = self._py["datadir"] baseurl = self._py.get("base_url", "") markup =...
db454ccf2d51782507f9a7d405fa601f42c06ca3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11836/db454ccf2d51782507f9a7d405fa601f42c06ca3/pycalendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 7335, 12, 2890, 4672, 3536, 31902, 326, 5686, 18, 225, 1660, 14271, 3007, 358, 5442, 326, 21997, 364, 9198, 716, 5865, 316, 333, 3138, 471, 2267, 326, 7811, 15905, 18, 225, 7360, 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, 2103, 7335, 12, 2890, 4672, 3536, 31902, 326, 5686, 18, 225, 1660, 14271, 3007, 358, 5442, 326, 21997, 364, 9198, 716, 5865, 316, 333, 3138, 471, 2267, 326, 7811, 15905, 18, 225, 7360, 9...
if cursor.rowcount: return cursor.fetchone()[0]
fetchone = cursor.fetchone() if fetchone: return fetchone[0]
def get_creationdate(self, cursor, user, uri, context=None, cache=None): party_obj = self.pool.get('party.party') party_id = self.vcard(cursor, user, uri, context=context) if party_id is None: raise DAV_NotFound if party_id: cursor.execute('SELECT EXTRACT(epoch FROM create_date) ' \ 'FROM "' + party_obj._table + '" ' \...
b4137f0755dd29dd92d6eda2d514bdd28d76112a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9280/b4137f0755dd29dd92d6eda2d514bdd28d76112a/webdav.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 17169, 712, 12, 2890, 16, 3347, 16, 729, 16, 2003, 16, 819, 33, 7036, 16, 1247, 33, 7036, 4672, 18285, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 21214, 18, 21214, 6134, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17169, 712, 12, 2890, 16, 3347, 16, 729, 16, 2003, 16, 819, 33, 7036, 16, 1247, 33, 7036, 4672, 18285, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 21214, 18, 21214, 6134, 1...
md.current.abort()
self.__current.abort()
def notify_me(): self.__cv.acquire() self.__cv.notify() self.__cv.release()
c7947691a7d1e74878c1ce8b43802ac05047e694 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2459/c7947691a7d1e74878c1ce8b43802ac05047e694/activity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 67, 3501, 13332, 365, 16186, 19774, 18, 1077, 1039, 1435, 365, 16186, 19774, 18, 12336, 1435, 365, 16186, 19774, 18, 9340, 1435, 225, 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, 0, 0, 0, 0, 0, 0, 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, 5066, 67, 3501, 13332, 365, 16186, 19774, 18, 1077, 1039, 1435, 365, 16186, 19774, 18, 12336, 1435, 365, 16186, 19774, 18, 9340, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -10...
case = pool.get('crm.lead').browse(cr, uid, data['id'])
case = pool.get(data.get('model')).browse(cr, uid, data['id'])
def _get_info(self, cr, uid, data, context): if not data['id']: return {} pool = pooler.get_pool(cr.dbname) case = pool.get('crm.lead').browse(cr, uid, data['id']) if not case.user_id: raise wizard.except_wizard(_('Error'),_('You must define a responsible user for this case in order to use this action!')) return { '...
1f6470dfb37cd72f07025a973bc93a4c3a2584d5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/1f6470dfb37cd72f07025a973bc93a4c3a2584d5/wizard_crm_new_send_email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1376, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 309, 486, 501, 3292, 350, 3546, 30, 327, 2618, 225, 2845, 273, 2845, 264, 18, 588, 67, 6011, 12, 3353, 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, 389, 588, 67, 1376, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 309, 486, 501, 3292, 350, 3546, 30, 327, 2618, 225, 2845, 273, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, ...
main()
app = QtGui.QApplication(sys.argv) win = QTestWindow() win.show() app.exec_()
def main(): app = QtGui.QApplication(sys.argv) win = QTestWindow() result = win.result runner = QTestRunner(result) win.show() QTestProgram(testRunner=runner) app.exec_()
0fd2fa56d826146eb52b50413485e4d24bbf6f8f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14942/0fd2fa56d826146eb52b50413485e4d24bbf6f8f/qtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 595, 273, 23425, 18, 53, 3208, 12, 9499, 18, 19485, 13, 5657, 273, 2238, 4709, 3829, 1435, 563, 273, 5657, 18, 2088, 8419, 273, 2238, 4709, 9709, 12, 2088, 13, 5657, 18, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 595, 273, 23425, 18, 53, 3208, 12, 9499, 18, 19485, 13, 5657, 273, 2238, 4709, 3829, 1435, 563, 273, 5657, 18, 2088, 8419, 273, 2238, 4709, 9709, 12, 2088, 13, 5657, 18, 4...
new_content = new_node.get_content().read()
new_content = util.to_utf8(new_node.get_content().read())
def render_diff(self, req, repos, chgset, diff_options): """Raw Unified Diff version""" req.send_response(200) req.send_header('Content-Type', 'text/plain;charset=utf-8') req.send_header('Content-Disposition', 'filename=Changeset%s.diff' % req.args.get('rev')) req.end_headers()
48c56ad401dad6fa254a7be7f860bb61cf7062f3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/48c56ad401dad6fa254a7be7f860bb61cf7062f3/Changeset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 5413, 12, 2890, 16, 1111, 16, 13686, 16, 462, 75, 542, 16, 3122, 67, 2116, 4672, 3536, 4809, 1351, 939, 13008, 1177, 8395, 1111, 18, 4661, 67, 2740, 12, 6976, 13, 1111, 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, 1743, 67, 5413, 12, 2890, 16, 1111, 16, 13686, 16, 462, 75, 542, 16, 3122, 67, 2116, 4672, 3536, 4809, 1351, 939, 13008, 1177, 8395, 1111, 18, 4661, 67, 2740, 12, 6976, 13, 1111, 18, ...
raise TracError(Markup('Session "%s" already exists.<br />' 'Please choose a different session ID.') % new_sid, 'Error renaming session') self.env.log.debug('Changing session ID %s to %s', self.sid, new_sid) cursor.execute("UPDATE session SET sid=%s WHERE sid=%s " "AND authenticated=0", (new_sid, self.sid)) cursor.exe...
raise TracError(Markup( _("Session '%(id)s' already exists.<br />" "Please choose a different session ID.", id=new_sid), _("Error renaming session"))) self.env.log.debug('Changing session ID %s to %s', self.sid, new_sid) cursor.execute(""" UPDATE session SET sid=%s WHERE sid=%s AND authenticated=0 """, (new_sid, self.s...
def update_session_id(db): cursor = db.cursor() cursor.execute("SELECT sid FROM session WHERE sid=%s", (new_sid,)) if cursor.fetchone(): raise TracError(Markup('Session "%s" already exists.<br />' 'Please choose a different session ID.') % new_sid, 'Error renaming session') self.env.log.debug('Changing session ID %s to...
c9cd2abe472fbff336262b87b60cf1276cdfdeca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/c9cd2abe472fbff336262b87b60cf1276cdfdeca/session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 3184, 67, 350, 12, 1966, 4672, 3347, 273, 1319, 18, 9216, 1435, 3347, 18, 8837, 2932, 4803, 7348, 4571, 1339, 4852, 7348, 5095, 87, 3113, 261, 2704, 67, 7453, 16, 3719, 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, 1089, 67, 3184, 67, 350, 12, 1966, 4672, 3347, 273, 1319, 18, 9216, 1435, 3347, 18, 8837, 2932, 4803, 7348, 4571, 1339, 4852, 7348, 5095, 87, 3113, 261, 2704, 67, 7453, 16, 3719, 309, ...
sage: print magma.load(SAGE_TMP + 'a.m')
sage: print magma.load(SAGE_TMP + 'a.m')
def load(self, filename): """ Load the file with given filename using the 'load' command in the MAGMA shell.
04917fdfb19c54d3ca3aa421b8fa4cc30257acef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/04917fdfb19c54d3ca3aa421b8fa4cc30257acef/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 12, 2890, 16, 1544, 4672, 3536, 4444, 326, 585, 598, 864, 1544, 1450, 326, 296, 945, 11, 1296, 316, 326, 490, 1781, 5535, 5972, 18, 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, 1262, 12, 2890, 16, 1544, 4672, 3536, 4444, 326, 585, 598, 864, 1544, 1450, 326, 296, 945, 11, 1296, 316, 326, 490, 1781, 5535, 5972, 18, 2, -100, -100, -100, -100, -100, -100, -100, -...
self.aaRulerTextEdit.insertHtml(fixedPitchSequence)
self.aaRulerTextEdit.setHtml(fixedPitchSequence)
def setRuler(self, lengthOfSeq, inRestoreCursor = True): """ Set the sequence ruler for upto three digits @param lengthOfSeq: length of the sequence. @type lengthOfSeq: int @param inRestoreCursor: restore cursor position @type inRestoreCursor: bool """ cursor = self.sequenceTextEdit.textCursor() cursorM...
ee1906b1c674050edc0c2a79b4084695cc35cce7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/ee1906b1c674050edc0c2a79b4084695cc35cce7/ProteinSequenceEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 54, 17040, 12, 2890, 16, 769, 951, 6926, 16, 316, 10874, 6688, 225, 273, 225, 1053, 4672, 3536, 1000, 326, 3102, 436, 17040, 364, 582, 21910, 8925, 6815, 225, 632, 891, 769, 951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 54, 17040, 12, 2890, 16, 769, 951, 6926, 16, 316, 10874, 6688, 225, 273, 225, 1053, 4672, 3536, 1000, 326, 3102, 436, 17040, 364, 582, 21910, 8925, 6815, 225, 632, 891, 769, 951, ...
<type 'None'>
<type 'NoneType'>
... def f(self):
c4d476e054ee112eeb431641161c29d98fa39a1a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/c4d476e054ee112eeb431641161c29d98fa39a1a/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 2398, 1652, 284, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 2398, 1652, 284, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.proxyPorts = []
def init(self): assert not self.prepared, "init after prepare, but before close" # Load the environment for translation. self.lang_manager = i18n.LanguageManager() # Set the system user default language. self.lang_manager.set_language(\ self.lang_manager.locale_default_lang()) # Set interface to use the user language i...
031d3ea6746531c9fcc35e9be2df307d8999e4da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/031d3ea6746531c9fcc35e9be2df307d8999e4da/sb_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 4672, 1815, 486, 365, 18, 9366, 72, 16, 315, 2738, 1839, 2911, 16, 1496, 1865, 1746, 6, 468, 4444, 326, 3330, 364, 4794, 18, 365, 18, 4936, 67, 4181, 273, 277, 2643, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 4672, 1815, 486, 365, 18, 9366, 72, 16, 315, 2738, 1839, 2911, 16, 1496, 1865, 1746, 6, 468, 4444, 326, 3330, 364, 4794, 18, 365, 18, 4936, 67, 4181, 273, 277, 2643, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 240) else quickfix.StringField.__init__(self, 240, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 27610, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 27610, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
seq, request = rpc.request_queue.get(0)
seq, request = rpc.request_queue.get(block=True, timeout=0.05)
def main(del_exitfunc=False): """Start the Python execution server in a subprocess In the Python subprocess, RPCServer is instantiated with handlerclass MyHandler, which inherits register/unregister methods from RPCHandler via the mix-in class SocketIO. When the RPCServer 'server' is instantiated, the TCPServer initi...
a15a945003ea64d4e7d5e9a1d4f9dfb3bb7c0c97 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a15a945003ea64d4e7d5e9a1d4f9dfb3bb7c0c97/run.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 3771, 67, 8593, 644, 33, 8381, 4672, 3536, 1685, 326, 6600, 4588, 1438, 316, 279, 6652, 225, 657, 326, 6600, 6652, 16, 8295, 2081, 353, 17651, 598, 1838, 1106, 8005, 1503, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 3771, 67, 8593, 644, 33, 8381, 4672, 3536, 1685, 326, 6600, 4588, 1438, 316, 279, 6652, 225, 657, 326, 6600, 6652, 16, 8295, 2081, 353, 17651, 598, 1838, 1106, 8005, 1503, 16, ...
tarinfo.prefix = buf[345:500]
prefix = buf[345:500].rstrip(NUL) if prefix and not tarinfo.issparse(): tarinfo.name = prefix + "/" + tarinfo.name
def frombuf(cls, buf): """Construct a TarInfo object from a 512 byte string buffer. """ if len(buf) != BLOCKSIZE: raise ValueError("truncated header") if buf.count(NUL) == BLOCKSIZE: raise ValueError("empty header")
a5d321590b6fbeded04d879956891c67090e606f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/a5d321590b6fbeded04d879956891c67090e606f/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 4385, 12, 6429, 16, 1681, 4672, 3536, 7249, 279, 20334, 966, 733, 628, 279, 13908, 1160, 533, 1613, 18, 3536, 309, 562, 12, 4385, 13, 480, 14073, 4574, 30, 1002, 2068, 2932, 23558, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 4385, 12, 6429, 16, 1681, 4672, 3536, 7249, 279, 20334, 966, 733, 628, 279, 13908, 1160, 533, 1613, 18, 3536, 309, 562, 12, 4385, 13, 480, 14073, 4574, 30, 1002, 2068, 2932, 23558, ...
dist = pkg_resources.get_distribution(self.req)
self.satisfied_by = pkg_resources.get_distribution(self.req)
def check_if_exists(self): """Checks if this requirement is satisfied by something already installed""" if self.req is None: return False try: dist = pkg_resources.get_distribution(self.req) except pkg_resources.DistributionNotFound: return False self.satisfied_by = dist return True
beba4ffd0d59cc9bbb1b44d1192bacce527e1749 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/beba4ffd0d59cc9bbb1b44d1192bacce527e1749/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 430, 67, 1808, 12, 2890, 4672, 3536, 4081, 309, 333, 12405, 353, 18958, 635, 5943, 1818, 5876, 8395, 309, 365, 18, 3658, 353, 599, 30, 327, 1083, 775, 30, 365, 18, 12973, 2150...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 430, 67, 1808, 12, 2890, 4672, 3536, 4081, 309, 333, 12405, 353, 18958, 635, 5943, 1818, 5876, 8395, 309, 365, 18, 3658, 353, 599, 30, 327, 1083, 775, 30, 365, 18, 12973, 2150...
if gpu and out_dtype!='float32':
if gpu and (out_dtype!='float32' or any(i.dtype != 'float32' for i in g.owner.inputs)):
def my_init(shp, dtype='float64', num=0): #ret = theano._asarray(numpy.random.rand(*shp),dtype=dtype) ret = numpy.zeros(shp, dtype=dtype)+num return ret
70c1f77000dfcf3b0a5f7084b46297198f75fc61 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/70c1f77000dfcf3b0a5f7084b46297198f75fc61/test_opt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 67, 2738, 12, 674, 84, 16, 3182, 2218, 5659, 1105, 2187, 818, 33, 20, 4672, 468, 1349, 273, 326, 31922, 6315, 345, 1126, 12, 15974, 18, 9188, 18, 7884, 30857, 674, 84, 3631, 8972...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 67, 2738, 12, 674, 84, 16, 3182, 2218, 5659, 1105, 2187, 818, 33, 20, 4672, 468, 1349, 273, 326, 31922, 6315, 345, 1126, 12, 15974, 18, 9188, 18, 7884, 30857, 674, 84, 3631, 8972...
if not getattr(self.options, 'remove_paragraph_spacing', False):
if not getattr(self.opts, 'remove_paragraph_spacing', False):
def convert(self, stream, options, file_ext, log, accelerators): from calibre.ebooks.metadata.meta import get_metadata from calibre.ebooks.metadata.opf2 import OPFCreator from calibre.ebooks.rtf2xml.ParseRtf import RtfInvalidCodeException self.options = options self.log = log self.log('Converting RTF to XML...') #Name ...
281058618c072d5e3a8fea24a49d37c3a9b7c325 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/281058618c072d5e3a8fea24a49d37c3a9b7c325/input.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2890, 16, 1407, 16, 702, 16, 585, 67, 408, 16, 613, 16, 15153, 264, 3062, 4672, 628, 26139, 266, 18, 73, 12567, 18, 4165, 18, 3901, 1930, 336, 67, 4165, 628, 26139, 266, 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, 1765, 12, 2890, 16, 1407, 16, 702, 16, 585, 67, 408, 16, 613, 16, 15153, 264, 3062, 4672, 628, 26139, 266, 18, 73, 12567, 18, 4165, 18, 3901, 1930, 336, 67, 4165, 628, 26139, 266, 18...
act_id = self.make_action(cr, uid, doc_id, context=context)
self.make_action(cr, uid, doc_id, context=context)
def create(self, cr, uid, vals, context=None): """ Dynamicaly declare the wizard for this document """ if context is None: context = {} doc_id = super(jasper_document, self).create(cr, uid, vals, context=context) act_id = self.make_action(cr, uid, doc_id, context=context) return doc_id
c7e0b98c27d00ec08b98d85d9ed006a56fd8bce5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6641/c7e0b98c27d00ec08b98d85d9ed006a56fd8bce5/jasper_document.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 463, 3343, 1706, 93, 14196, 326, 24204, 364, 333, 1668, 3536, 309, 819, 353, 599, 30, 819, 273, 2618, 997, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 463, 3343, 1706, 93, 14196, 326, 24204, 364, 333, 1668, 3536, 309, 819, 353, 599, 30, 819, 273, 2618, 997, ...
for collection in memberItem.collections or []:
for collection in memberItem.appearsIn or []:
def GetItemRemovalState(selectedCollection, item, view): """ Determine how an item that's supposed to be removed ought to be handled. It may be simply removed, or its collection membership may indicate that it should be deleted, or it could be treated as read-only. """ app_ns = schema.ns('osaf.app', view) pim_ns = sc...
52c032b36d802741bbdd0f36cb276f8a7045fa0c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/52c032b36d802741bbdd0f36cb276f8a7045fa0c/DeleteDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1180, 24543, 1119, 12, 8109, 2532, 16, 761, 16, 1476, 4672, 3536, 10229, 3661, 392, 761, 716, 1807, 18405, 358, 506, 3723, 320, 9540, 358, 506, 7681, 18, 225, 2597, 2026, 506, 8616,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 24543, 1119, 12, 8109, 2532, 16, 761, 16, 1476, 4672, 3536, 10229, 3661, 392, 761, 716, 1807, 18405, 358, 506, 3723, 320, 9540, 358, 506, 7681, 18, 225, 2597, 2026, 506, 8616,...
def _destroy(self, widget, combo): combo.set_model(None) self.cb = lambda *args: 0
def set_text(self, text): self.get_children()[0].child.set_text(text)
280c61da80f0bb001fcd98422dbab50ce5745a40 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/280c61da80f0bb001fcd98422dbab50ce5745a40/widgets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 955, 12, 2890, 16, 977, 4672, 365, 18, 588, 67, 5906, 1435, 63, 20, 8009, 3624, 18, 542, 67, 955, 12, 955, 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, 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, 444, 67, 955, 12, 2890, 16, 977, 4672, 365, 18, 588, 67, 5906, 1435, 63, 20, 8009, 3624, 18, 542, 67, 955, 12, 955, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
class NoDictionaryError(Exception): def __str__(self): return ('No words stored in generator. A valid dictionary text must ' 'be supplied.') class NoChainsError(Exception): def __str__(self): return ('No chains stored in generator. A valid sample text must be ' 'supplied.')
def __str__(self): return ('Sample text must contain one or more empty-line ' 'delimited paragraphs, and each paragraph must contain one or ' 'more period, question mark, or exclamation mark delimited ' 'sentences.')
bc9d5a1d58b676e7cc6dcf78f4cef02419954da2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3480/bc9d5a1d58b676e7cc6dcf78f4cef02419954da2/lipsum.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 7707, 8504, 977, 1297, 912, 1245, 578, 1898, 1008, 17, 1369, 296, 296, 3771, 1038, 329, 24552, 16, 471, 1517, 10190, 1297, 912, 1245, 578, 296, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 7707, 8504, 977, 1297, 912, 1245, 578, 1898, 1008, 17, 1369, 296, 296, 3771, 1038, 329, 24552, 16, 471, 1517, 10190, 1297, 912, 1245, 578, 296, 296, ...
this = apply(_quickfix.new_Nested3PartyID, args)
this = _quickfix.new_Nested3PartyID(*args)
def __init__(self, *args): this = apply(_quickfix.new_Nested3PartyID, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8649, 23, 17619, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8649, 23, 17619, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, ...