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
) toggle_actions = ( ('Status Bar', None, _('_Status Bar'), None, _('Status Bar'), self.toggle_status_bar, self.statusbar_show), ('Toolbar', None, _('_Toolbar'), None, _('Toolbar'), self.toggle_toolbar, self.toolbar_show), ) uiDescription = """ <ui> <popup name="Popup"> <menuitem action="Next Image"/> <menuitem action=...
) toggle_actions = ( ('Status Bar', None, _('_Status Bar'), None, _('Status Bar'), self.toggle_status_bar, self.statusbar_show), ('Toolbar', None, _('_Toolbar'), None, _('Toolbar'), self.toggle_toolbar, self.toolbar_show), ) uiDescription = """ <ui> <popup name="Popup"> <menuitem action="Next Image"/> <menuitem action=...
def __init__(self):
a4d6024d09d807bd2a142bf54daca1a7d1873c7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/a4d6024d09d807bd2a142bf54daca1a7d1873c7f/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if translate: hbox = gtk.HBox(spacing=3) hbox.pack_start(widget) img = gtk.Image() img.set_from_stock('terp-translate', gtk.ICON_SIZE_MENU) ebox = gtk.EventBox() ebox.set_events(gtk.gdk.BUTTON_PRESS_MASK) self.trans_box.append((ebox, name, fname, widget)) ebox.add(img) hbox.pack_start(ebox, fill=False, expand=False) h...
def wid_add(self, widget, name=None, expand=False, ypadding=2, rowspan=1, colspan=1, translate=False, fname=None, help_tip=False, fill=False): (table, width, height) = self.cont[-1] if colspan > self.col[-1]: colspan = self.col[-1] length = name and 1 or 0 if colspan + width + length > self.col[-1]: self.newline() (tab...
49a255dbfd8dc896f11f960d9184a024445edd01 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/49a255dbfd8dc896f11f960d9184a024445edd01/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15481, 67, 1289, 12, 2890, 16, 3604, 16, 508, 33, 7036, 16, 4542, 33, 8381, 16, 677, 9598, 33, 22, 16, 1027, 3969, 33, 21, 16, 20856, 33, 21, 16, 4204, 33, 8381, 16, 5299, 33, 7036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15481, 67, 1289, 12, 2890, 16, 3604, 16, 508, 33, 7036, 16, 4542, 33, 8381, 16, 677, 9598, 33, 22, 16, 1027, 3969, 33, 21, 16, 20856, 33, 21, 16, 4204, 33, 8381, 16, 5299, 33, 7036...
if cfg_target != cur_target:
elif map(int, cfg_target.split('.')) > map(int, cur_target.split('.')):
def _init_posix(): """Initialize the module as appropriate for POSIX systems.""" g = {} # load the installed Makefile: try: filename = get_makefile_filename() parse_makefile(filename, g) except IOError, msg: my_msg = "invalid Python installation: unable to open %s" % filename if hasattr(msg, "strerror"): my_msg = my_ms...
59075eb264becaa8279f81a90846e8c248033c32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/59075eb264becaa8279f81a90846e8c248033c32/sysconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 24463, 13332, 3536, 7520, 326, 1605, 487, 5505, 364, 13803, 31773, 14908, 12123, 314, 273, 2618, 468, 1262, 326, 5876, 4344, 768, 30, 775, 30, 1544, 273, 336, 67, 6540, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 24463, 13332, 3536, 7520, 326, 1605, 487, 5505, 364, 13803, 31773, 14908, 12123, 314, 273, 2618, 468, 1262, 326, 5876, 4344, 768, 30, 775, 30, 1544, 273, 336, 67, 6540, 76...
NewLib = os.path.join(InstallRoot_CompilerWithPrevious, "lib")
def CopyRecursive(From, To): CopyCommand = "xcopy /fiverdh " ToParent = os.path.dirname(To) if (os.name != "nt"): CopyCommand = "cp --preserve --recursive " print("mkdir " + ToParent) print(CopyCommand + From + " " + To) if os.path.isdir(To): shutil.rmtree(To) else: CreateDirectory(ToParent) shutil.copytree(From, To) ...
b209776b476bf401c3dff79e1c53369b5d15c9f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9328/b209776b476bf401c3dff79e1c53369b5d15c9f7/make-dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 10483, 12, 1265, 16, 2974, 4672, 5631, 2189, 273, 315, 92, 3530, 342, 74, 1667, 19153, 315, 2974, 3054, 273, 1140, 18, 803, 18, 12287, 12, 774, 13, 309, 261, 538, 18, 529, 480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 10483, 12, 1265, 16, 2974, 4672, 5631, 2189, 273, 315, 92, 3530, 342, 74, 1667, 19153, 315, 2974, 3054, 273, 1140, 18, 803, 18, 12287, 12, 774, 13, 309, 261, 538, 18, 529, 480, ...
assert numpy.allclose(rval_cpu, rval_gpu,rtol=1e-4,atol=1e-6)
assert numpy.allclose(rval_cpu, rval_gpu,rtol=1e-4,atol=1e-4)
def test_conv_nnet2(): numpy.random.seed(23456) rval_cpu = run_conv_nnet2(shared) numpy.random.seed(23456) rval_gpu = run_conv_nnet2(tcn.shared_constructor) assert numpy.allclose(rval_cpu, rval_gpu,rtol=1e-4,atol=1e-6)
1b5c9a7103c69d9dffc5877df1986dce48c58747 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12438/1b5c9a7103c69d9dffc5877df1986dce48c58747/test_nnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4896, 67, 82, 2758, 22, 13332, 3972, 18, 9188, 18, 12407, 12, 17959, 4313, 13, 14267, 67, 11447, 273, 1086, 67, 4896, 67, 82, 2758, 22, 12, 11574, 13, 3972, 18, 9188, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4896, 67, 82, 2758, 22, 13332, 3972, 18, 9188, 18, 12407, 12, 17959, 4313, 13, 14267, 67, 11447, 273, 1086, 67, 4896, 67, 82, 2758, 22, 12, 11574, 13, 3972, 18, 9188, 18, 1...
print my_damadged if my_losses > 0:
if long(my_losses) >0 :
def clean(self): cleaned_data = self.cleaned_data my_losses = cleaned_data.get('numberUnitsLost') my_lr = cleaned_data.get('unitsLostReason') my_damadged = cleaned_data.get('numberUnitsDamaged') my_dr = cleaned_data.get('unitsDamagedReason')
98959dbdb10174fc285daa151fcafa2459af00d7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12559/98959dbdb10174fc285daa151fcafa2459af00d7/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 9426, 67, 892, 273, 365, 18, 6200, 329, 67, 892, 3399, 67, 30851, 273, 9426, 67, 892, 18, 588, 2668, 2696, 7537, 19024, 6134, 3399, 67, 10826, 273, 9426, 67, 892,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 9426, 67, 892, 273, 365, 18, 6200, 329, 67, 892, 3399, 67, 30851, 273, 9426, 67, 892, 18, 588, 2668, 2696, 7537, 19024, 6134, 3399, 67, 10826, 273, 9426, 67, 892,...
setattr(obj, 'filename', filename or self.getName())
setattr(obj, 'filename', filename)
def set(self, instance, value, **kwargs): """ Assign input value to object. If mimetype is not specified, pass to processing method without one and add mimetype returned to kwargs. Assign kwargs to instance. """ if not value: return
d7ace5536aee3f4226777daa41452539b7bad11c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/d7ace5536aee3f4226777daa41452539b7bad11c/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 12093, 810, 460, 358, 733, 18, 971, 12595, 353, 486, 1269, 16, 1342, 358, 4929, 707, 2887, 1245, 471, 527, 12595, 2106, 358...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 12093, 810, 460, 358, 733, 18, 971, 12595, 353, 486, 1269, 16, 1342, 358, 4929, 707, 2887, 1245, 471, 527, 12595, 2106, 358...
if is_debug_build: base_d, ext_d = os.path.splitext(template) template_d = base_d + "_d" + ext_d template = template_d
def build_executable(self, target, template, arcname, script, vars={}): # Build an executable for the target # template is the exe-stub to use, and arcname is the zipfile # containing the python modules. from py2exe_util import add_resource, add_icon if is_debug_build: base_d, ext_d = os.path.splitext(template) templat...
dca50236874fcc02c2cbd030bf60671f9ac9161e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1361/dca50236874fcc02c2cbd030bf60671f9ac9161e/build_exe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 17751, 12, 2890, 16, 1018, 16, 1542, 16, 8028, 529, 16, 2728, 16, 4153, 12938, 4672, 468, 3998, 392, 9070, 364, 326, 1018, 468, 1542, 353, 326, 15073, 17, 12847, 358, 999, 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, 1361, 67, 17751, 12, 2890, 16, 1018, 16, 1542, 16, 8028, 529, 16, 2728, 16, 4153, 12938, 4672, 468, 3998, 392, 9070, 364, 326, 1018, 468, 1542, 353, 326, 15073, 17, 12847, 358, 999, 16...
smtp = smtplib.SMTP("localhost", 9091, timeout=30)
smtp = smtplib.SMTP(HOST, PORT, timeout=30)
def testTimeoutValue(self): # a value smtp = smtplib.SMTP("localhost", 9091, timeout=30) self.assertEqual(smtp.sock.gettimeout(), 30) smtp.sock.close()
c216b484c34a826e47aa0b25a453091ad1cc1e3b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/c216b484c34a826e47aa0b25a453091ad1cc1e3b/test_smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2694, 620, 12, 2890, 4672, 468, 279, 460, 17660, 273, 272, 1010, 6673, 18, 55, 14636, 12, 8908, 16, 20987, 16, 2021, 33, 5082, 13, 365, 18, 11231, 5812, 12, 20278, 18, 15031, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2694, 620, 12, 2890, 4672, 468, 279, 460, 17660, 273, 272, 1010, 6673, 18, 55, 14636, 12, 8908, 16, 20987, 16, 2021, 33, 5082, 13, 365, 18, 11231, 5812, 12, 20278, 18, 15031, 18,...
if type(commandlist) == type(()) and len(commandlist[0]) > 1:
if type(commandlist[0]) == type(()) and len(commandlist[0]) > 1:
def GetArgv(optionlist=None, commandlist=None, addoldfile=1, addnewfile=1, addfolder=1, id=ARGV_ID): d = GetNewDialog(id, -1) if not d: print "Can't get DLOG resource with id =", id return
4227340a8bad85ccbc649c9eb7648c9f3229f58d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4227340a8bad85ccbc649c9eb7648c9f3229f58d/EasyDialogs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4117, 90, 12, 3482, 1098, 33, 7036, 16, 1296, 1098, 33, 7036, 16, 527, 1673, 768, 33, 21, 16, 527, 2704, 768, 33, 21, 16, 527, 5609, 33, 21, 16, 612, 33, 10973, 58, 67, 734, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4117, 90, 12, 3482, 1098, 33, 7036, 16, 1296, 1098, 33, 7036, 16, 527, 1673, 768, 33, 21, 16, 527, 2704, 768, 33, 21, 16, 527, 5609, 33, 21, 16, 612, 33, 10973, 58, 67, 734, ...
(1, Complex(0,10), 'TypeError'),
(1, Complex(0,10), 1),
def test(): testsuite = { 'a+b': [ (1, 10, 11), (1, Complex(0,10), Complex(1,10)), (Complex(0,10), 1, Complex(1,10)), (Complex(0,10), Complex(1), Complex(1,10)), (Complex(1), Complex(0,10), Complex(1,10)), ], 'a-b': [ (1, 10, -9), (1, Complex(0,10), Complex(1,-10)), (Complex(0,10), 1, Complex(-1,10)), (Complex(0,10), C...
5d63d562e8015e55591da523d87bba373733db00 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/5d63d562e8015e55591da523d87bba373733db00/Complex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 7434, 9519, 273, 288, 296, 69, 15, 70, 4278, 306, 261, 21, 16, 1728, 16, 4648, 3631, 261, 21, 16, 16060, 12, 20, 16, 2163, 3631, 16060, 12, 21, 16, 2163, 13, 3631, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 7434, 9519, 273, 288, 296, 69, 15, 70, 4278, 306, 261, 21, 16, 1728, 16, 4648, 3631, 261, 21, 16, 16060, 12, 20, 16, 2163, 3631, 16060, 12, 21, 16, 2163, 13, 3631, 261, ...
def __init__(self, host, port = NNTP_PORT):
def __init__(self, host, port = NNTP_PORT, user=None, password=None):
def __init__(self, host, port = NNTP_PORT): self.host = host self.port = port self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.connect(self.host, self.port) self.file = self.sock.makefile('rb') self.debugging = 0 self.welcome = self.getresp()
c054bb84dc565c1f03f3661e7d797c8687b7d36a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c054bb84dc565c1f03f3661e7d797c8687b7d36a/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1479, 16, 1756, 273, 423, 1784, 52, 67, 6354, 16, 729, 33, 7036, 16, 2201, 33, 7036, 4672, 365, 18, 2564, 273, 1479, 365, 18, 655, 273, 1756, 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, 1001, 2738, 972, 12, 2890, 16, 1479, 16, 1756, 273, 423, 1784, 52, 67, 6354, 16, 729, 33, 7036, 16, 2201, 33, 7036, 4672, 365, 18, 2564, 273, 1479, 365, 18, 655, 273, 1756, 365, 18, ...
eJytU11P2zAUffevuKQ8AFqJ+srUh6IhgcTKRFgnjSLXTW4aS6ld2U6zgvbfd50PSD+GNI08JLHv 8fW5557bg4dMWkhljrAsrIM5QmExgVK6DAKrCxMjzKUKRezkWjgM4Cw1eglzYbMz1oONLiAWSmkH plAgHSTSYOzyDWMJtqfg5BReGNAjU3iEvoLgmN/dfuGTm/uH76Nb/m30cB3AE3wGl6GqkP7x28ND 0FcE/lpp4yrg616hLDrYO1TFU8mqb6+u3Ga6yBNI0BHnqigQKoFnm32CMpNxBplYIwj6UCjWy6UP u0y4Sq8mFakW...
eJytVF1v2jAUfc+vuA19aKvRiNdOPFAVqUgtrQhj0kplTHJDLAUb2Q5ZO+2/7zokbQKs0rTmgeDc 73OObwemqTCQiAxhnRsLS4TcYAyFsCn4RuU6QlgKGfDIii236MNFotUaltykF14HXlQOEZdSWdC5 BGEhFhojm714Xox1FJydwy8P6BEJPEFXgn/KHu5u2Gw0mX4b3LHHwfTWh2f4CjZFWXq6x33uH3N9 88CfG6Vt6fj2LZcGLRwElfZEeOW7s5vcpCrPYojRUs/lUMBlDK8m/QJFKqIUUr5F4PQiU6TWa2e2 KbclXlUqQi3i...
def after_install(options, home_dir): subprocess.call([join(home_dir, 'bin', 'easy_install'), 'MyPackage']) subprocess.call([join(home_dir, 'bin', 'my-package-script'), 'setup', home_dir])
d30edcad856caf48734040fec2336b9978dde674 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12981/d30edcad856caf48734040fec2336b9978dde674/virtualenv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 5425, 12, 2116, 16, 6382, 67, 1214, 4672, 6652, 18, 1991, 3816, 5701, 12, 8712, 67, 1214, 16, 296, 4757, 2187, 296, 73, 15762, 67, 5425, 19899, 296, 12062, 2261, 19486, 6652, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 5425, 12, 2116, 16, 6382, 67, 1214, 4672, 6652, 18, 1991, 3816, 5701, 12, 8712, 67, 1214, 16, 296, 4757, 2187, 296, 73, 15762, 67, 5425, 19899, 296, 12062, 2261, 19486, 6652, ...
while true:
while True:
def setup(config): """Configure the STOMP Broker connection protocol factory. config = { 'host' : '', 'port' : '', 'username' : '', 'password' : '', 'channel' : 'evasion' } Isolate messages from multiple deviceaccesss, using the same broker, by creating new channels ie evasionoslo, evasionbmnt, etc """
0c5412dcb3e1344d1c843eca0a6874b50390df7c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12467/0c5412dcb3e1344d1c843eca0a6874b50390df7c/stompprotocol.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 1425, 4672, 3536, 11207, 326, 2347, 1872, 52, 20438, 1459, 1771, 3272, 18, 225, 642, 273, 288, 296, 2564, 11, 294, 10226, 296, 655, 11, 294, 10226, 296, 5053, 11, 294, 10226, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 1425, 4672, 3536, 11207, 326, 2347, 1872, 52, 20438, 1459, 1771, 3272, 18, 225, 642, 273, 288, 296, 2564, 11, 294, 10226, 296, 655, 11, 294, 10226, 296, 5053, 11, 294, 10226, ...
return getint(
return self.tk.getint(
def winfo_id(self): return getint( self.tk.call('winfo', 'id', self._w))
cef4c844df324979f25ffec172c141a5d5c4672e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/cef4c844df324979f25ffec172c141a5d5c4672e/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 1376, 67, 350, 12, 2890, 4672, 327, 365, 18, 16099, 18, 588, 474, 12, 365, 18, 16099, 18, 1991, 2668, 91, 1376, 2187, 296, 350, 2187, 365, 6315, 91, 3719, 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, 341, 1376, 67, 350, 12, 2890, 4672, 327, 365, 18, 16099, 18, 588, 474, 12, 365, 18, 16099, 18, 1991, 2668, 91, 1376, 2187, 296, 350, 2187, 365, 6315, 91, 3719, 2, -100, -100, -100, -...
print("The Python SSL module was not built")
def find_working_perl(perls): for perl in perls: fh = os.popen(perl + ' -e "use Win32;"') fh.read() rc = fh.close() if rc: continue return perl print("Can not find a suitable PERL:") if perls: print(" the following perl interpreters were found:") for p in perls: print(" ", p) print(" None of these versions appear suita...
64769907bf2b42428cf366b627a194db211a2c15 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/64769907bf2b42428cf366b627a194db211a2c15/build_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 20478, 67, 457, 80, 12, 457, 3251, 4672, 364, 1534, 80, 316, 1534, 3251, 30, 7625, 273, 1140, 18, 84, 3190, 12, 457, 80, 397, 296, 300, 73, 315, 1202, 21628, 1578, 4868, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 20478, 67, 457, 80, 12, 457, 3251, 4672, 364, 1534, 80, 316, 1534, 3251, 30, 7625, 273, 1140, 18, 84, 3190, 12, 457, 80, 397, 296, 300, 73, 315, 1202, 21628, 1578, 4868, 61...
return True;
return True
def test_03 (): # call to initialize a context ctx = vortex.Ctx (); # call to init ctx if not ctx.init (): error ("Failed to init Vortex context"); return False; # call to create a connection conn = vortex.Connection (ctx, host, port); # check connection status after if if not conn.is_ok (): error ("Expected to find...
44bc361f3b497230e1d601079e2df89085d4b1cd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1306/44bc361f3b497230e1d601079e2df89085d4b1cd/vortex-regression-client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4630, 1832, 30, 468, 745, 358, 4046, 279, 819, 1103, 273, 331, 20873, 18, 6442, 261, 1769, 225, 468, 745, 358, 1208, 1103, 309, 486, 1103, 18, 2738, 1832, 30, 555, 7566, 2925...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4630, 1832, 30, 468, 745, 358, 4046, 279, 819, 1103, 273, 331, 20873, 18, 6442, 261, 1769, 225, 468, 745, 358, 1208, 1103, 309, 486, 1103, 18, 2738, 1832, 30, 555, 7566, 2925...
(title, extension) = os.path.splitext(os.path.basename(filename))
def get_all_tracks(self): tracks = []
8b246ef484fdc115b48d8e9a815edc52238b52cf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12778/8b246ef484fdc115b48d8e9a815edc52238b52cf/sync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 454, 67, 21499, 12, 2890, 4672, 13933, 273, 5378, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 454, 67, 21499, 12, 2890, 4672, 13933, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
xt = self._simuBackward(endGen, freq, minMutAge, maxMutAge)
xt = self._simuBackward(endGen, freq, self.minMutAge, self.maxMutAge)
def simuBackward(self, endGen, endFreq, minMutAge=None, maxMutAge=None, maxAttempts = 1000): '''Simulate trajectories of multiple disease susceptibility loci using a forward time approach. This function accepts allele frequencies of alleles of multiple unlinked loci (*endFreq*) at the end of generation *endGen*. Depend...
0b6200faec4523264df7eb8b695f3e0e800711b2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/401/0b6200faec4523264df7eb8b695f3e0e800711b2/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3142, 89, 26283, 12, 2890, 16, 679, 7642, 16, 679, 14485, 16, 1131, 7420, 9692, 33, 7036, 16, 943, 7420, 9692, 33, 7036, 16, 943, 10113, 273, 4336, 4672, 9163, 7993, 6243, 1284, 937, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3142, 89, 26283, 12, 2890, 16, 679, 7642, 16, 679, 14485, 16, 1131, 7420, 9692, 33, 7036, 16, 943, 7420, 9692, 33, 7036, 16, 943, 10113, 273, 4336, 4672, 9163, 7993, 6243, 1284, 937, 2...
return self.__label def Label(self):
def __str__(self): return self.__label
e47208cc236cc1e83b18487d1da8ae6ba3663eb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1130/e47208cc236cc1e83b18487d1da8ae6ba3663eb7/exPyOperator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 16186, 1925, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 16186, 1925, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tinfo = tar.gettarinfo(name=x.abspath(), arcname=x.path_from(self.base_path))
tinfo = tar.gettarinfo(name=x.abspath(), arcname=self.get_base_name() + '/' + x.path_from(self.base_path))
def archive(self): """ Create the archive (override or subclass) """ import tarfile
464a87414a1fb565e4e69a8076e1356940ff17e1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2886/464a87414a1fb565e4e69a8076e1356940ff17e1/Scripting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5052, 12, 2890, 4672, 3536, 1788, 326, 5052, 261, 10601, 578, 10177, 13, 3536, 1930, 25857, 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, 5052, 12, 2890, 4672, 3536, 1788, 326, 5052, 261, 10601, 578, 10177, 13, 3536, 1930, 25857, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
log.debug("Using xmi 1.1+ parser.")
log.debug("Using xmi 1.1 parser.")
def parse(xschemaFileName=None, xschema=None, packages=[], generator=None,**kw): """ """ global XMI if xschemaFileName: suff = os.path.splitext(xschemaFileName)[1].lower() if suff.lower() in ('.zargo','.zuml','.zip'): log.debug("Opening %s ..." % suff.lower()) zf = ZipFile(xschemaFileName) xmis = [n for n in zf.nameli...
41f07970bf469ceb8d49b95ba8f127c4ae3bd98a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11658/41f07970bf469ceb8d49b95ba8f127c4ae3bd98a/xmiparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 92, 4821, 4771, 33, 7036, 16, 619, 4821, 33, 7036, 16, 5907, 22850, 6487, 4456, 33, 7036, 16, 636, 9987, 4672, 3536, 3536, 2552, 1139, 7492, 225, 309, 619, 4821, 4771, 30, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 92, 4821, 4771, 33, 7036, 16, 619, 4821, 33, 7036, 16, 5907, 22850, 6487, 4456, 33, 7036, 16, 636, 9987, 4672, 3536, 3536, 2552, 1139, 7492, 225, 309, 619, 4821, 4771, 30, 27...
print >> f, "
print >> f, "
def saveConfig(opt, file, param): """ Write a configuration file. This file can be later read with command line option -c or --config . opt: the option description list file: output file param: parameters returned from getParam """ try: f = open(file,'w') except: print 'Can not open ', file , ' to write.' retur...
c69a244874f5f1978249139cc9496c79075a69f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/401/c69a244874f5f1978249139cc9496c79075a69f5/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 809, 12, 3838, 16, 585, 16, 579, 4672, 3536, 2598, 279, 1664, 585, 18, 1220, 585, 848, 506, 5137, 855, 598, 1296, 980, 1456, 225, 300, 71, 225, 578, 1493, 1425, 225, 263, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 809, 12, 3838, 16, 585, 16, 579, 4672, 3536, 2598, 279, 1664, 585, 18, 1220, 585, 848, 506, 5137, 855, 598, 1296, 980, 1456, 225, 300, 71, 225, 578, 1493, 1425, 225, 263, 225, ...
text = self._split_header(text)
text = self._split_header(h, text)
def _write_headers(self, msg): for h, v in msg.items(): # We only write the MIME-Version: header for the outermost # container message. Unfortunately, we can't use same technique # as for the Unix-From above because we don't know when # MIME-Version: will occur. if h.lower() == 'mime-version' and not self.__first: con...
ff4accdde6bf1d73d36a973bf0501ae490603de0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/ff4accdde6bf1d73d36a973bf0501ae490603de0/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 2485, 12, 2890, 16, 1234, 4672, 364, 366, 16, 331, 316, 1234, 18, 3319, 13332, 468, 1660, 1338, 1045, 326, 13195, 17, 1444, 30, 1446, 364, 326, 596, 28055, 468, 1478, 88...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 2485, 12, 2890, 16, 1234, 4672, 364, 366, 16, 331, 316, 1234, 18, 3319, 13332, 468, 1660, 1338, 1045, 326, 13195, 17, 1444, 30, 1446, 364, 326, 596, 28055, 468, 1478, 88...
self.location_text = [] def end_(self, tag): style = self.location_style if self.location_text: if self.location_start or self.location_end:
self.text_lines = [] def end_feature(self, tag): if self.location_start or self.location_end: if self.text_lines:
def start_(self, tag, attrs): self.location_style = self.settings["location-style"] self.location_start = None self.location_end = None self.location_text = []
7795919201eb3f63ba6ae6a328d1c7499aba60a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/7795919201eb3f63ba6ae6a328d1c7499aba60a2/StdHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 12, 2890, 16, 1047, 16, 3422, 4672, 365, 18, 3562, 67, 4060, 273, 365, 18, 4272, 9614, 3562, 17, 4060, 11929, 365, 18, 3562, 67, 1937, 273, 599, 365, 18, 3562, 67, 409, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 12, 2890, 16, 1047, 16, 3422, 4672, 365, 18, 3562, 67, 4060, 273, 365, 18, 4272, 9614, 3562, 17, 4060, 11929, 365, 18, 3562, 67, 1937, 273, 599, 365, 18, 3562, 67, 409, 273,...
if length:
if length > 1024:
def add_in_urllist(url, add_item, engine, cache_url = None): if (engine == 'google' and config.copyright_check_in_source_google) or \ (engine == 'yahoo' and config.copyright_check_in_source_yahoo) or \ (engine == 'msn' and config.copyright_check_in_source_msn): check_in_source = True else: check_in_source = False if ...
98b49ec34c6d4067c0248a230c0b407821cf72a1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/98b49ec34c6d4067c0248a230c0b407821cf72a1/copyright.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 267, 67, 718, 1098, 12, 718, 16, 527, 67, 1726, 16, 4073, 16, 1247, 67, 718, 273, 599, 4672, 225, 309, 261, 8944, 422, 296, 9536, 11, 471, 642, 18, 29187, 67, 1893, 67, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 267, 67, 718, 1098, 12, 718, 16, 527, 67, 1726, 16, 4073, 16, 1247, 67, 718, 273, 599, 4672, 225, 309, 261, 8944, 422, 296, 9536, 11, 471, 642, 18, 29187, 67, 1893, 67, 26...
endDay = datetime(startDay.year, startDay.month, startDay.day + 1)
def wxSynchronizeWidget(self, **hints): # We now want the preview area to always appear. If the calendar is visible, however, we always want the # preview area to describe today, rather than the currently selected day. minical = Block.Block.findBlockByName("MiniCalendar") if isMainCalendarVisible() or not minical: tod...
bb2a26ea141e51ada03c64851f6877fea5e9873d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/bb2a26ea141e51ada03c64851f6877fea5e9873d/CalendarBlocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7075, 19298, 554, 4609, 12, 2890, 16, 2826, 24598, 4672, 468, 1660, 2037, 2545, 326, 10143, 5091, 358, 3712, 9788, 18, 225, 971, 326, 5686, 353, 6021, 16, 14025, 16, 732, 3712, 2545, 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, 7075, 19298, 554, 4609, 12, 2890, 16, 2826, 24598, 4672, 468, 1660, 2037, 2545, 326, 10143, 5091, 358, 3712, 9788, 18, 225, 971, 326, 5686, 353, 6021, 16, 14025, 16, 732, 3712, 2545, 326...
this = apply(_quickfix.new_TrdRegTimestamp, args)
this = _quickfix.new_TrdRegTimestamp(*args)
def __init__(self, *args): this = apply(_quickfix.new_TrdRegTimestamp, 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, 1070, 72, 1617, 4921, 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, 1070, 72, 1617, 4921, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, ...
pyver = ".".join([str(i) for i in sys.version_info[:2]])
def dmg_name(): #maj, min = macosx_version()[:2] pyver = ".".join([str(i) for i in sys.version_info[:2]]) #return "scipy-%s-py%s-macosx%s.%s.dmg" % \ # (FULLVERSION, pyver, maj, min) return "scipy-%s-py%s-python.org.dmg" % \ (FULLVERSION, pyver)
62e14d7237ef2ae99cb135aa1e662bedca1dd80c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12971/62e14d7237ef2ae99cb135aa1e662bedca1dd80c/pavement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9113, 75, 67, 529, 13332, 468, 12585, 16, 1131, 273, 5318, 538, 92, 67, 1589, 1435, 10531, 22, 65, 225, 468, 2463, 315, 1017, 9126, 6456, 87, 17, 2074, 9, 87, 17, 5821, 538, 92, 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, 9113, 75, 67, 529, 13332, 468, 12585, 16, 1131, 273, 5318, 538, 92, 67, 1589, 1435, 10531, 22, 65, 225, 468, 2463, 315, 1017, 9126, 6456, 87, 17, 2074, 9, 87, 17, 5821, 538, 92, 9, ...
width=80,
width=79,
def __init__ (self, indent_increment=0, max_help_position=24, width=80, short_first=0): HelpFormatter.__init__ ( self, indent_increment, max_help_position, width, short_first)
4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172/optparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 3504, 67, 15016, 33, 20, 16, 943, 67, 5201, 67, 3276, 33, 3247, 16, 1835, 33, 7235, 16, 3025, 67, 3645, 33, 20, 4672, 11288, 5074, 16186, 2738, 972, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 3504, 67, 15016, 33, 20, 16, 943, 67, 5201, 67, 3276, 33, 3247, 16, 1835, 33, 7235, 16, 3025, 67, 3645, 33, 20, 4672, 11288, 5074, 16186, 2738, 972, 2...
if self.pid and self.paused: os.kill(self.pid, signal.SIGCONT) print "continued hatari with PID %d" % self.pid self.paused = False
return self.send_message("hatari-cont\n")
def unpause(self): if self.pid and self.paused: os.kill(self.pid, signal.SIGCONT) print "continued hatari with PID %d" % self.pid self.paused = False
d5af29786f36313ce7c47a3b5fe963033faa2dd7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2811/d5af29786f36313ce7c47a3b5fe963033faa2dd7/hatari-console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 19476, 12, 2890, 4672, 327, 365, 18, 4661, 67, 2150, 2932, 76, 8761, 77, 17, 1213, 64, 82, 7923, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 19476, 12, 2890, 4672, 327, 365, 18, 4661, 67, 2150, 2932, 76, 8761, 77, 17, 1213, 64, 82, 7923, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
exitall()
if mycontext['winner'] == None: mycontext['winner'] = 'timer'
def foo(): exitall()
b7c7498ec59a2f7198af0e874c08755821fb2cee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7263/b7c7498ec59a2f7198af0e874c08755821fb2cee/ut_repytests_randomratetest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8431, 13332, 309, 3399, 2472, 3292, 91, 7872, 3546, 422, 599, 30, 3399, 2472, 3292, 91, 7872, 3546, 273, 296, 12542, 11, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8431, 13332, 309, 3399, 2472, 3292, 91, 7872, 3546, 422, 599, 30, 3399, 2472, 3292, 91, 7872, 3546, 273, 296, 12542, 11, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
repr += 'PHI RANGE %.2f %.2f\n' % \ (self._header['phi_start'], self._header['phi_end'])
repr += 'PHI WIDTH %.2f\n' % \ (self._header['phi_start'] - self._header['phi_end'])
def __repr__(self): if self.get_wavelength(): repr = 'SWEEP %s [WAVELENGTH %s]\n' % \ (self._name, self.get_wavelength().get_name()) else: repr = 'SWEEP %s [WAVELENGTH UNDEFINED]\n' % self._name
f944b479cf6f80bbb13faa20490c05a0318c54ed /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3290/f944b479cf6f80bbb13faa20490c05a0318c54ed/XSweep.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 309, 365, 18, 588, 67, 91, 16775, 13332, 8480, 273, 296, 55, 6950, 10541, 738, 87, 306, 59, 26714, 7096, 738, 87, 13944, 82, 11, 738, 521, 261, 2890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 309, 365, 18, 588, 67, 91, 16775, 13332, 8480, 273, 296, 55, 6950, 10541, 738, 87, 306, 59, 26714, 7096, 738, 87, 13944, 82, 11, 738, 521, 261, 2890, ...
realm=quote(realm)
realm=_quote(realm)
def _parse_response(self,response): """Parse a client reponse and pass to further processing. :Parameters: - `response`: the response from the client. :Types: - `response`: `str` :return: a challenge, a success indicator or a failure indicator. :returntype: `sasl.Challenge`, `sasl.Success` or `sasl.Failure`""" respon...
1e1db4225095c220966b09e2e9bd16f3ebaf7760 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12769/1e1db4225095c220966b09e2e9bd16f3ebaf7760/digest_md5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 2740, 12, 2890, 16, 2740, 4672, 3536, 3201, 279, 1004, 283, 575, 471, 1342, 358, 9271, 4929, 18, 225, 294, 2402, 30, 300, 1375, 2740, 68, 30, 326, 766, 628, 326, 1004, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 67, 2740, 12, 2890, 16, 2740, 4672, 3536, 3201, 279, 1004, 283, 575, 471, 1342, 358, 9271, 4929, 18, 225, 294, 2402, 30, 300, 1375, 2740, 68, 30, 326, 766, 628, 326, 1004, ...
if check and not context.get('no_store_function'):
if check and ((not context.get('no_store_function')) or journal.entry_posted):
def create(self, cr, uid, vals, context=None, check=True): if not context: context={} account_obj = self.pool.get('account.account') tax_obj=self.pool.get('account.tax') if ('account_id' in vals) and not account_obj.read(cr, uid, vals['account_id'], ['active'])['active']: raise osv.except_osv(_('Bad account!'), _('You ...
ee48c965e50a90706d37f3ee951dffcaa7e7cb73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/ee48c965e50a90706d37f3ee951dffcaa7e7cb73/account_move_line.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 33, 7036, 16, 866, 33, 5510, 4672, 309, 486, 819, 30, 819, 12938, 2236, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 5773, 16, 819, 33, 7036, 16, 866, 33, 5510, 4672, 309, 486, 819, 30, 819, 12938, 2236, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, ...
def on_edit_active_task(self, widget, row=None, col=None):
def on_edit_active_task(self, widget, row=None, col=None):
def on_edit_active_task(self, widget, row=None, col=None): #pylint: disable-msg=W0613 tid = self.get_selected_task() if tid: self.open_task(tid)
451ea29e3924785bc6c6b8648aa6459b292a0db4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/451ea29e3924785bc6c6b8648aa6459b292a0db4/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 4619, 67, 3535, 67, 4146, 12, 2890, 16, 3604, 16, 1027, 33, 7036, 16, 645, 33, 7036, 4672, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 11594, 273, 365, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 4619, 67, 3535, 67, 4146, 12, 2890, 16, 3604, 16, 1027, 33, 7036, 16, 645, 33, 7036, 4672, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 11594, 273, 365, 18, 588,...
print 'Endtime occured in depth %s' % depth
def go (queue): """ Finds and prints the best move from the current position """ searchLock.acquire() try: queue.put(None) # TODO: Length info should be put in the book. # Btw. 10 is not enough. Try 20 if len(board.history) < 14: movestr = getBestOpening(board) if movestr: mvs = [parseSAN(board, movestr)] if len(board...
6195ab01b21d419f1148d6c07190f7630a4d17fb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5339/6195ab01b21d419f1148d6c07190f7630a4d17fb/PyChess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 261, 4000, 4672, 3536, 4163, 87, 471, 14971, 326, 3796, 3635, 628, 326, 783, 1754, 3536, 1623, 2531, 18, 1077, 1039, 1435, 775, 30, 2389, 18, 458, 12, 7036, 13, 468, 2660, 30, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 261, 4000, 4672, 3536, 4163, 87, 471, 14971, 326, 3796, 3635, 628, 326, 783, 1754, 3536, 1623, 2531, 18, 1077, 1039, 1435, 775, 30, 2389, 18, 458, 12, 7036, 13, 468, 2660, 30, 11...
additional_path=os.path.join(buildenv['root'],'chandler',ver,'lib')+\ os.pathsep + os.path.join(buildenv['root'],'chandler',ver,'db','lib')+\ os.pathsep + os.path.join(buildenv['root'],'chandler',ver,'dbxml','lib') ld_library_path = additional_path + os.pathsep + ld_library_path
additional_paths = [ os.path.join(CHANDLERBIN, ver, 'lib'), os.path.join(CHANDLERBIN, ver, 'db', 'lib'), os.path.join(CHANDLERBIN, ver, 'dbxml', 'lib'), ld_library_path ] ld_library_path = os.pathsep.join(additional_paths)
def setupEnvironment(buildenv): if buildenv['version'] == 'debug': path = buildenv['root'] + os.sep + 'chandler' + os.sep + 'debug' + os.sep + 'bin' + \ os.pathsep + buildenv['path'] os.putenv('BUILDMODE', 'debug') if buildenv['version'] == 'release': path = buildenv['root'] + os.sep + 'chandler' + os.sep + 'release'...
a17acba4eaef7c37e9e8fb617272ca059931311b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/a17acba4eaef7c37e9e8fb617272ca059931311b/hardhatlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 5494, 12, 3510, 3074, 4672, 225, 309, 1361, 3074, 3292, 1589, 3546, 422, 296, 4148, 4278, 589, 273, 1361, 3074, 3292, 3085, 3546, 397, 1140, 18, 10814, 397, 296, 343, 464, 749, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 5494, 12, 3510, 3074, 4672, 225, 309, 1361, 3074, 3292, 1589, 3546, 422, 296, 4148, 4278, 589, 273, 1361, 3074, 3292, 3085, 3546, 397, 1140, 18, 10814, 397, 296, 343, 464, 749, 11,...
""" runs = self.runs() lis = [] max_length = max([len(r) for r in runs]) for run in runs: if len(run) == max_length: lis.append(run) return lis
sage: Permutation([5, 7, 1, 2, 6, 4, 3]).longest_increasing_subsequences() [[1, 2, 6], [1, 2, 4], [1, 2, 3]] """ patt=range(1,self.longest_increasing_subsequence_length()+1) return map(lambda m : map(lambda i : self[i],m) , self.pattern_positions(patt))
def longest_increasing_subsequence(self): r""" Returns a list of the longest increasing subsequences of the permutation p. EXAMPLES:: sage: Permutation([2,3,4,1]).longest_increasing_subsequence() [[2, 3, 4]] """ runs = self.runs() lis = [] max_length = max([len(r) for r in runs]) for run in runs: if len(run) == max_l...
2742a7a9592580d4385949a1063b94fbc3d28432 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/2742a7a9592580d4385949a1063b94fbc3d28432/permutation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 267, 1793, 11730, 67, 1717, 6178, 12, 2890, 4672, 436, 8395, 2860, 279, 666, 434, 326, 12163, 21006, 720, 17190, 434, 326, 17440, 293, 18, 225, 5675, 8900, 11386, 2866, 225, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 267, 1793, 11730, 67, 1717, 6178, 12, 2890, 4672, 436, 8395, 2860, 279, 666, 434, 326, 12163, 21006, 720, 17190, 434, 326, 17440, 293, 18, 225, 5675, 8900, 11386, 2866, 225, 2...
self.selected = default children = self.menu.children() for child in range(len(children)): if children[child].get_data("Gimp-ID") == default: self.set_history(child) break
if default == None: self.selected = self.menu.children()[0].get_data("Gimp-ID") self.set_history (0) else: self.selected = default children = self.menu.children() for child in range(len(children)): if children[child].get_data("Gimp-ID") == default: self.set_history(child) break
def __init__(self, default=None): gtk.OptionMenu.__init__(self) self.menu = ImageMenu(None, self.clicked) self.set_menu(self.menu) self.selected = default children = self.menu.children() for child in range(len(children)): if children[child].get_data("Gimp-ID") == default: self.set_history(child) break
ed0ff9f51947e99429f4ee8e045e0cf67f3109ff /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11058/ed0ff9f51947e99429f4ee8e045e0cf67f3109ff/gimpui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 805, 33, 7036, 4672, 22718, 18, 1895, 4599, 16186, 2738, 972, 12, 2890, 13, 365, 18, 5414, 273, 3421, 4599, 12, 7036, 16, 365, 18, 7475, 329, 13, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 805, 33, 7036, 4672, 22718, 18, 1895, 4599, 16186, 2738, 972, 12, 2890, 13, 365, 18, 5414, 273, 3421, 4599, 12, 7036, 16, 365, 18, 7475, 329, 13, 365, ...
if isinstance(value, tuple):
else:
def __init__(self, value=None): if value is None: self.sign = None self.int = 0 self.exp = None if isinstance(value, Decimal): if value._sign: self.sign = -1 else: self.sign = 1 cum = 0 for digit in value._int: cum = cum * 10 + digit self.int = cum self.exp = value._exp if isinstance(value, tuple): self.sign = value[0]...
b7ed2df9f8b3eaa226b68d6c2ebfcb1ddb522d57 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b7ed2df9f8b3eaa226b68d6c2ebfcb1ddb522d57/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 460, 33, 7036, 4672, 309, 460, 353, 599, 30, 365, 18, 2977, 273, 599, 365, 18, 474, 273, 374, 365, 18, 2749, 273, 599, 309, 1549, 12, 1132, 16, 11322, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 460, 33, 7036, 4672, 309, 460, 353, 599, 30, 365, 18, 2977, 273, 599, 365, 18, 474, 273, 374, 365, 18, 2749, 273, 599, 309, 1549, 12, 1132, 16, 11322, ...
def run_script(self, script, args=None):
def test_issue_8(self): """Test that the module works with 'python -m'.""" module = 'spt_issue_8' pypath = os.environ.get('PYTHONPATH', None) dir = tempfile.mkdtemp() os.environ['PYTHONPATH'] = dir + os.pathsep + (pypath or '') try: open(dir + '/' + module + '.py', 'w').write( self._clean_whitespaces(r""" import setpro...
def run_script(self, script, args=None): """run a script in a separate process.
f37b68a239d4e9e0cbaa53e8d2c107c08a8f2f67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11588/f37b68a239d4e9e0cbaa53e8d2c107c08a8f2f67/setproctitle_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13882, 67, 28, 12, 2890, 4672, 3536, 4709, 716, 326, 1605, 6330, 598, 296, 8103, 300, 81, 11, 12123, 1605, 273, 296, 87, 337, 67, 13882, 67, 28, 11, 2395, 803, 273, 1140, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13882, 67, 28, 12, 2890, 4672, 3536, 4709, 716, 326, 1605, 6330, 598, 296, 8103, 300, 81, 11, 12123, 1605, 273, 296, 87, 337, 67, 13882, 67, 28, 11, 2395, 803, 273, 1140, 1...
imageF_anat_fwhm = build_fwhm(mat_anat, step)
imageF_anat_fwhm = build_fwhm(anat_mat, step)
def demo_MRI_coregistration(anatfile, funclist, optimizer_method='powell', histo_method=1, smooth_histo=0, smooth_image=0, ftype=1): """ demo with (must have file ANAT1_V0001.img and fMRI directory fMRIData) measures, imageF_anat, fmri_series = reg.demo_MRI_coregistration() show results with In [59]: measures[25]['c...
8ba3c3ee13ac48ee356ec8319930a6b0510f110b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/8ba3c3ee13ac48ee356ec8319930a6b0510f110b/_registration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21477, 67, 49, 2259, 67, 3644, 75, 4218, 12, 304, 270, 768, 16, 1326, 1098, 16, 13066, 67, 2039, 2218, 23509, 1165, 2187, 5356, 83, 67, 2039, 33, 21, 16, 11957, 67, 11488, 83, 33, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21477, 67, 49, 2259, 67, 3644, 75, 4218, 12, 304, 270, 768, 16, 1326, 1098, 16, 13066, 67, 2039, 2218, 23509, 1165, 2187, 5356, 83, 67, 2039, 33, 21, 16, 11957, 67, 11488, 83, 33, 20...
date = time.mktime(date) - tzoffset
date = time.mktime(date)
def _set_date(self, message): if message.has_key('Date'): self.datestr = str(message['Date']) date = parsedate_tz(message['Date']) else: self.datestr = '' date = None if date is not None: date, tzoffset = date[:9], date[-1] or 0 try: date = time.mktime(date) - tzoffset except (ValueError, OverflowError): date = self._l...
dc7419ac4b677865de9e1355400d0946df139154 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/dc7419ac4b677865de9e1355400d0946df139154/pipermail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 67, 712, 12, 2890, 16, 883, 4672, 309, 883, 18, 5332, 67, 856, 2668, 1626, 11, 4672, 365, 18, 9683, 313, 273, 609, 12, 2150, 3292, 1626, 19486, 1509, 273, 1109, 712, 67, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 67, 712, 12, 2890, 16, 883, 4672, 309, 883, 18, 5332, 67, 856, 2668, 1626, 11, 4672, 365, 18, 9683, 313, 273, 609, 12, 2150, 3292, 1626, 19486, 1509, 273, 1109, 712, 67, 12...
print '\t< %s' % line[:-2]
print '\t< %s' % line
def _get_line(self):
568f22046d54f57ebb15b35bb4692bb3d957b838 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/568f22046d54f57ebb15b35bb4692bb3d957b838/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1369, 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,...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1369, 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,...
format = ('%%%is: %%-%is | ' % (width[1], width[1]),
format = ('%%%is: %%-%is | ' % (width[0], width[1]),
def format_props(self): tkt = self.ticket fields = [f for f in tkt.fields if f['type'] != 'textarea' and f['name'] != 'summary'] t = self.modtime or tkt.time_changed width = [0, 0, 0, 0] for i, f in enum([f['name'] for f in fields]): if not f in tkt.values.keys(): continue fval = tkt[f] if fval.find('\n') > -1: continu...
9bb4cb5932e143037f51c68f14b7b8e45bffcc7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/9bb4cb5932e143037f51c68f14b7b8e45bffcc7a/Notify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
document.warning("Malformed lyx document: Can't find subcaptionText!") i = endInset continue caption = document.body[l][16:].strip('"') del document.body[l]
caption = "" else: caption = document.body[l][16:].strip('"') del document.body[l] addedLines -= 1
def convert_subfig(document): " Convert subfigures to subfloats. " i = 0 while 1: i = find_token(document.body, '\\begin_inset Graphics', i) if i == -1: return endInset = find_end_of_inset(document.body, i) if endInset == -1: document.warning("Malformed lyx document: Missing '\\end_inset' in convert_subfig.") i += 1 co...
e171ec6929a00660898deb9ef69e921dc987026b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7514/e171ec6929a00660898deb9ef69e921dc987026b/lyx_1_6.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 1717, 470, 12, 5457, 4672, 315, 4037, 720, 470, 1823, 358, 720, 5659, 87, 18, 315, 277, 273, 374, 1323, 404, 30, 277, 273, 1104, 67, 2316, 12, 5457, 18, 3432, 16, 3718, 100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 1717, 470, 12, 5457, 4672, 315, 4037, 720, 470, 1823, 358, 720, 5659, 87, 18, 315, 277, 273, 374, 1323, 404, 30, 277, 273, 1104, 67, 2316, 12, 5457, 18, 3432, 16, 3718, 100...
if words[0][0] == '
if words[0].startswith('
def _url_bracket_repl(self, word): """Handle bracketed URLs.""" word = word[1:-1] # strip brackets # Local extended link? [:page name:link text] XXX DEPRECATED if word[0] == ':': words = word[1:].split(':', 1) if len(words) == 1: words = words * 2 target_and_text = 'wiki:Self:"%s" %s' % tuple(words) return self.interw...
38b2c33a807a471d736e03c16f4f6f1c36cc5636 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/38b2c33a807a471d736e03c16f4f6f1c36cc5636/text_moin_wiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 718, 67, 21025, 67, 26745, 12, 2890, 16, 2076, 4672, 3536, 3259, 9843, 329, 10414, 12123, 2076, 273, 2076, 63, 21, 30, 17, 21, 65, 468, 2569, 15597, 225, 468, 3566, 7021, 1692, 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, 389, 718, 67, 21025, 67, 26745, 12, 2890, 16, 2076, 4672, 3536, 3259, 9843, 329, 10414, 12123, 2076, 273, 2076, 63, 21, 30, 17, 21, 65, 468, 2569, 15597, 225, 468, 3566, 7021, 1692, 35...
class Error(Exception): """Wikipedia error""" class NoPage(Error): """Wikipedia page does not exist""" class IsRedirectPage(Error): """Wikipedia page is a redirect page""" class IsNotRedirectPage(Error): """Wikipedia page is not a redirect page""" class LockedPage(Error): """Wikipedia page is locked""" class NoS...
def altlang(code): if code in ['fa','ku']: return ['ar'] if code=='sk': return ['cs'] if code=='nds': return ['de','nl'] if code in ['ca','gn','nah']: return ['es'] if code=='eu': return ['es','fr'] if code=='gl': return ['es','pt'] if code in ['br','oc','th','vi','wa']: return ['fr'] if code=='als': return ['fr','de']...
21ca3000e6246da761b51efabc2992c3e4ad578a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/21ca3000e6246da761b51efabc2992c3e4ad578a/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3770, 4936, 12, 710, 4672, 309, 981, 316, 10228, 507, 17023, 31562, 3546, 30, 327, 10228, 297, 3546, 309, 981, 18920, 7771, 4278, 327, 10228, 2143, 3546, 309, 981, 18920, 82, 2377, 4278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3770, 4936, 12, 710, 4672, 309, 981, 316, 10228, 507, 17023, 31562, 3546, 30, 327, 10228, 297, 3546, 309, 981, 18920, 7771, 4278, 327, 10228, 2143, 3546, 309, 981, 18920, 82, 2377, 4278, ...
def install(self): sys.path.insert(0, self)
def install(self): sys.path.insert(0, self)
2de07507437c9c4f18a0ba8d79f54df846aa9524 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2de07507437c9c4f18a0ba8d79f54df846aa9524/imputil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 12, 2890, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 365, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3799, 12, 2890, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 365, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
+"empty can data. The units of the parameters should "\ +"be microseconds and there should be as many values "\ +"as datasets.")
+"for empty can data. The units of the parameters "\ +"should be microseconds and there should be as many "\ +"values as datasets.")
def __init__(self, usage=None, option_list=None, options_class=None, version=None, conflict_handler='error', description=None, **kwargs): """ Constructor for C{DgsOptions}
d467b953a0853f22af0c6d60c3e0dcc605af15c1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/763/d467b953a0853f22af0c6d60c3e0dcc605af15c1/hlr_dgs_options.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4084, 33, 7036, 16, 1456, 67, 1098, 33, 7036, 16, 702, 67, 1106, 33, 7036, 16, 1177, 33, 7036, 16, 7546, 67, 4176, 2218, 1636, 2187, 2477, 33, 7036, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4084, 33, 7036, 16, 1456, 67, 1098, 33, 7036, 16, 702, 67, 1106, 33, 7036, 16, 1177, 33, 7036, 16, 7546, 67, 4176, 2218, 1636, 2187, 2477, 33, 7036, 16...
if not self.data[section]["options"][option]["input"]:
try: if not self.data[section]["options"][option]["input"]: return [] return self.data[section]["options"][option]["input"].split(";") except:
def getInputValues(self, section, option): if not self.data[section]["options"][option]["input"]: return [] return self.data[section]["options"][option]["input"].split(";")
257a9dd06ac0788ce0c149625c7711d5d0f71d97 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/257a9dd06ac0788ce0c149625c7711d5d0f71d97/XMLConfigParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12353, 1972, 12, 2890, 16, 2442, 16, 1456, 4672, 775, 30, 309, 486, 365, 18, 892, 63, 3464, 6362, 6, 2116, 6, 6362, 3482, 6362, 6, 2630, 11929, 30, 327, 5378, 327, 365, 18, 892, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12353, 1972, 12, 2890, 16, 2442, 16, 1456, 4672, 775, 30, 309, 486, 365, 18, 892, 63, 3464, 6362, 6, 2116, 6, 6362, 3482, 6362, 6, 2630, 11929, 30, 327, 5378, 327, 365, 18, 892, 63, ...
self.collisionNode.setCollideGeom(0)
def collideWithWidget(self): # This collision node should not be tested against by any other # collision solids self.collisionNode.setIntoCollideMask(BitMask32().allOff()) # This collision node will test for collisions with any collision # solids with a bit mask set to 0x80000000 mask = BitMask32() mask.setBit(31) self...
b3123b3c2d6680e9678288c9946c1e32f10a2db1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/b3123b3c2d6680e9678288c9946c1e32f10a2db1/seSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 645, 8130, 1190, 4609, 12, 2890, 4672, 468, 1220, 17740, 756, 1410, 486, 506, 18432, 5314, 635, 1281, 1308, 468, 17740, 3704, 2232, 365, 18, 12910, 1951, 907, 18, 542, 5952, 914, 8130, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 645, 8130, 1190, 4609, 12, 2890, 4672, 468, 1220, 17740, 756, 1410, 486, 506, 18432, 5314, 635, 1281, 1308, 468, 17740, 3704, 2232, 365, 18, 12910, 1951, 907, 18, 542, 5952, 914, 8130, 5...
def Notify(self,region):
def Notify(self, region):
def Notify(self,region): '''Generate change notification for region''' pass
663fd7648200f6806c0af46cf879014c1a3e3e9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/663fd7648200f6806c0af46cf879014c1a3e3e9e/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10918, 12, 2890, 16, 3020, 4672, 9163, 4625, 2549, 3851, 364, 3020, 26418, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 10918, 12, 2890, 16, 3020, 4672, 9163, 4625, 2549, 3851, 364, 3020, 26418, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
file.Write(" // TODO(gman): Make sure validate checks arg_count\n") file.Write(" // covers data_size.\n")
file.Write(" // TODO(gman): Make sure validate checks\n") file.Write(" // immediate_data_size covers data_size.\n") file.Write(" GLint* location = GetSharedMemoryAs<GLint*>(\n") file.Write( " c.location_shm_id, c.location_shm_offset, sizeof(*location));\n") file.Write(" // TODO(gman): Validate location.\n"...
def WriteImmediateServiceImplementation(self, func, file): """Overrriden from TypeHandler.""" file.Write( "parse_error::ParseError GLES2DecoderImpl::Handle%s(\n" % func.name) file.Write( " unsigned int arg_count, const gles2::%s& c) {\n" % func.name) last_arg = func.GetLastOriginalArg()
6b5cc7aeca6761c88c0f98b0e54990becbe32177 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/6b5cc7aeca6761c88c0f98b0e54990becbe32177/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1179, 13621, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 12, 315, 2670, 67, 1636, 2866, 21004, 611, 11386, 22, 7975, 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, 2598, 22651, 1179, 13621, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 12, 315, 2670, 67, 1636, 2866, 21004, 611, 11386, 22, 7975, 28...
None, [cty.c_int, cty.c_int, cty.c_int, cty.c_int, cty.c_int],
None, [cty.c_int, cty.c_int, cty.c_int, cty.c_int, cty.c_int],
def fl_hide_fselector(): """ fl_hide_fselector() """ _fl_hide_fselector()
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 11248, 67, 74, 9663, 13332, 3536, 1183, 67, 11248, 67, 74, 9663, 1435, 3536, 225, 389, 2242, 67, 11248, 67, 74, 9663, 1435, 282, 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, 1183, 67, 11248, 67, 74, 9663, 13332, 3536, 1183, 67, 11248, 67, 74, 9663, 1435, 3536, 225, 389, 2242, 67, 11248, 67, 74, 9663, 1435, 282, 2, -100, -100, -100, -100, -100, -100, -100, ...
self._make_fake_item("pcf.mpeg")
self._make_fake_item("pcf.avi")
def setUp(self): MiroTestCase.setUp(self) self.feed = Feed(u'dtv:manualFeed', initiallyAutoDownloadable=False) self.tempdir = FilenameType(tempfile.mkdtemp()) self._make_fake_item("pcf.mpeg") self._make_fake_item("dean.avi") self._make_fake_item("npr.txt") self.container_item = FileItem(self.tempdir, self.feed.id)
a2417b283be86b9f5f04384e9d4664d9483bf713 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/a2417b283be86b9f5f04384e9d4664d9483bf713/itemtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 490, 11373, 4709, 2449, 18, 542, 1211, 12, 2890, 13, 365, 18, 7848, 273, 14013, 12, 89, 14271, 24161, 30, 19840, 8141, 2187, 22458, 4965, 7109, 429, 33, 8381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 490, 11373, 4709, 2449, 18, 542, 1211, 12, 2890, 13, 365, 18, 7848, 273, 14013, 12, 89, 14271, 24161, 30, 19840, 8141, 2187, 22458, 4965, 7109, 429, 33, 8381, 13, ...
s += '=\\texttt{%s}' % default.summary_pyval_repr().to_latex(None)
s += '={\\tt %s}' % default.summary_pyval_repr().to_latex(None)
def func_arg(self, name, default): s = '\\textit{%s}' % plaintext_to_latex(self._arg_name(name)) if default is not None: s += '=\\texttt{%s}' % default.summary_pyval_repr().to_latex(None) return s
6fb49cf093665ae39b3a24201c873bf5dc8a8c4f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11420/6fb49cf093665ae39b3a24201c873bf5dc8a8c4f/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1326, 67, 3175, 12, 2890, 16, 508, 16, 805, 4672, 272, 273, 3718, 955, 305, 95, 9, 87, 1713, 738, 11917, 67, 869, 67, 26264, 12, 2890, 6315, 3175, 67, 529, 12, 529, 3719, 309, 805, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1326, 67, 3175, 12, 2890, 16, 508, 16, 805, 4672, 272, 273, 3718, 955, 305, 95, 9, 87, 1713, 738, 11917, 67, 869, 67, 26264, 12, 2890, 6315, 3175, 67, 529, 12, 529, 3719, 309, 805, ...
def setActivePrivacyList(disp,listname=None): return SetActivePrivacyList(disp,listname,'default')
def setDefaultPrivacyList(disp,listname=None): return setActivePrivacyList(disp,listname,'default')
def setActivePrivacyList(disp,listname=None): return SetActivePrivacyList(disp,listname,'default')
d8ac2e919214806eb7127ce45cb0c52382f7e679 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7194/d8ac2e919214806eb7127ce45cb0c52382f7e679/features.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9277, 15475, 3505, 682, 12, 25453, 16, 1098, 529, 33, 7036, 4672, 327, 20669, 15475, 3505, 682, 12, 25453, 16, 1098, 529, 11189, 1886, 6134, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 9277, 15475, 3505, 682, 12, 25453, 16, 1098, 529, 33, 7036, 4672, 327, 20669, 15475, 3505, 682, 12, 25453, 16, 1098, 529, 11189, 1886, 6134, 225, 2, -100, -100, -100, -100, -100, -100, -...
def randstr(length, pool = valid_xml_chars): sample = random.sample(pool, length) return u''.join(sample)
def randstr(length, pool = valid_xml_chars, encoding = "utf-8"): sample = random.sample(pool, min(length, len(pool))) while True: s = u''.join(sample) bytes = len(s.encode(encoding)) if bytes > length: sample.pop() elif bytes < length: sample += random.sample(pool, min(length - bytes, len(pool))) random.shuffle(sample)...
def randstr(length, pool = valid_xml_chars): sample = random.sample(pool, length) return u''.join(sample)
8cecf35d2c665fe2ac2e0982da46d39e3fc05b42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/8cecf35d2c665fe2ac2e0982da46d39e3fc05b42/Test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5605, 701, 12, 2469, 16, 2845, 273, 923, 67, 2902, 67, 7549, 16, 2688, 273, 315, 3158, 17, 28, 6, 4672, 3296, 273, 2744, 18, 6358, 12, 6011, 16, 1131, 12, 2469, 16, 562, 12, 6011, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5605, 701, 12, 2469, 16, 2845, 273, 923, 67, 2902, 67, 7549, 16, 2688, 273, 315, 3158, 17, 28, 6, 4672, 3296, 273, 2744, 18, 6358, 12, 6011, 16, 1131, 12, 2469, 16, 562, 12, 6011, ...
v1.apiTrapPDU.getSpecificTrap(v1Pdu)
(v1.apiTrapPDU.getSpecificTrap(v1Pdu),)
def v1ToV2(v1Pdu, origV2Pdu=None): pduType = v1Pdu.tagSet v2Pdu = __v1ToV2PduMap[pduType].clone() v2c.apiPDU.setDefaults(v2Pdu) v2VarBinds = [] # 3.1 if rfc3411.notificationClassPDUs.has_key(pduType): # 3.1.1 sysUpTime = v1.apiTrapPDU.getTimeStamp(v1Pdu) # 3.1.2 genericTrap = v1.apiTrapPDU.getGenericTrap(v1Pdu) if g...
fe783ae8abac7335363d6714b7f73ebac09bcf0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/587/fe783ae8abac7335363d6714b7f73ebac09bcf0a/rfc2576.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 331, 21, 774, 58, 22, 12, 90, 21, 52, 2544, 16, 1647, 58, 22, 52, 2544, 33, 7036, 4672, 21160, 559, 273, 331, 21, 52, 2544, 18, 2692, 694, 331, 22, 52, 2544, 273, 1001, 90, 21, 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, 331, 21, 774, 58, 22, 12, 90, 21, 52, 2544, 16, 1647, 58, 22, 52, 2544, 33, 7036, 4672, 21160, 559, 273, 331, 21, 52, 2544, 18, 2692, 694, 331, 22, 52, 2544, 273, 1001, 90, 21, 7...
self.copyVLCPluginFiles(buildBase)
self.copyVLCPluginFiles(self.bdist_base, buildBase)
def buildXulrunnerInstallation(self):
5a05510d177509c044b084c55b5a0cdf98cac9dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/5a05510d177509c044b084c55b5a0cdf98cac9dc/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 60, 332, 18156, 21790, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 60, 332, 18156, 21790, 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, -1...
FIXME: should return string or unicode?
def escape(s, quote=0): """ Escape possible html tags Replace special characters '&', '<' and '>' by SGML entities. (taken from cgi.escape so we don't have to include that, even if we don't use cgi at all) FIXME: should return string or unicode? @param s: (unicode) string to escape @param quote: bool, should transfo...
21b6589c5c8e4d96e4743f8318476c1670f80a4e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/21b6589c5c8e4d96e4743f8318476c1670f80a4e/wikiutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4114, 12, 87, 16, 3862, 33, 20, 4672, 3536, 18025, 3323, 1729, 2342, 225, 6910, 4582, 3949, 5183, 2187, 9138, 471, 7481, 635, 348, 43, 1495, 5140, 18, 261, 29113, 628, 276, 10052, 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, 4114, 12, 87, 16, 3862, 33, 20, 4672, 3536, 18025, 3323, 1729, 2342, 225, 6910, 4582, 3949, 5183, 2187, 9138, 471, 7481, 635, 348, 43, 1495, 5140, 18, 261, 29113, 628, 276, 10052, 18, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 198) else quickfix.StringField.__init__(self, 198, 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, 5342, 28, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 5342, 28, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 97...
"""
"""
def fl_setpup_itemcb(nm, ni, py_cb): """ fl_setpup_itemcb(nm, ni, py_cb) -> pup_cb """ c_cb = FL_PUP_CB(py_cb) _cfunc_refs[get_rand_dictkey()] = c_cb retval = _fl_setpup_itemcb(nm, ni, c_cb) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 4672, 3536, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 13, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 4672, 3536, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 13, 31...
else: div = array(div).ravel()
def divide(self,div): """Divide a plex-2 Formex at the values in div.
78dfb861a7377632c52ff3d4ac21a8bafe223d5b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2499/78dfb861a7377632c52ff3d4ac21a8bafe223d5b/formex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12326, 12, 2890, 16, 2892, 4672, 3536, 7244, 831, 279, 293, 4149, 17, 22, 2748, 338, 622, 326, 924, 316, 3739, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12326, 12, 2890, 16, 2892, 4672, 3536, 7244, 831, 279, 293, 4149, 17, 22, 2748, 338, 622, 326, 924, 316, 3739, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.widthentry.set_state("disabled") self.heightentry.set_state("disabled")
self.widthentry.set_state(DISABLED) self.heightentry.set_state(DISABLED)
def set_entry_sensitivity(self): formatname = self.var_format_name.get() if formatname != USER_SPECIFIC: self.widthentry.set_state("disabled") self.heightentry.set_state("disabled") else: self.widthentry.set_state("enabled") self.heightentry.set_state("enabled")
12ea705b7dda6fed702963677016d0203d5d0ad5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3123/12ea705b7dda6fed702963677016d0203d5d0ad5/page_panel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 4099, 67, 87, 773, 20862, 12, 2890, 4672, 740, 529, 273, 365, 18, 1401, 67, 2139, 67, 529, 18, 588, 1435, 309, 740, 529, 480, 7443, 67, 13847, 22183, 30, 365, 18, 2819, 4099...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 4099, 67, 87, 773, 20862, 12, 2890, 4672, 740, 529, 273, 365, 18, 1401, 67, 2139, 67, 529, 18, 588, 1435, 309, 740, 529, 480, 7443, 67, 13847, 22183, 30, 365, 18, 2819, 4099...
data = NotificationData(message_id=chunk.message_id, message=chunk, code=chunk.status.code, reason=chunk.status.reason)
data = NotificationData(message_id=chunk.message_id, message=chunk, code=chunk.status.code, reason=chunk.status.comment)
def _on_incoming(self, chunk=None, error=None): if error is not None: if isinstance(error.value, ConnectionDone): self.notification_center.post_notification('MSRPChatDidEnd', self) else: self.notification_center.post_notification('MSRPChatDidFail', self, NotificationData(context='reading', failure=error)) if chunk.meth...
370c1b4f87d36d4f80c280b86e7413ce6d6513c9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/370c1b4f87d36d4f80c280b86e7413ce6d6513c9/msrp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 265, 67, 31033, 12, 2890, 16, 2441, 33, 7036, 16, 555, 33, 7036, 4672, 309, 555, 353, 486, 599, 30, 309, 1549, 12, 1636, 18, 1132, 16, 4050, 7387, 4672, 365, 18, 9927, 67, 5693,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 265, 67, 31033, 12, 2890, 16, 2441, 33, 7036, 16, 555, 33, 7036, 4672, 309, 555, 353, 486, 599, 30, 309, 1549, 12, 1636, 18, 1132, 16, 4050, 7387, 4672, 365, 18, 9927, 67, 5693,...
sage: Q < P True sage: Q > P False
sage: p1, p2 = Posets(2).list() sage: p2 == p1, p1 != p2 (False, True) sage: [[p1.__eq__(p2) for p1 in Posets(2)] for p2 in Posets(2)] [[True, False], [False, True]] sage: [[p2.__eq__(p1) for p1 in Posets(2)] for p2 in Posets(2)] [[True, False], [False, True]] sage: [[p2 == p1 for p1 in Posets(3)] for p2 in Posets(3)] ...
def __cmp__(self, other): r""" Define comparison for finite posets.
005c9d76ebe95b1355f114a9f30279a423f95b63 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/005c9d76ebe95b1355f114a9f30279a423f95b63/posets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 13184, 5826, 364, 25922, 949, 2413, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 13184, 5826, 364, 25922, 949, 2413, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
cycles[entry.cycle].add_function(function)
try: cycle = cycles[entry.cycle] except KeyError: sys.stderr.write('warning: <cycle %u as a whole> entry missing\n' % entry.cycle) cycle = Cycle() cycles[entry.cycle] = cycle cycle.add_function(function)
def parse(self): self.parse_cg() self.fp.close()
948e5ead56ae22fb4ca4883bb53fe3b19dd54fc5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8271/948e5ead56ae22fb4ca4883bb53fe3b19dd54fc5/gprof2dot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 365, 18, 2670, 67, 26275, 1435, 365, 18, 7944, 18, 4412, 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, ...
[ 1, 1, 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, 1109, 12, 2890, 4672, 365, 18, 2670, 67, 26275, 1435, 365, 18, 7944, 18, 4412, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self._sock.connect(server)
self._sock.connect((server[0], int(server[1])))
def connect(self,server=None): """ Try to connect. Returns non-empty string on success. """ try: if not server: server=self._server self._sock=socket.socket(socket.AF_INET, socket.SOCK_STREAM) self._sock.connect(server) self._send=self._sock.sendall self._recv=self._sock.recv self.DEBUG("Successfully connected to remot...
81cfae86cebc4e16e235b5987e021c740efe1c3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7194/81cfae86cebc4e16e235b5987e021c740efe1c3b/transports.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 16, 3567, 33, 7036, 4672, 3536, 6161, 358, 3077, 18, 2860, 1661, 17, 5531, 533, 603, 2216, 18, 3536, 775, 30, 309, 486, 1438, 30, 1438, 33, 2890, 6315, 3567, 365, 6315,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 16, 3567, 33, 7036, 4672, 3536, 6161, 358, 3077, 18, 2860, 1661, 17, 5531, 533, 603, 2216, 18, 3536, 775, 30, 309, 486, 1438, 30, 1438, 33, 2890, 6315, 3567, 365, 6315,...
str(e), QtGuiQMessageBox.Ok, self)
str(e), QtGui.QMessageBox.Ok, self)
def enable_current_package(self): av = self._available_packages_list inst = self._enabled_packages_list item = av.currentItem() pos = av.indexFromItem(item).row() codepath = str(item.text()) pm = get_package_manager()
e7a563305ef544be68f8fab40de69c9937b781ec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6341/e7a563305ef544be68f8fab40de69c9937b781ec/preferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4237, 67, 2972, 67, 5610, 12, 2890, 4672, 1712, 273, 365, 6315, 5699, 67, 10308, 67, 1098, 1804, 273, 365, 6315, 5745, 67, 10308, 67, 1098, 761, 273, 1712, 18, 2972, 1180, 1435, 949, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4237, 67, 2972, 67, 5610, 12, 2890, 4672, 1712, 273, 365, 6315, 5699, 67, 10308, 67, 1098, 1804, 273, 365, 6315, 5745, 67, 10308, 67, 1098, 761, 273, 1712, 18, 2972, 1180, 1435, 949, 2...
m = _load_example_standard_model('vdp', 'VDP_pack_VDP_Opt')
m = _load_example_standard_model('VDP_pack_VDP_Opt')
def main(): m = _load_example_standard_model('vdp', 'VDP_pack_VDP_Opt') # Whether the cost as a function of input U should be plotted GEN_PLOT = False if GEN_PLOT: cost_graph(m) else: SHOOTING_METHOD = 'multiple' if SHOOTING_METHOD=='single': opt_u = single_shooting(m) print "Optimal u:", opt_u elif SHOOTING_METHOD =...
b50b5a0d061f9da771e0a0c30212562fc234a8cc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7711/b50b5a0d061f9da771e0a0c30212562fc234a8cc/shooting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 312, 273, 389, 945, 67, 8236, 67, 10005, 67, 2284, 2668, 58, 8640, 67, 2920, 67, 58, 8640, 67, 6179, 6134, 225, 468, 17403, 326, 6991, 487, 279, 445, 434, 810, 587, 1410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 273, 389, 945, 67, 8236, 67, 10005, 67, 2284, 2668, 58, 8640, 67, 2920, 67, 58, 8640, 67, 6179, 6134, 225, 468, 17403, 326, 6991, 487, 279, 445, 434, 810, 587, 1410, ...
if vendor.find("Authentic AMD") != -1:
if vendor.find("Authentic AMD") != -1 or vendor.find("AuthenticAMD") != -1:
def getCanonX86_64Arch(arch): if arch != "x86_64": return arch vendor = None f = open("/proc/cpuinfo", "r") lines = f.readlines() f.close() for line in lines: if line.startswith("vendor_id"): vendor = line.split(':')[1] break if vendor is None: return arch if vendor.find("Authentic AMD") != -1: return "amd64" if vend...
77f7d7522eb4932db5cbf47f9830cfeb557d3c01 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5445/77f7d7522eb4932db5cbf47f9830cfeb557d3c01/arch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12006, 265, 60, 5292, 67, 1105, 12269, 12, 991, 4672, 309, 6637, 480, 315, 92, 5292, 67, 1105, 6877, 327, 6637, 225, 8556, 273, 599, 284, 273, 1696, 2932, 19, 9381, 19, 11447, 1376, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12006, 265, 60, 5292, 67, 1105, 12269, 12, 991, 4672, 309, 6637, 480, 315, 92, 5292, 67, 1105, 6877, 327, 6637, 225, 8556, 273, 599, 284, 273, 1696, 2932, 19, 9381, 19, 11447, 1376, 31...
format must be a suiteable R engine, use png!
format must be a suitable R engine, use png!
def save(self, filename=None, device = 'png', verbose=0, block=True, extra_opts=''): """ save R plot
ea65c0348826ad23788362228d4628b48c1f37f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/ea65c0348826ad23788362228d4628b48c1f37f5/r.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 1544, 33, 7036, 16, 2346, 273, 296, 6446, 2187, 3988, 33, 20, 16, 1203, 33, 5510, 16, 2870, 67, 4952, 2218, 11, 4672, 3536, 1923, 534, 3207, 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, 1923, 12, 2890, 16, 1544, 33, 7036, 16, 2346, 273, 296, 6446, 2187, 3988, 33, 20, 16, 1203, 33, 5510, 16, 2870, 67, 4952, 2218, 11, 4672, 3536, 1923, 534, 3207, 2, -100, -100, -100, ...
os.write(pipe[1], patch)
fcntl.fcntl(pipe[1], fcntl.F_SETFD, 1) p2 = subprocess.Popen(patchArgs, stdin=pipe[0], stderr=devnull, shell=False) os.close(pipe[0]) offset=0 while len(patch[offset:]): offset += os.write(pipe[1], patch[offset:])
def patchme(self, patch, f, destDir, patchlevels): devnull = open('/dev/null', 'w') for patchlevel in patchlevels: patchArgs = [ 'nohup', 'patch', '-d', destDir, '-p%s'%patchlevel, ] if self.backup: patchArgs.extend(['-b', '-z', self.backup]) if self.extraArgs: patchArgs.extend(self.extraArgs)
702d998ceeaf6aba5c764d1e72e035ea234633b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/702d998ceeaf6aba5c764d1e72e035ea234633b2/source.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 3501, 12, 2890, 16, 4729, 16, 284, 16, 26231, 16, 4729, 12095, 4672, 4461, 2011, 273, 1696, 2668, 19, 5206, 19, 2011, 2187, 296, 91, 6134, 364, 4729, 2815, 316, 4729, 12095, 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, 4729, 3501, 12, 2890, 16, 4729, 16, 284, 16, 26231, 16, 4729, 12095, 4672, 4461, 2011, 273, 1696, 2668, 19, 5206, 19, 2011, 2187, 296, 91, 6134, 364, 4729, 2815, 316, 4729, 12095, 30, ...
"keyrelease"
"keydown", "keyup", "text"
def loop(self): try: rawline = raw_input(self.prompt) return rawline except EOFError: return ""
1ae4eef03cf9254ebd7268f4360910f8c75cd049 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2811/1ae4eef03cf9254ebd7268f4360910f8c75cd049/hatari-console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2798, 12, 2890, 4672, 775, 30, 1831, 1369, 273, 1831, 67, 2630, 12, 2890, 18, 13325, 13, 327, 1831, 1369, 1335, 6431, 668, 30, 327, 1408, 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, 2798, 12, 2890, 4672, 775, 30, 1831, 1369, 273, 1831, 67, 2630, 12, 2890, 18, 13325, 13, 327, 1831, 1369, 1335, 6431, 668, 30, 327, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -...
data = '''\
data = b'''\
def test_specified_attributes(self): for x, y in self.set_get_pairs: self.parser.specified_attributes = x self.assertEquals(self.parser.specified_attributes, y)
4134c8fe1945cab0f4efd2f6077f86364b0e0b0a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/4134c8fe1945cab0f4efd2f6077f86364b0e0b0a/test_pyexpat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13827, 67, 4350, 12, 2890, 4672, 364, 619, 16, 677, 316, 365, 18, 542, 67, 588, 67, 11545, 30, 365, 18, 4288, 18, 13827, 67, 4350, 273, 619, 365, 18, 11231, 8867, 12, 2890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 67, 13827, 67, 4350, 12, 2890, 4672, 364, 619, 16, 677, 316, 365, 18, 542, 67, 588, 67, 11545, 30, 365, 18, 4288, 18, 13827, 67, 4350, 273, 619, 365, 18, 11231, 8867, 12, 2890,...
self.wfile.write('OK convert %s' % path)
except: self.wfile.write('ERR 550 internal pyuno error \n') if ret_val != 0: self.wfile.write('ERR 550 conversion not finished: %s' % ( ret_val,)) else: self.wfile.write('OK 200 %s' % (dest_path,))
def handle(self): """The protocol:
a4efc31f4118b7019dddfa683d9a0eae052a74ca /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9162/a4efc31f4118b7019dddfa683d9a0eae052a74ca/pyunoserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 4672, 3536, 1986, 1771, 30, 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, 1640, 12, 2890, 4672, 3536, 1986, 1771, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if gold_beg == 1: gold_coins = GOLD_COIN elif gold_beg < 6: gold_coins = GOLD_COIN1 else: gold_coins = GOLD_COIN2
def response( char, args, target ): if not char: return # you can only try to npc if not target.char or not target.char.npc: return npc = target.char # check if this npc is a 'human' ? # You are too far away... if not char.canreach( npc.pos, BEGGING_RANGE ): # male npc if not npc.gender: char.socket.clilocmessage( 5...
ba60fceb6886ed4d1742af0ab67848d17698746d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/ba60fceb6886ed4d1742af0ab67848d17698746d/begging.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 12, 1149, 16, 833, 16, 1018, 262, 30, 309, 486, 1149, 30, 327, 225, 468, 1846, 848, 1338, 775, 358, 1130, 71, 309, 486, 1018, 18, 3001, 578, 486, 1018, 18, 3001, 18, 82, 2436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 12, 1149, 16, 833, 16, 1018, 262, 30, 309, 486, 1149, 30, 327, 225, 468, 1846, 848, 1338, 775, 358, 1130, 71, 309, 486, 1018, 18, 3001, 578, 486, 1018, 18, 3001, 18, 82, 2436, ...
"frameset":"inFrameset"
"frameset":"inFrameset", "html":"beforeHead"
def resetInsertionMode(self): # The name of this method is mostly historical. (It's also used in the # specification.) last = False newModes = { "select":"inSelect", "td":"inCell", "th":"inCell", "tr":"inRow", "tbody":"inTableBody", "thead":"inTableBody", "tfoot":"inTableBody", "caption":"inCaption", "colgroup":"inColu...
77eceaa2cacdd5e675e33c63937306de2cc9b3b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10463/77eceaa2cacdd5e675e33c63937306de2cc9b3b3/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 29739, 2309, 12, 2890, 4672, 468, 1021, 508, 434, 333, 707, 353, 23958, 23922, 18, 261, 7193, 1807, 2546, 1399, 316, 326, 468, 7490, 12998, 1142, 273, 1083, 394, 18868, 273, 288, 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, 2715, 29739, 2309, 12, 2890, 4672, 468, 1021, 508, 434, 333, 707, 353, 23958, 23922, 18, 261, 7193, 1807, 2546, 1399, 316, 326, 468, 7490, 12998, 1142, 273, 1083, 394, 18868, 273, 288, 3...
return self.user.get_absolute_url()
return "/profile/users/%s/" % self.user
def get_absolute_url(self): return self.user.get_absolute_url()
7edefec0672c00843557626c7f8e45d854e45cf2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12976/7edefec0672c00843557626c7f8e45d854e45cf2/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 12547, 67, 718, 12, 2890, 4672, 327, 365, 18, 1355, 18, 588, 67, 12547, 67, 718, 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, ...
[ 1, 1, 1, 1, 1, 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, 336, 67, 12547, 67, 718, 12, 2890, 4672, 327, 365, 18, 1355, 18, 588, 67, 12547, 67, 718, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if dist.project_name == 'openmdao.main': version = dist.version
def after_install(options, home_dir): global logger reqs = %(reqs)s cmds = %(cmds)s url = 'http://openmdao.org/dists' found = [c for c in cmds if url in c] if not found: cmds.extend(['-f',url]) etc = join(home_dir, 'etc') ## TODO: this should all come from distutils ## like distutils.sysconfig.get_python_inc() if sys.p...
77fa5b73347fe1308474a849071f1353a3b6f03d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12610/77fa5b73347fe1308474a849071f1353a3b6f03d/mkinstaller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 5425, 12, 2116, 16, 6382, 67, 1214, 4672, 2552, 1194, 20927, 273, 8975, 25782, 13, 87, 13446, 273, 8975, 24680, 13, 87, 880, 273, 296, 2505, 2207, 3190, 1264, 6033, 18, 3341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 5425, 12, 2116, 16, 6382, 67, 1214, 4672, 2552, 1194, 20927, 273, 8975, 25782, 13, 87, 13446, 273, 8975, 24680, 13, 87, 880, 273, 296, 2505, 2207, 3190, 1264, 6033, 18, 3341, ...
self.root_name, self.files = read_new_catalogue(0x800)
self.root_name, self.files = self.read_new_catalogue(0x800)
def __init__(self, adf): # Check the properties using the length of the file adf.seek(0,2) length = adf.tell() adf.seek(0,0) if length == 163840: self.ntracks = 40 self.nsectors = 16 self.sector_size = 256 interleave = 0 self.disc_type = 'adf' #if string.lower(adf_file[-4:])==(suffix+"adf"): elif length == 327680: s...
25f0ef7dc7411ab5a651cc7127ed79f5bcd54fc3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3059/25f0ef7dc7411ab5a651cc7127ed79f5bcd54fc3/ADF2INF.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1261, 74, 4672, 225, 468, 2073, 326, 1790, 1450, 326, 769, 434, 326, 585, 1261, 74, 18, 16508, 12, 20, 16, 22, 13, 769, 273, 1261, 74, 18, 88, 1165, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1261, 74, 4672, 225, 468, 2073, 326, 1790, 1450, 326, 769, 434, 326, 585, 1261, 74, 18, 16508, 12, 20, 16, 22, 13, 769, 273, 1261, 74, 18, 88, 1165, ...
frameCustom=Frame(frame,borderwidth=2,relief=GROOVE) frameKeySets=Frame(frame,borderwidth=2,relief=GROOVE)
frameCustom=LabelFrame(frame,borderwidth=2,relief=GROOVE, text=' Custom Key Bindings ') frameKeySets=LabelFrame(frame,borderwidth=2,relief=GROOVE, text=' Key Set ')
def CreatePageKeys(self): #tkVars self.bindingTarget=StringVar(self) self.builtinKeys=StringVar(self) self.customKeys=StringVar(self) self.keysAreBuiltin=BooleanVar(self) self.keyBinding=StringVar(self) ##widget creation #body frame frame=self.tabPages.pages['Keys']['page'] #body section frames frameCustom=Frame(frame,...
55017c8d2483230b370f09b40eaa33e91cc2555a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/55017c8d2483230b370f09b40eaa33e91cc2555a/configDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1964, 2396, 12, 2890, 4672, 468, 16099, 5555, 365, 18, 7374, 2326, 33, 780, 1537, 12, 2890, 13, 365, 18, 24553, 2396, 33, 780, 1537, 12, 2890, 13, 365, 18, 3662, 2396, 33, 780, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1964, 2396, 12, 2890, 4672, 468, 16099, 5555, 365, 18, 7374, 2326, 33, 780, 1537, 12, 2890, 13, 365, 18, 24553, 2396, 33, 780, 1537, 12, 2890, 13, 365, 18, 3662, 2396, 33, 780, ...
def __init__(self, text, fileclass=StringIO.StringIO):
def __init__(self, text, fileclass=io.BytesIO): if isinstance(text, str): text = bytes(text)
def __init__(self, text, fileclass=StringIO.StringIO): self.text = text self.fileclass = fileclass self.data = b''
8fff7924a4217dc73de2042168a0eda7243e26d7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/8fff7924a4217dc73de2042168a0eda7243e26d7/test_httplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 977, 16, 585, 1106, 33, 1594, 18, 2160, 4294, 4672, 309, 1549, 12, 955, 16, 609, 4672, 977, 273, 1731, 12, 955, 13, 365, 18, 955, 273, 977, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 977, 16, 585, 1106, 33, 1594, 18, 2160, 4294, 4672, 309, 1549, 12, 955, 16, 609, 4672, 977, 273, 1731, 12, 955, 13, 365, 18, 955, 273, 977, 365, 18, ...
self._dormant.append(cnx)
if cnx.poolable: self._dormant.append(cnx) else: self._cursize -= 1
def _return_cnx(self, cnx): self._available.acquire() try: tid = threading._get_ident() if tid in self._active: num, cnx_ = self._active.get(tid) assert cnx is cnx_ if num > 1: self._active[tid][0] = num - 1 else: del self._active[tid] if cnx not in self._dormant: cnx.rollback() self._dormant.append(cnx) self._availabl...
1607c27eb386200cbab77ab76d92632834ac41e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/1607c27eb386200cbab77ab76d92632834ac41e9/db.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2463, 67, 10305, 92, 12, 2890, 16, 29492, 4672, 365, 6315, 5699, 18, 1077, 1039, 1435, 775, 30, 11594, 273, 17254, 6315, 588, 67, 6392, 1435, 309, 11594, 316, 365, 6315, 3535, 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, 389, 2463, 67, 10305, 92, 12, 2890, 16, 29492, 4672, 365, 6315, 5699, 18, 1077, 1039, 1435, 775, 30, 11594, 273, 17254, 6315, 588, 67, 6392, 1435, 309, 11594, 316, 365, 6315, 3535, 30, ...
def _amount_all(self, cr, uid, ids, field_name, arg, context):
def _amount_all(self, cr, uid, ids, field_name, arg, context=None):
def _amount_all(self, cr, uid, ids, field_name, arg, context): res = {} cur_obj=self.pool.get('res.currency') for order in self.browse(cr, uid, ids): res[order.id] = { 'amount_untaxed': 0.0, 'amount_tax': 0.0, 'amount_total': 0.0, } val = val1 = 0.0 cur=order.pricelist_id.currency_id for line in order.order_line: for c...
18d91e942da0a835a4d6b528115c091175aaaaaa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/18d91e942da0a835a4d6b528115c091175aaaaaa/purchase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 454, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 16, 1501, 16, 819, 33, 7036, 4672, 400, 273, 2618, 662, 67, 2603, 33, 2890, 18, 6011, 18, 588, 2668, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 454, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 16, 1501, 16, 819, 33, 7036, 4672, 400, 273, 2618, 662, 67, 2603, 33, 2890, 18, 6011, 18, 588, 2668, 4...
isolist=[]
mkisofs = ['/usr/bin/mkisofs'] mkisofs.extend(['-v', '-U', '-J', '-R', '-T']) x86bootargs = ['-b', 'isolinux/isolinux.bin', '-c', 'isolinux/boot.cat', '-no-emul-boot', '-boot-load-size', '4', '-boot-info-table'] ia64bootargs = ['-b', 'images/boot.img', '-no-emul-boot'] ppcbootargs = ['-part', '-hfs', '-r', '-l', '...
def doCreateIsos(self): """Create isos from the various split directories."""
4e8d70bf9fa3bbca0112014aab29f696ee748b84 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8489/4e8d70bf9fa3bbca0112014aab29f696ee748b84/pungi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 1684, 2520, 538, 12, 2890, 4672, 3536, 1684, 353, 538, 628, 326, 11191, 1416, 6402, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 1684, 2520, 538, 12, 2890, 4672, 3536, 1684, 353, 538, 628, 326, 11191, 1416, 6402, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
idx = self.curCaInfo.get(self.idxAttr, None) if idx: self.caInfo[idx] = self.curCaInfo
if isinstance(self.idxAttr, types.TupleType): full_idx = () for idx in self.idxAttr: idx = self.curCaInfo.get(idx, None) if idx: full_idx += (idx,) if len(full_idx) == len(self.idxAttr): self.caInfo[full_idx] = self.curCaInfo else: idx = self.curCaInfo.get(self.idxAttr, None) if idx: self.caInfo[idx] = self.curCaInfo
def endElement(self, name): """ End of an XML element - save everything we learned """ if name == 'c': idx = self.curCaInfo.get(self.idxAttr, None) if idx: self.caInfo[idx] = self.curCaInfo elif name == 'a': if self.attrName in self.attrlist or len(self.attrlist) == 0: self.curCaInfo[self.attrName] = self.attrInfo else...
dfd52eb6398f2fbeec3fffdb87bae6b2823e51e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12088/dfd52eb6398f2fbeec3fffdb87bae6b2823e51e0/condor_common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14840, 12, 2890, 16, 508, 4672, 3536, 4403, 434, 392, 3167, 930, 300, 1923, 7756, 732, 16094, 329, 3536, 309, 508, 422, 296, 71, 4278, 309, 1549, 12, 2890, 18, 3465, 3843, 16, 1953, 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, 14840, 12, 2890, 16, 508, 4672, 3536, 4403, 434, 392, 3167, 930, 300, 1923, 7756, 732, 16094, 329, 3536, 309, 508, 422, 296, 71, 4278, 309, 1549, 12, 2890, 18, 3465, 3843, 16, 1953, 18...
box = OWGUI.indentedBox(box)
box = OWGUI.indentedBox(box, sep=OWGUI.checkButtonOffsetHint(cb))
def __init__(self, parent=None, signalManager = None): OWWidget.__init__(self, parent, signalManager, 'k-Means Clustering')
5921e86a0f8db837ec398576f4d3480209314d2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/5921e86a0f8db837ec398576f4d3480209314d2a/OWKMeans.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 79, 17, 4667, 634, 29103, 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, 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, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 79, 17, 4667, 634, 29103, 6134,...
if self.escChar: ret = re.sub(self.escCharReplacePattern,"\g<1>",ret) if self.escQuote: ret.replace(self.escQuote, self.quoteChar) return loc,ret
if isinstance(ret,basestring): if self.escChar: ret = re.sub(self.escCharReplacePattern,"\g<1>",ret) if self.escQuote: ret = ret.replace(self.escQuote, self.quoteChar) return loc, ret
def parseImpl( self, instring, loc, doActions=True ): result = instring[loc] == self.firstQuoteChar and self.re.match(instring,loc) or None if not result: exc = self.myException exc.loc = loc exc.pstr = instring raise exc loc = result.end() ret = ParseResults(result.group()) if self.unquoteResults: # strip off quote...
9a33bb57ceb368ac97295f985a97dd23a908c708 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3693/9a33bb57ceb368ac97295f985a97dd23a908c708/pyparsing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 2828, 12, 365, 16, 316, 1080, 16, 1515, 16, 741, 6100, 33, 5510, 262, 30, 563, 273, 316, 1080, 63, 1829, 65, 422, 365, 18, 3645, 10257, 2156, 471, 365, 18, 266, 18, 1916, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 2828, 12, 365, 16, 316, 1080, 16, 1515, 16, 741, 6100, 33, 5510, 262, 30, 563, 273, 316, 1080, 63, 1829, 65, 422, 365, 18, 3645, 10257, 2156, 471, 365, 18, 266, 18, 1916, 12, ...
self.theQtyValue = string.atof( aText ) self.theValueChangedByTextField = TRUE self.setValue( self.theQtyFPN, self.theQtyValue )
self.theValue = string.atof( aText ) self.theStub.setProperty( 'Value', self.theValue )
def changeValue( self, obj ):
30bce103d9f34982fce5f0fc5e1245ea73d045a1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/30bce103d9f34982fce5f0fc5e1245ea73d045a1/VariableWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 620, 12, 365, 16, 1081, 262, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 620, 12, 365, 16, 1081, 262, 30, 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, ...
field.SetSelection(-1, -1)
field.SelectAll()
def SelectFirstField(self): for entry in self.fieldList: key, field, type = entry if type != 'boolean': field.SetFocus() field.SetSelection(-1, -1) return
694dfd6c1e5d63980ca8ca9631a004b962a68731 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/694dfd6c1e5d63980ca8ca9631a004b962a68731/PreferencesDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6766, 3759, 974, 12, 2890, 4672, 364, 1241, 316, 365, 18, 1518, 682, 30, 498, 16, 652, 16, 618, 273, 1241, 309, 618, 480, 296, 6494, 4278, 652, 18, 694, 9233, 1435, 652, 18, 3391, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6766, 3759, 974, 12, 2890, 4672, 364, 1241, 316, 365, 18, 1518, 682, 30, 498, 16, 652, 16, 618, 273, 1241, 309, 618, 480, 296, 6494, 4278, 652, 18, 694, 9233, 1435, 652, 18, 3391, 15...
destrev = sr.parents(qbase)[0]
heads = dict.fromkeys(sr.heads()) for h in sr.heads(qbase): del heads[h] destrev = heads.keys() destrev.append(sr.changelog.parents(qbase)[0])
def clone(ui, source, dest=None, **opts): '''clone main and patch repository at same time If source is local, destination will have no patches applied. If source is remote, this command can not check if patches are applied in source, so cannot guarantee that patches are not applied in destination. If you clone remot...
04ea4542d67a393f91e2a6a3367b5221a1a31e40 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/04ea4542d67a393f91e2a6a3367b5221a1a31e40/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3236, 12, 4881, 16, 1084, 16, 1570, 33, 7036, 16, 2826, 4952, 4672, 9163, 14056, 2774, 471, 4729, 3352, 622, 1967, 813, 225, 971, 1084, 353, 1191, 16, 2929, 903, 1240, 1158, 16482, 6754,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3236, 12, 4881, 16, 1084, 16, 1570, 33, 7036, 16, 2826, 4952, 4672, 9163, 14056, 2774, 471, 4729, 3352, 622, 1967, 813, 225, 971, 1084, 353, 1191, 16, 2929, 903, 1240, 1158, 16482, 6754,...
if not wsc.check_user(uid):
if not wsc.check_user(uid, 'cfgwebsearch'):
def showportalboxes(req, colID, ln=cdslang, callback='yes', confirm=0): navtrail_previous_links = wsc.getnavtrail() + """&gt; <a class=navtrail href="%s/admin/websearch/websearchadmin.py/">Edit Collection Tree</a> """ % (weburl) try: uid = getUid(req) except MySQLdb.Error, e: return error_page(req) if not wsc.check...
64768d1c90331fa30ff327f07b134d7b2140dd2a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/64768d1c90331fa30ff327f07b134d7b2140dd2a/websearchadmin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 24386, 15918, 12, 3658, 16, 645, 734, 16, 7211, 33, 4315, 2069, 539, 16, 1348, 2218, 9707, 2187, 6932, 33, 20, 4672, 8775, 15565, 67, 11515, 67, 7135, 273, 341, 1017, 18, 588, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 24386, 15918, 12, 3658, 16, 645, 734, 16, 7211, 33, 4315, 2069, 539, 16, 1348, 2218, 9707, 2187, 6932, 33, 20, 4672, 8775, 15565, 67, 11515, 67, 7135, 273, 341, 1017, 18, 588, 11...
self.pattern += (r'|(%s)' % _escapeRegexChars(escQuote))
self.pattern += (r'|(%s)' % re.escape(escQuote))
def __init__( self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True): """ Defined with the following parameters: - quoteCharacter - string of one or more characters defining the quote delimiting string - escapeCharacter - character to escape quotes, typically backslash (default=None) - esca...
9a33bb57ceb368ac97295f985a97dd23a908c708 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3693/9a33bb57ceb368ac97295f985a97dd23a908c708/pyparsing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 3862, 2156, 16, 2904, 2156, 33, 7036, 16, 2904, 10257, 33, 7036, 16, 19431, 33, 8381, 16, 25611, 3447, 33, 5510, 4672, 3536, 18003, 329, 598, 326, 3751, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 3862, 2156, 16, 2904, 2156, 33, 7036, 16, 2904, 10257, 33, 7036, 16, 19431, 33, 8381, 16, 25611, 3447, 33, 5510, 4672, 3536, 18003, 329, 598, 326, 3751, 1...
out += """&nbsp;&nbsp;&nbsp;(<a href="./lost">%(lost_pass)s</a>)""" % {
out += """&nbsp;&nbsp;&nbsp;(<a href="./lost?ln=%(ln)s">%(lost_pass)s</a>)""" % { 'ln' : ln,
def tmpl_login_form(self, ln, referer, internal, register_available, methods, selected_method, supportemail): """ Displays a login form
3a0a1175062a33241e371559b1e5cbfaec2cd7e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/3a0a1175062a33241e371559b1e5cbfaec2cd7e9/websession_templates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 5819, 67, 687, 12, 2890, 16, 7211, 16, 18068, 16, 2713, 16, 1744, 67, 5699, 16, 2590, 16, 3170, 67, 2039, 16, 2865, 3652, 4672, 3536, 9311, 87, 279, 3925, 646, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 5819, 67, 687, 12, 2890, 16, 7211, 16, 18068, 16, 2713, 16, 1744, 67, 5699, 16, 2590, 16, 3170, 67, 2039, 16, 2865, 3652, 4672, 3536, 9311, 87, 279, 3925, 646, 2, -100, -1...
return self.tk.call(self._w, 'info', 'hidden', entry)
return self.tk.call(self._w, 'info', 'hidden', entry)
def info_hidden(self, entry):
b0e44d61d9e592e1acd6aa05eac9704ba5776f61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b0e44d61d9e592e1acd6aa05eac9704ba5776f61/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1123, 67, 6345, 12, 2890, 16, 1241, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1123, 67, 6345, 12, 2890, 16, 1241, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
id(obj), name,
def debugStateCall(self, obj=None, fsmMemberName='fsm', secondaryFsm='secondaryFSM'): """ If this notify is in debug mode, print the time of the call followed by the [fsm state] notifier category and the function call (with parameters). """ if (self.__debug): state = '' doId = '' if obj is not None: fsm=obj.__dict__.g...
f1139fb38d574fc954aecc3072ded9079f363058 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/f1139fb38d574fc954aecc3072ded9079f363058/Notifier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 1119, 1477, 12, 2890, 16, 1081, 33, 7036, 16, 26957, 4419, 461, 2218, 2556, 81, 2187, 9946, 42, 4808, 2218, 19674, 4931, 49, 11, 4672, 3536, 971, 333, 5066, 353, 316, 1198, 1965, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 1119, 1477, 12, 2890, 16, 1081, 33, 7036, 16, 26957, 4419, 461, 2218, 2556, 81, 2187, 9946, 42, 4808, 2218, 19674, 4931, 49, 11, 4672, 3536, 971, 333, 5066, 353, 316, 1198, 1965, ...