rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
elif key.isupper():
else:
def handleStatics(item, classNode): for key, value in mapNodeToMap(item).items(): keyvalue = value.parent value = value.getFirstChild() commentAttributes = comment.parseNode(keyvalue) # handle @signature if value.type != "function": for docItem in commentAttributes: if docItem["category"] == "signature": value = comp...
cf571eff0ac245c1f59e0c1a656fd69a9c805a03 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/cf571eff0ac245c1f59e0c1a656fd69a9c805a03/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5000, 2102, 12, 1726, 16, 25822, 4672, 364, 498, 16, 460, 316, 852, 907, 18392, 12, 1726, 2934, 3319, 13332, 498, 1132, 273, 460, 18, 2938, 460, 273, 460, 18, 588, 3759, 1763, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5000, 2102, 12, 1726, 16, 25822, 4672, 364, 498, 16, 460, 316, 852, 907, 18392, 12, 1726, 2934, 3319, 13332, 498, 1132, 273, 460, 18, 2938, 460, 273, 460, 18, 588, 3759, 1763, 14...
"""Fails unless a variable with the given name exists within the current scope.
"""Fails unless a variable with the given name exists within the current scope.
def variable_should_exist(self, name, msg=None): """Fails unless a variable with the given name exists within the current scope. The variable name must be given in the escaped format, e.g. \\${scalar} or \\@{list} to prevent it from being resolved. Alternatively, in this case, it is possible to give the variable name ...
ef8b3c513c2fbfbe39dbbc410ee472d3b6ab88a2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/ef8b3c513c2fbfbe39dbbc410ee472d3b6ab88a2/BuiltIn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2190, 67, 13139, 67, 7398, 12, 2890, 16, 508, 16, 1234, 33, 7036, 4672, 3536, 30800, 3308, 279, 2190, 598, 326, 864, 508, 1704, 3470, 326, 783, 2146, 18, 225, 1021, 2190, 508, 1297, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2190, 67, 13139, 67, 7398, 12, 2890, 16, 508, 16, 1234, 33, 7036, 4672, 3536, 30800, 3308, 279, 2190, 598, 326, 864, 508, 1704, 3470, 326, 783, 2146, 18, 225, 1021, 2190, 508, 1297, 50...
fontName = pango.FontDescription("Misc Fixed,Courier Bold 9")
fontName = get_fixed_font()
def __new_text_view(self): text_view = gtk.TextView() text_view.set_border_width(4) fontName = pango.FontDescription("Misc Fixed,Courier Bold 9") text_view.modify_font(fontName) return text_view
324f0893dcac569d1e55a3ea38532d5c437f7a2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7188/324f0893dcac569d1e55a3ea38532d5c437f7a2a/hda_analyzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 67, 955, 67, 1945, 12, 2890, 4672, 977, 67, 1945, 273, 22718, 18, 1528, 1767, 1435, 977, 67, 1945, 18, 542, 67, 8815, 67, 2819, 12, 24, 13, 3512, 461, 273, 336, 67, 12429...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2704, 67, 955, 67, 1945, 12, 2890, 4672, 977, 67, 1945, 273, 22718, 18, 1528, 1767, 1435, 977, 67, 1945, 18, 542, 67, 8815, 67, 2819, 12, 24, 13, 3512, 461, 273, 336, 67, 12429...
print(' WARNING: failed to listen on port %d, trying another' % (port, file=sys.__stderr__))
print(' WARNING: failed to listen on port %d, ' % port + 'trying another', file=sys.__stderr__)
def bind_port(sock, host='', preferred_port=54321): """Try to bind the sock to a port. If we are running multiple tests and we don't try multiple ports, the test can fails. This makes the test more robust.""" # Find some random ports that hopefully no one is listening on. # Ideally each test would clean up after its...
06e80a7f47740fa7eaec94e1d2a75838570f23e0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/06e80a7f47740fa7eaec94e1d2a75838570f23e0/test_support.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1993, 67, 655, 12, 15031, 16, 1479, 2218, 2187, 9119, 67, 655, 33, 6564, 1578, 21, 4672, 3536, 7833, 358, 1993, 326, 7313, 358, 279, 1756, 18, 225, 971, 732, 854, 3549, 3229, 7434, 471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1993, 67, 655, 12, 15031, 16, 1479, 2218, 2187, 9119, 67, 655, 33, 6564, 1578, 21, 4672, 3536, 7833, 358, 1993, 326, 7313, 358, 279, 1756, 18, 225, 971, 732, 854, 3549, 3229, 7434, 471...
upsfile.close() dataFiles.append(["ups", [tableName]])
upsFile.close() dataFiles.append(["ups", [upsFileName]])
def getPackages(): packages = [PkgName] dataList = [] for dirPath, dirNames, fileNames in os.walk(PkgDir): if ".svn" in dirNames: dirNames.remove(".svn") dirName = os.path.basename(dirPath) print "dirName=", dirName tryInit = os.path.join(dirPath, "__init__.py") print "tryInit=", tryInit if os.path.exists(os.path.join...
04d6499d02bee5654e7065a7ea5f53379dc9fec2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6353/04d6499d02bee5654e7065a7ea5f53379dc9fec2/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30401, 1023, 13332, 5907, 273, 306, 11264, 461, 65, 501, 682, 273, 5378, 364, 15891, 16, 1577, 1557, 16, 27375, 316, 1140, 18, 11348, 12, 11264, 1621, 4672, 309, 3552, 31505, 6, 316, 157...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30401, 1023, 13332, 5907, 273, 306, 11264, 461, 65, 501, 682, 273, 5378, 364, 15891, 16, 1577, 1557, 16, 27375, 316, 1140, 18, 11348, 12, 11264, 1621, 4672, 309, 3552, 31505, 6, 316, 157...
Using a HDU list is useful when it needs to be patched before fed into the recipe. Note that HDU lists are stored in temporary files before the recipe is called which may produce some overhead. Also, the CPL then assigns the temporary file names to the
Using :class:`pyfits.HDUList` is useful when it needs to be patched before fed into the recipe.
def calib(self): '''This attribute contains the calibration frames for the recipe. It is iterable and then returns all calibration frames: >>> for f in muse_scibasic.calib: ... print f.tag, f.min, f.max, f.files TRACE_TABLE 1 1 None WAVECAL_TABLE 1 1 None MASTER_BIAS 1 1 master_bias_0.fits MASTER_DARK None 1 None...
2ec40a9cb5d2e8786b33b5a14225ced0b3d34e16 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14935/2ec40a9cb5d2e8786b33b5a14225ced0b3d34e16/recipes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26139, 12, 2890, 4672, 9163, 2503, 1566, 1914, 326, 15344, 7793, 364, 326, 16100, 18, 225, 2597, 353, 6087, 471, 1508, 1135, 777, 15344, 7793, 30, 225, 4080, 364, 284, 316, 312, 1202, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26139, 12, 2890, 4672, 9163, 2503, 1566, 1914, 326, 15344, 7793, 364, 326, 16100, 18, 225, 2597, 353, 6087, 471, 1508, 1135, 777, 15344, 7793, 30, 225, 4080, 364, 284, 316, 312, 1202, 67...
print_debug(" => Searching for host \"%s:0\", hostname=%s found host=%s ut_line=%s"%(ip, hostname, b.ut_host,b.ut_line))
def GetLast(self, ip, ingroup=None): start=time() last=None data={} if ip != "" and not self.ipValid(ip): ip=self.GetIpAddress(ip) hostname=self.GetHostname(ip) print_debug("GetLast() ip=%s hostname=%s "%(ip, hostname) ) for i in range(10): last_file=WTMP_FILE if i != 0: last_file=WTMP_FILE+".%d" %i if os.path.isfile(...
d05956db445aede7c16832225493dd20345df6eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13520/d05956db445aede7c16832225493dd20345df6eb/LocalData.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 3024, 12, 2890, 16, 2359, 16, 12152, 656, 33, 7036, 4672, 787, 33, 957, 1435, 1142, 33, 7036, 501, 12938, 309, 2359, 480, 1408, 471, 486, 365, 18, 625, 1556, 12, 625, 4672, 2359, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3024, 12, 2890, 16, 2359, 16, 12152, 656, 33, 7036, 4672, 787, 33, 957, 1435, 1142, 33, 7036, 501, 12938, 309, 2359, 480, 1408, 471, 486, 365, 18, 625, 1556, 12, 625, 4672, 2359, ...
info.clear() error.clear()
for key in info.keys(): info[key] = False for key in error.keys(): error[key] = False
def _form_reset (): info.clear() error.clear() _reset_ratings() global url, generic, curindex url = u"" generic = False curindex = 0
bfc4984cb80cf8fabc9960826812d18008675f28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/bfc4984cb80cf8fabc9960826812d18008675f28/rating_html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 687, 67, 6208, 1832, 30, 364, 498, 316, 1123, 18, 2452, 13332, 1123, 63, 856, 65, 273, 1083, 364, 498, 316, 555, 18, 2452, 13332, 555, 63, 856, 65, 273, 1083, 389, 6208, 67, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 687, 67, 6208, 1832, 30, 364, 498, 316, 1123, 18, 2452, 13332, 1123, 63, 856, 65, 273, 1083, 364, 498, 316, 555, 18, 2452, 13332, 555, 63, 856, 65, 273, 1083, 389, 6208, 67, 170...
combo = comboBox(hbox, master, value, items = items, tooltip = tooltip, callback = callback, sendSelectedValue = sendSelectedValue, valueType = valueType)
combo = comboBox(hbox, master, value, items = items, tooltip = tooltip, callback = callback, sendSelectedValue = sendSelectedValue, valueType = valueType, debuggingEnabled = debuggingEnabled)
def comboBoxWithCaption(widget, master, value, label, box=None, items=None, tooltip=None, callback = None, sendSelectedValue=0, valueType = int, labelWidth = None): hbox = widgetBox(widget, box = box, orientation="horizontal") lab = widgetLabel(hbox, label, labelWidth) combo = comboBox(hbox, master, value, items = item...
c4b0e5102da7f3bb6f7e6eb4ddcbf3b5f9461057 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c4b0e5102da7f3bb6f7e6eb4ddcbf3b5f9461057/OWGUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16778, 3514, 1190, 21158, 12, 6587, 16, 4171, 16, 460, 16, 1433, 16, 3919, 33, 7036, 16, 1516, 33, 7036, 16, 11915, 33, 7036, 16, 1348, 273, 599, 16, 1366, 7416, 620, 33, 20, 16, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16778, 3514, 1190, 21158, 12, 6587, 16, 4171, 16, 460, 16, 1433, 16, 3919, 33, 7036, 16, 1516, 33, 7036, 16, 11915, 33, 7036, 16, 1348, 273, 599, 16, 1366, 7416, 620, 33, 20, 16, 136...
for trove in self.repos.walkTroveSet(parentTrove):
for trove in self.repos.walkTroveSet(parentTrove, withFiles = False):
def files(self, auth, t, v, f): v = versions.ThawVersion(v) f = deps.ThawDependencySet(f)
0856981e848706a00b581d3442e71f66416d8263 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/0856981e848706a00b581d3442e71f66416d8263/http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1390, 12, 2890, 16, 1357, 16, 268, 16, 331, 16, 284, 4672, 331, 273, 5244, 18, 1315, 2219, 1444, 12, 90, 13, 284, 273, 8740, 18, 1315, 2219, 7787, 694, 12, 74, 13, 2, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1390, 12, 2890, 16, 1357, 16, 268, 16, 331, 16, 284, 4672, 331, 273, 5244, 18, 1315, 2219, 1444, 12, 90, 13, 284, 273, 8740, 18, 1315, 2219, 7787, 694, 12, 74, 13, 2, -100, -100, -...
if len(self._elements) == len(other._elements): return cmp(self._elements, other._elements) and \ cmp(self._hasse_diagram, other._hasse_diagram)
if len(self._elements) == len(other._elements) and self._elements == other._elements: return self._hasse_diagram == other._hasse_diagram
def __cmp__(self, other): r""" Define comparison for finite posets.
f00d0ece07dc85deddd28ade34472990975335cf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/f00d0ece07dc85deddd28ade34472990975335cf/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, ...
characters using the encoded-word syntax of RFC 2047, decoded versions of those attributes are placed in the self.decoded (a dictionary). If the charsets used by these headers differ from each other or from the charset specified by the message's Content-Type header, then an arbitrary charset is chosen. If the decoded ...
characters using the encoded-word syntax of RFC 2047, decoded versions of those attributes are placed in the self.decoded (a dictionary). If the list's charset differs from the header charset, an attempt is made to decode the headers as Unicode. If that fails, they are left undecoded.
def check_header_charsets(self, msg_charset=None): """Check From and Subject for encoded-words
4616e826ade7dba7eafa7e61bb5fa387d722335c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/4616e826ade7dba7eafa7e61bb5fa387d722335c/HyperArch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 3374, 67, 3001, 4424, 12, 2890, 16, 1234, 67, 9999, 33, 7036, 4672, 3536, 1564, 6338, 471, 9912, 364, 3749, 17, 3753, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 3374, 67, 3001, 4424, 12, 2890, 16, 1234, 67, 9999, 33, 7036, 4672, 3536, 1564, 6338, 471, 9912, 364, 3749, 17, 3753, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return
return
def write(self, data):
d9300e7ae7f704ad263013ec13346104b4bba7ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d9300e7ae7f704ad263013ec13346104b4bba7ba/binhex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 501, 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, 1045, 12, 2890, 16, 501, 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, -100...
return data
else: return data return string.join(data, "")
def dumps(params, methodname=None, methodresponse=None): # convert a tuple or a fault object to an XML-RPC packet assert type(params) == TupleType or isinstance(params, Fault),\ "argument must be tuple or Fault instance" m = Marshaller() data = m.dumps(params) # standard XML-RPC wrappings if methodname: # a method c...
80ead46c3b0b9513bc116e8fe08faa2f91145a91 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/80ead46c3b0b9513bc116e8fe08faa2f91145a91/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 4672, 468, 1765, 279, 3193, 578, 279, 12530, 733, 358, 392, 3167, 17, 8087, 4414, 225, 1815, 618, 12, 2010, 13, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 4672, 468, 1765, 279, 3193, 578, 279, 12530, 733, 358, 392, 3167, 17, 8087, 4414, 225, 1815, 618, 12, 2010, 13, 422, ...
itemModifiers = [] features = []
def deleteExtFields(self): self.stream.deleteExtFields([self.id])
0657568780357bef8441a5f60530117f37a6a536 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1871/0657568780357bef8441a5f60530117f37a6a536/qBase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 2482, 2314, 12, 2890, 4672, 365, 18, 3256, 18, 3733, 2482, 2314, 3816, 2890, 18, 350, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 2482, 2314, 12, 2890, 4672, 365, 18, 3256, 18, 3733, 2482, 2314, 3816, 2890, 18, 350, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if len(arg) == 6:
if len(arg) == 11:
def handleArg(self, arg): """Parse one argument at a time.
0c9e1bdb7d8378145394c5c96e8983fd1ce25ea7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/0c9e1bdb7d8378145394c5c96e8983fd1ce25ea7/pagegenerators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 4117, 12, 2890, 16, 1501, 4672, 3536, 3201, 1245, 1237, 622, 279, 813, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 4117, 12, 2890, 16, 1501, 4672, 3536, 3201, 1245, 1237, 622, 279, 813, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"""Set up self.opresolver from self.pkgs.
"""Run the complete depresolution.
def runDepRes(self): """Set up self.opresolver from self.pkgs.
63c08f3d9e04ccf32583372dd5311f84d2b5343f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/63c08f3d9e04ccf32583372dd5311f84d2b5343f/yum.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 16316, 607, 12, 2890, 4672, 3536, 694, 731, 365, 18, 556, 14122, 628, 365, 18, 25376, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 16316, 607, 12, 2890, 4672, 3536, 694, 731, 365, 18, 556, 14122, 628, 365, 18, 25376, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.change_notification = True
def set_color_rgb(self,rgb): r,g,b = rgb c = gdk.Color(int(r*65535+0.5), int(g*65535+0.5), int(b*65535+0.5)) # only emit color_changed events if the user directly interacts with the window self.change_notification = False self.cs.set_current_color(c) self.change_notification = True
2e0e45cb89043b73344120fcaf1790d1b8e86604 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7129/2e0e45cb89043b73344120fcaf1790d1b8e86604/colorselectionwindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3266, 67, 10948, 12, 2890, 16, 10948, 4672, 436, 16, 75, 16, 70, 273, 6917, 276, 273, 314, 2883, 18, 2957, 12, 474, 12, 86, 14, 26, 2539, 4763, 15, 20, 18, 25, 3631, 509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3266, 67, 10948, 12, 2890, 16, 10948, 4672, 436, 16, 75, 16, 70, 273, 6917, 276, 273, 314, 2883, 18, 2957, 12, 474, 12, 86, 14, 26, 2539, 4763, 15, 20, 18, 25, 3631, 509, ...
This can be instantiated in four ways: 1. csr_matrix(s)
This can be instantiated in several ways: - csr_matrix(d) with a dense matrix d - csr_matrix(s)
def copy(self): new = csc_matrix(self.shape, nzmax=self.nzmax, dtype=self.dtypechar) new.data = self.data.copy() new.rowind = self.rowind.copy() new.indptr = self.indptr.copy() new._check() return new
a9fa59f2c7be4099d580674761bd725b0c430682 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/a9fa59f2c7be4099d580674761bd725b0c430682/sparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 394, 273, 276, 1017, 67, 5667, 12, 2890, 18, 4867, 16, 15062, 1896, 33, 2890, 18, 82, 94, 1896, 16, 3182, 33, 2890, 18, 8972, 3001, 13, 394, 18, 892, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 394, 273, 276, 1017, 67, 5667, 12, 2890, 18, 4867, 16, 15062, 1896, 33, 2890, 18, 82, 94, 1896, 16, 3182, 33, 2890, 18, 8972, 3001, 13, 394, 18, 892, 273, 365, ...
cspheres.append((st[0],st[1],st[2],rt,use_colors))
cspheres.append((st[0],st[1],st[2],rt,atoms[i]))
def compute_memo(self, chunk): """If drawing chunk in this display mode can be optimized by precomputing some info from chunk's appearance, compute that info and return it. If this computation requires preference values, access them as env.prefs[key], and that will cause the memo to be removed (invalidated) when that p...
ed24f8afea01f930a917fd3d94522e4efc304f2d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/ed24f8afea01f930a917fd3d94522e4efc304f2d/SurfaceChunks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 67, 19521, 12, 2890, 16, 2441, 4672, 3536, 2047, 16327, 2441, 316, 333, 2562, 1965, 848, 506, 15411, 635, 675, 13406, 310, 2690, 1123, 628, 2441, 1807, 9788, 1359, 16, 3671, 716, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 67, 19521, 12, 2890, 16, 2441, 4672, 3536, 2047, 16327, 2441, 316, 333, 2562, 1965, 848, 506, 15411, 635, 675, 13406, 310, 2690, 1123, 628, 2441, 1807, 9788, 1359, 16, 3671, 716, 1...
"""Check the LaTex formatting in a sequence of lines.
"""Check the LaTeX formatting in a sequence of lines.
def checkit(source, opts, morecmds=[]): """Check the LaTex formatting in a sequence of lines. Opts is a mapping of options to option values if any: -m munge parenthesis and brackets -f forward slash warnings to be skipped -d delimiters only checking -v verbose listing on delimiters ...
04e724cb9be5e23afe9422804063705fde5f78ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/04e724cb9be5e23afe9422804063705fde5f78ba/texcheck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 305, 12, 3168, 16, 1500, 16, 1898, 24680, 33, 8526, 4672, 3536, 1564, 326, 21072, 21575, 60, 10407, 316, 279, 3102, 434, 2362, 18, 225, 25769, 353, 279, 2874, 434, 702, 358, 1456, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 305, 12, 3168, 16, 1500, 16, 1898, 24680, 33, 8526, 4672, 3536, 1564, 326, 21072, 21575, 60, 10407, 316, 279, 3102, 434, 2362, 18, 225, 25769, 353, 279, 2874, 434, 702, 358, 1456, ...
secDB = db.DB(self.env) secDB.set_flags(db.DB_DUP) secDB.open(self.filename, "secondary", db.DB_BTREE,
self.secDB = db.DB(self.env) self.secDB.set_flags(db.DB_DUP) self.secDB.open(self.filename, "secondary", db.DB_BTREE,
def test02_associateAfterDB(self): if verbose: print '\n', '-=' * 30 print "Running %s.test02_associateAfterDB..." % \ self.__class__.__name__
c5cf731a4deb710892c9083a468a6d173d791456 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c5cf731a4deb710892c9083a468a6d173d791456/test_associate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3103, 67, 11577, 4436, 2290, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 3103, 67, 11577, 4436, 2290, 7070, 738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3103, 67, 11577, 4436, 2290, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 3103, 67, 11577, 4436, 2290, 7070, 738,...
if status not in ' up': error('invalid status, %s, at %s', status, pos) if tl < (23+ul+dl+el): error('invalid transaction length, %s, at %s', tl, pos) tpos=pos tend=tpos+tl if status=='u':
if tl < (23 + ul + dl + el): error("invalid transaction length, %s, at %s", tl, pos) if ltid and tid < ltid: error("time-stamp reducation %s < %s, at %s", u64(tid), u64(ltid), pos) if status == "c": truncate(f, pos, file_size, output) raise EOFError if status not in " up": error("invalid status, %r, at %s", status, ...
def read_transaction_header(file, pos, file_size): # Read the transaction record file.seek(pos) h = file.read(23) if len(h) < 23: raise EOFError tid, stl, status, ul, dl, el = unpack(">8s8scHHH",h) if el < 0: el=t32-el tl=u64(stl) if status=='c': raise EOFError if pos+(tl+8) > file_size: error("bad transaction leng...
9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814/fsrecover.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 7958, 67, 3374, 12, 768, 16, 949, 16, 585, 67, 1467, 4672, 468, 2720, 326, 2492, 1409, 585, 18, 16508, 12, 917, 13, 366, 273, 585, 18, 896, 12, 4366, 13, 309, 562, 12, 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, 855, 67, 7958, 67, 3374, 12, 768, 16, 949, 16, 585, 67, 1467, 4672, 468, 2720, 326, 2492, 1409, 585, 18, 16508, 12, 917, 13, 366, 273, 585, 18, 896, 12, 4366, 13, 309, 562, 12, 76,...
auth = authorizers.UnixAuthorizer()
auth = authorizers.UnixAuthorizer()
def get_fake_shell_user(): for user in self.get_users(): shell = pwd.getpwnam(user).pw_shell # On linux fake shell is usually /bin/false, on # freebsd /usr/sbin/nologin; in case of other # UNIX variants test needs to be adjusted. if '/false' in shell or '/nologin' in shell: return user self.fail("no user found")
a90c7c7cae01c7f71fc9e9ed5d8106d8cce1a84b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7236/a90c7c7cae01c7f71fc9e9ed5d8106d8cce1a84b/test_contrib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 28395, 67, 10304, 67, 1355, 13332, 364, 729, 316, 365, 18, 588, 67, 5577, 13332, 5972, 273, 14720, 18, 588, 14921, 17808, 12, 1355, 2934, 14921, 67, 10304, 468, 2755, 19725, 105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 28395, 67, 10304, 67, 1355, 13332, 364, 729, 316, 365, 18, 588, 67, 5577, 13332, 5972, 273, 14720, 18, 588, 14921, 17808, 12, 1355, 2934, 14921, 67, 10304, 468, 2755, 19725, 105...
pc = 0 if n in parents: for p in parents[n]: if p not in self.map: pc += 1
children.setdefault(n, []) for p in parents[n]: if not p in self.map:
def toposort(self, parents): visit = parents.keys() seen = {} children = {}
6c7810769d00a7ea22018e0dd999f96081ff8dc2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/6c7810769d00a7ea22018e0dd999f96081ff8dc2/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 917, 499, 12, 2890, 16, 6298, 4672, 3757, 273, 6298, 18, 2452, 1435, 5881, 273, 2618, 2325, 273, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 917, 499, 12, 2890, 16, 6298, 4672, 3757, 273, 6298, 18, 2452, 1435, 5881, 273, 2618, 2325, 273, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
else: print_exception(exc_info[0], exc_info[1], exc_info[2], file=errors)
def start_response(status, headers, exc_info=None): if exc_info: try: if headers_sent: # Re-raise original exception only if headers sent raise exc_info[0], exc_info[1], exc_info[2] else: print_exception(exc_info[0], exc_info[1], exc_info[2], file=errors) finally: # avoid dangling circular reference exc_info = None eli...
cc31c0a82a5de99f7f36de31d4a32f5de239b759 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11400/cc31c0a82a5de99f7f36de31d4a32f5de239b759/wsgilib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 309, 3533, 67, 1376, 30, 775, 30, 309, 1607, 67, 7569, 30, 468, 868, 17, 11628, 2282, 1520, 1338, 309, 1607, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 309, 3533, 67, 1376, 30, 775, 30, 309, 1607, 67, 7569, 30, 468, 868, 17, 11628, 2282, 1520, 1338, 309, 1607, 32...
response = TileResponse(render_tile(layername, z, x, y, extension=extension))
response = TileResponse(render_tile(layername, z, x, y, extension='png'))
def get_tile(request, version, layername, z, x, y, extension='png'): 'Returns a map tile in the requested format' z, x, y = int(z), int(x), int(y) response = TileResponse(render_tile(layername, z, x, y, extension=extension)) return response(extension)
fd503b650f206ae092c102019ef2469e91934650 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10327/fd503b650f206ae092c102019ef2469e91934650/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 15368, 12, 2293, 16, 1177, 16, 3018, 529, 16, 998, 16, 619, 16, 677, 16, 2710, 2218, 6446, 11, 4672, 296, 1356, 279, 852, 4769, 316, 326, 3764, 740, 11, 998, 16, 619, 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, 336, 67, 15368, 12, 2293, 16, 1177, 16, 3018, 529, 16, 998, 16, 619, 16, 677, 16, 2710, 2218, 6446, 11, 4672, 296, 1356, 279, 852, 4769, 316, 326, 3764, 740, 11, 998, 16, 619, 16, ...
sys.stdout.write('matching program output for %s/%s (%d-%d)]\n'% (localdir, execname, compoptsnum, execoptsnum))
sys.stdout.write('matching program output for %s/%s %s %s'% (localdir, execname, ' '.join(globalExecopts), execopts)) if len(compoptslist) > 1: sys.stdout.write('(%s%s)'% (' '.join(globalCompopts),compopts)) if result==0: sys.stdout.write(']\n') else: sys.stdout.write(' (%d-%d)]\n'%(compoptsnum, execoptsnum))
def kill_proc(p, timeout): k = subprocess.Popen(['kill',str(p.pid)]) k.wait() now = time.time() end_time = now + timeout # give it a little time while end_time > now: if p.poll(): return now = time.time() # use the big hammer (and don't bother waiting) subprocess.Popen(['kill','-9', str(p.pid)]) return
104424f171f0895d16c59291ac9da05a2dd76db5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6895/104424f171f0895d16c59291ac9da05a2dd76db5/sub_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 67, 9381, 12, 84, 16, 2021, 4672, 417, 273, 6652, 18, 52, 3190, 12, 3292, 16418, 2187, 701, 12, 84, 18, 6610, 13, 5717, 417, 18, 7048, 1435, 2037, 273, 813, 18, 957, 1435, 679,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 67, 9381, 12, 84, 16, 2021, 4672, 417, 273, 6652, 18, 52, 3190, 12, 3292, 16418, 2187, 701, 12, 84, 18, 6610, 13, 5717, 417, 18, 7048, 1435, 2037, 273, 813, 18, 957, 1435, 679,...
value += self._safe_read(chunk_left)
value.append(self._safe_read(chunk_left))
def _read_chunked(self, amt): assert self.chunked != _UNKNOWN chunk_left = self.chunk_left value = b""
bec1e84e67cccc1adf2ec6bf3eafa5f7bb15eaf8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/bec1e84e67cccc1adf2ec6bf3eafa5f7bb15eaf8/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 6551, 329, 12, 2890, 16, 25123, 4672, 1815, 365, 18, 6551, 329, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 324, 3660, 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, 389, 896, 67, 6551, 329, 12, 2890, 16, 25123, 4672, 1815, 365, 18, 6551, 329, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 324, 3660, 2, -100, -100, -100, ...
if type(f) == type(''):
if isinstance(f, basestring):
def __init__(self, f): self._i_opened_the_file = None if type(f) == type(''): f = __builtin__.open(f, 'rb') self._i_opened_the_file = f # else, assume it is an open file object already self.initfp(f)
2f7f3d33e9695b93b02ce73594281774388bee5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2f7f3d33e9695b93b02ce73594281774388bee5a/wave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 284, 4672, 365, 6315, 77, 67, 25304, 67, 5787, 67, 768, 273, 599, 309, 1549, 12, 74, 16, 10699, 4672, 284, 273, 1001, 24553, 25648, 3190, 12, 74, 16, 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, 12, 2890, 16, 284, 4672, 365, 6315, 77, 67, 25304, 67, 5787, 67, 768, 273, 599, 309, 1549, 12, 74, 16, 10699, 4672, 284, 273, 1001, 24553, 25648, 3190, 12, 74, 16, 2...
if mycontext['maxlag'] > 4:
if mycontext['maxlag'] > 2:
def check_and_exit(): if mycontext['maxlag'] > 4: print "UDP packets lag too long in the buffer: ", mycontext['maxlag'] if mycontext['maxlag'] == 0: print "UDP packets were not received or had 0 lag" exitall()
de4a8f088d7b017fa9dbb51eaf728048f32fed07 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7995/de4a8f088d7b017fa9dbb51eaf728048f32fed07/ut_repytests_testudpbuffersize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 464, 67, 8593, 13332, 309, 3399, 2472, 3292, 1896, 22532, 3546, 405, 576, 30, 1172, 315, 20352, 12640, 17241, 4885, 1525, 316, 326, 1613, 30, 3104, 3399, 2472, 3292, 1896, 22532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 464, 67, 8593, 13332, 309, 3399, 2472, 3292, 1896, 22532, 3546, 405, 576, 30, 1172, 315, 20352, 12640, 17241, 4885, 1525, 316, 326, 1613, 30, 3104, 3399, 2472, 3292, 1896, 22532, ...
def debugconfig(ui, repo, *values):
def showconfig(ui, repo, *values):
def debugconfig(ui, repo, *values): """show combined config settings from all hgrc files With no args, print names and values of all config items. With one arg of the form section.name, print just the value of that config item. With multiple args, print names and values of all config items with matching section name...
44d5c8b1d34a8dacdf4faf17d0788de0b06b2368 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/44d5c8b1d34a8dacdf4faf17d0788de0b06b2368/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 1425, 12, 4881, 16, 3538, 16, 380, 2372, 4672, 3536, 4500, 8224, 642, 1947, 628, 777, 22576, 1310, 1390, 225, 3423, 1158, 833, 16, 1172, 1257, 471, 924, 434, 777, 642, 1516, 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, 2405, 1425, 12, 4881, 16, 3538, 16, 380, 2372, 4672, 3536, 4500, 8224, 642, 1947, 628, 777, 22576, 1310, 1390, 225, 3423, 1158, 833, 16, 1172, 1257, 471, 924, 434, 777, 642, 1516, 18, ...
sage: print T1.filled_cells_map() {1: (0, 0), 2: (0, 2), 3: (0, 3), 4: (1, 1), 5: (1, 2), 6: (1, 3), 7: (2, 0), 8: (2, 1), 9: (2, 2), 10: (3, 0), 11: (3, 1), 12: (3, 3), (2, 1): 8, (1, 3): 6, (0, 3): 3, (1, 2): 5, (3, 3): 12, (3, 0): 10, (2, 2): 9, (1, 1): 4, (0, 0): 1, (3, 1): 11, (2, 0): 7, (0, 2): 2}
sage: T1.filled_cells_map() {1: (0, 0), 2: (0, 1), 3: (0, 3), 4: (1, 1), 5: (1, 2), 6: (1, 3), 7: (2, 0), 8: (2, 2), 9: (2, 3), 10: (3, 0), 11: (3, 1), 12: (3, 2), (1, 3): 6, (0, 3): 3, (1, 2): 5, (3, 0): 10, (2, 2): 8, (1, 1): 4, (3, 2): 12, (0, 0): 1, (2, 3): 9, (0, 1): 2, (3, 1): 11, (2, 0): 7}
def filled_cells_map(self): """ Number the filled cells of self with integers from {1, 2, 3, ...}.
494f2bd1cd82ea9dcc25f8e258b7375812aed1c9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/494f2bd1cd82ea9dcc25f8e258b7375812aed1c9/latin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6300, 67, 14741, 67, 1458, 12, 2890, 4672, 3536, 3588, 326, 6300, 5983, 434, 365, 598, 12321, 628, 288, 21, 16, 576, 16, 890, 16, 1372, 5496, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 6300, 67, 14741, 67, 1458, 12, 2890, 4672, 3536, 3588, 326, 6300, 5983, 434, 365, 598, 12321, 628, 288, 21, 16, 576, 16, 890, 16, 1372, 5496, 2, -100, -100, -100, -100, -100, -100, -10...
"blue wireframe box around the selected atom.</p>"
"blue wireframe box around the selected atom."\ "</p>"
def createWhatsThis(self): ############################################## # File Toolbar ############################################## #### Open File #### fileOpenText = "<u><b>Open File</b></u> (Ctrl + O)</b></p><br> "\ "<p><img source=\"fileopen\"><br> "\ "Opens a new file."\ "</p>" QMimeSourceFactory.default...
c9a25d437341caa5f0c88a4ab02c54ebb7627482 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/c9a25d437341caa5f0c88a4ab02c54ebb7627482/whatsthis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
PAIR_RE = re.compile( '([\w\.]+)\s+' '((?:\d+)' '|(?:".*?")' '|(?:\(.*?\))' '|(?:{\d+?})' ')\s*') DATA_RE = re.compile( '((?:".*?")' '|(?:\(.*?\))' '|(?:\S+)' ')\s*')
QUOTED_STRING = '(?:".*?")' PAREN_LIST = '(?:\(.*?\))' PAIR_RE = re.compile(( '([\w\.]+)\s+' + '((?:\d+)' + '|(?:{\d+?})' + '|' + QUOTED_STRING + '|' + PAREN_LIST + ')\s*')) DATA_RE = re.compile(( '(' + QUOTED_STRING + '|' + PAREN_LIST + '|(?:\S+)' + ')\s*'))
def do_default(self, arg): return arg
85410ed715e4d58f7449b28c7d003bfab4608e73 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9352/85410ed715e4d58f7449b28c7d003bfab4608e73/imapclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 1886, 12, 2890, 16, 1501, 4672, 327, 1501, 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, 741, 67, 1886, 12, 2890, 16, 1501, 4672, 327, 1501, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
raise 'ValueError', 'No such content type: %s' % contentType
raise 'ValueError', 'No such content type: %s' % type_name
def constructContent( self, type_name, container, id, RESPONSE=None, *args, **kw ): """ Build an instance of the appropriate content class in 'container', using 'id'. """ info = self.getTypeInfo( type_name ) if info is None: raise 'ValueError', 'No such content type: %s' % contentType immediate_url = apply(info.constr...
bec39af56ba7ae9676edf20bd9787a0fdc238350 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/bec39af56ba7ae9676edf20bd9787a0fdc238350/TypesTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4872, 1350, 12, 365, 16, 618, 67, 529, 16, 1478, 16, 612, 16, 20645, 33, 7036, 16, 380, 1968, 16, 2826, 9987, 262, 30, 3536, 3998, 392, 791, 434, 326, 5505, 913, 667, 316, 296, 3782,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4872, 1350, 12, 365, 16, 618, 67, 529, 16, 1478, 16, 612, 16, 20645, 33, 7036, 16, 380, 1968, 16, 2826, 9987, 262, 30, 3536, 3998, 392, 791, 434, 326, 5505, 913, 667, 316, 296, 3782,...
cty.c_double, [cty.POINTER(FL_OBJECT)],
cty.c_double, [cty.POINTER(FL_OBJECT)],
def fl_set_timer(ob, total): """ fl_set_timer(ob, total) """ _fl_set_timer(ob, total)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 12542, 12, 947, 16, 2078, 4672, 3536, 1183, 67, 542, 67, 12542, 12, 947, 16, 2078, 13, 3536, 225, 389, 2242, 67, 542, 67, 12542, 12, 947, 16, 2078, 13, 282, 2, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 12542, 12, 947, 16, 2078, 4672, 3536, 1183, 67, 542, 67, 12542, 12, 947, 16, 2078, 13, 3536, 225, 389, 2242, 67, 542, 67, 12542, 12, 947, 16, 2078, 13, 282, 2, -...
this = apply(_quickfix.new_AffectedSecondaryOrderID, args)
this = _quickfix.new_AffectedSecondaryOrderID(*args)
def __init__(self, *args): this = apply(_quickfix.new_AffectedSecondaryOrderID, 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, 23775, 14893, 2448, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 23775, 14893, 2448, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335,...
environment["INPUTTURLS"]+="turl[%d]='%s';" % (j,turl.strip())
environment["INPUTTURLS"]+="turl[%d]='%s';" % (infilenr,turl.strip())
def prepare(self,app,appconfig,appmasterconfig,jobmasterconfig): """Prepare the job"""
88dc9e38da17ce82091ed0543bc649796d6491b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/88dc9e38da17ce82091ed0543bc649796d6491b4/AthenaMCLCGRTHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 12, 2890, 16, 2910, 16, 2910, 1425, 16, 2910, 7525, 1425, 16, 4688, 7525, 1425, 4672, 3536, 7543, 326, 1719, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 12, 2890, 16, 2910, 16, 2910, 1425, 16, 2910, 7525, 1425, 16, 4688, 7525, 1425, 4672, 3536, 7543, 326, 1719, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.check_sizeof(class_newstyle, h +\ p + 2*l + 15*p + l + 4*p + l + 9*p + l + 11*p +\ self.align(4) +\ 16*p + self.align(i) + 20*p +\ 10*p + 3*p + 2*p + 2*p);
self.check_sizeof(class_newstyle, h + p + 2*l + 15*p + l + 4*p + l + 9*p + l + 11*p + self.align(4) + 16*p + self.align(i) + 17*p + 3*p + 10*p + 2*p + 2*p)
def method(): pass
01b07cdb611f98aad3bc02d04d292197f5d0cf5b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/01b07cdb611f98aad3bc02d04d292197f5d0cf5b/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 707, 13332, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 707, 13332, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
(s,b,p,q,f,o) = urlparse.urlparse(configfile) if s in ('http', 'ftp','file'): configfh = urllib.urlopen(configfile) try: self.cfg.readfp(configfh) except ConfigParser.MissingSectionHeaderError, e: print _('Error accessing URL: %s') % configfile sys.exit(1) else: if os.access(configfile, os.R_OK): self.cfg.read(configfi...
configh = confpp(configfile) try: self.cfg.readfp(configh) except ConfigParser.MissingSectionHeaderError, e: print _('Error accessing config file: %s') % configfile sys.exit(1)
def __init__(self, configfile = '/etc/yum.conf'): self.cfg = ConfigParser.ConfigParser() (s,b,p,q,f,o) = urlparse.urlparse(configfile) if s in ('http', 'ftp','file'): configfh = urllib.urlopen(configfile) try: self.cfg.readfp(configfh) except ConfigParser.MissingSectionHeaderError, e: print _('Error accessing URL: %s')...
25932bd410cf58f0ad65896b7b56dfaa6842cd69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/25932bd410cf58f0ad65896b7b56dfaa6842cd69/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 768, 273, 1173, 14175, 19, 93, 379, 18, 3923, 11, 4672, 365, 18, 7066, 273, 25076, 18, 809, 2678, 1435, 642, 76, 273, 2195, 11858, 12, 1425, 768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 642, 768, 273, 1173, 14175, 19, 93, 379, 18, 3923, 11, 4672, 365, 18, 7066, 273, 25076, 18, 809, 2678, 1435, 642, 76, 273, 2195, 11858, 12, 1425, 768, ...
return 0
return False
def response( char, args, target ): if not char.socket.hastag( 'peacemaking_instrument' ): return 0 # you can only target chars if not target.char: return 1 instrument = wolfpack.finditem( char.socket.gettag( 'peacemaking_instrument' ) ) if not instrument: return 0 if skills.skilltable[ PEACEMAKING ][ skills.UNHIDE ] ...
ad2fb5c1af41304c615892963957d7cff3e3439e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/ad2fb5c1af41304c615892963957d7cff3e3439e/peacemaking.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 12, 1149, 16, 833, 16, 1018, 262, 30, 309, 486, 1149, 18, 7814, 18, 76, 689, 346, 12, 296, 347, 623, 19718, 67, 22818, 11, 262, 30, 327, 1083, 468, 1846, 848, 1338, 1018, 5230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 7814, 18, 76, 689, 346, 12, 296, 347, 623, 19718, 67, 22818, 11, 262, 30, 327, 1083, 468, 1846, 848, 1338, 1018, 5230, ...
":PlugIns:wastemodule.CFM68K.", ":PlugIns:_tkintermodule.CFM68K.",
":PlugIns:qtmodules.CFM68K.", ":PlugIns:waste.CFM68K.", ":PlugIns:_tkinter.CFM68K.",
def buildapplet(top, dummy, list): """Create a PPC python applet""" template = mkapplet.findtemplate() for src in list: if src[-3:] != '.py': raise 'Should end in .py', src base = os.path.basename(src) dst = os.path.join(top, base)[:-3] src = os.path.join(top, src) try: os.unlink(dst) except os.error: pass print 'Build...
0d609ba19b62e0c1495cd52a7e0a2cfd07519004 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/0d609ba19b62e0c1495cd52a7e0a2cfd07519004/fullbuild.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 438, 1469, 12, 3669, 16, 9609, 16, 666, 4672, 3536, 1684, 279, 453, 3513, 5790, 21853, 8395, 1542, 273, 5028, 438, 1469, 18, 4720, 3202, 1435, 364, 1705, 316, 666, 30, 309, 1705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 438, 1469, 12, 3669, 16, 9609, 16, 666, 4672, 3536, 1684, 279, 453, 3513, 5790, 21853, 8395, 1542, 273, 5028, 438, 1469, 18, 4720, 3202, 1435, 364, 1705, 316, 666, 30, 309, 1705, ...
setup_udev_rules()
global use_destdir use_destdir = opts.destdir setup_udev_rules(opts.group_file, not opts.dont_reload)
def post_install(): if os.geteuid() != 0: print >> sys.stderr, 'You must be root to run this command.' sys.exit(1) setup_udev_rules() setup_completion() setup_desktop_integration() try: from PyQt4 import Qt if Qt.PYQT_VERSION < int('0x40301', 16): print 'WARNING: You need PyQt >= 4.3.1 for the GUI. You have', Qt.PYQT...
45abfd50d363c2402f8a1c54ab39710c64d8866e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/45abfd50d363c2402f8a1c54ab39710c64d8866e/linux.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 67, 5425, 13332, 309, 1140, 18, 588, 73, 1911, 1435, 480, 374, 30, 1172, 1671, 2589, 18, 11241, 16, 296, 6225, 1297, 506, 1365, 358, 1086, 333, 1296, 1093, 2589, 18, 8593, 12, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 67, 5425, 13332, 309, 1140, 18, 588, 73, 1911, 1435, 480, 374, 30, 1172, 1671, 2589, 18, 11241, 16, 296, 6225, 1297, 506, 1365, 358, 1086, 333, 1296, 1093, 2589, 18, 8593, 12, 21...
if self.parent is None: gtk.main_quit()
gtk.main_quit()
def destroy(self, widget, data=None): self.configuration_window.hide() if self.parent is None: gtk.main_quit()
1de0740b9143908c992922a8e39a2259609b01c8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/736/1de0740b9143908c992922a8e39a2259609b01c8/cozy_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 365, 18, 7025, 67, 5668, 18, 11248, 1435, 309, 365, 18, 2938, 353, 599, 30, 22718, 18, 5254, 67, 27176, 1435, 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, 5546, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 365, 18, 7025, 67, 5668, 18, 11248, 1435, 309, 365, 18, 2938, 353, 599, 30, 22718, 18, 5254, 67, 27176, 1435, 2, -100, -100, -100, ...
fileclassDirCheck = "rfstat %s 2> /dev/null | grep Protection" % fileclassDir print "Check dir existence : %s" % fileclassDirCheck try: fileclassDirCheckExitCode, fileclassDirCheckOutput = runCommandWithOutput(fileclassDirCheck) except Exception, ex: msg = "Error: Exception while invoking command:\n" msg += "%s\n" % r...
if not self.checkDirExists(fileclassDir):
def createOutputDirectory(self, targetPFN): """ _createOutputDirectory_
8674b360d5d69889b93b75de76ac61bc98ade9a5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8887/8674b360d5d69889b93b75de76ac61bc98ade9a5/RFCPCERNImpl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 1447, 2853, 12, 2890, 16, 1018, 52, 19793, 4672, 3536, 389, 2640, 1447, 2853, 67, 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, 752, 1447, 2853, 12, 2890, 16, 1018, 52, 19793, 4672, 3536, 389, 2640, 1447, 2853, 67, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
_looping=1
_looping = map
def _start_loop(map): _loop_lock.acquire() try: global _looping _looping=1 while _loop_callbacks: cb, args, kw = _loop_callbacks.pop() apply(cb, (map,)+args, kw or {}) finally: _loop_lock.release()
5415dbe3669c0431316ed3f82bda29b29aa844b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/5415dbe3669c0431316ed3f82bda29b29aa844b9/ThreadedAsync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1937, 67, 6498, 12, 1458, 4672, 389, 6498, 67, 739, 18, 1077, 1039, 1435, 775, 30, 2552, 389, 6498, 310, 389, 6498, 310, 273, 852, 1323, 389, 6498, 67, 13316, 30, 2875, 16, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1937, 67, 6498, 12, 1458, 4672, 389, 6498, 67, 739, 18, 1077, 1039, 1435, 775, 30, 2552, 389, 6498, 310, 389, 6498, 310, 273, 852, 1323, 389, 6498, 67, 13316, 30, 2875, 16, 833, ...
g = globals()
def get_config_h_filename(): return os.path.join(sys.exec_prefix, "lib", "python" + sys.version[:3], "config", "config.h")
def _init_posix(): import os import re import string import sys g = globals() version = sys.version[:3] config_dir = os.path.join( sys.exec_prefix, "lib", "python" + version, "config") # load the installed config.h: define_rx = re.compile("#define ([A-Z][A-Z0-9_]+) (.*)\n") undef_rx = re.compile("/[*] #undef ([A-Z][...
9ddaaa1a30a8a0681b60922e877f3b7d23e6bdf6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/9ddaaa1a30a8a0681b60922e877f3b7d23e6bdf6/sysconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 24463, 13332, 1930, 1140, 1930, 283, 1930, 533, 1930, 2589, 225, 1652, 336, 67, 1425, 67, 76, 67, 3459, 13332, 327, 1140, 18, 803, 18, 5701, 12, 9499, 18, 4177, 67, 3239...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1930, 1140, 1930, 283, 1930, 533, 1930, 2589, 225, 1652, 336, 67, 1425, 67, 76, 67, 3459, 13332, 327, 1140, 18, 803, 18, 5701, 12, 9499, 18, 4177, 67, 3239...
self.window.show( \
self.window.show(
def showanchor(self, id): for i in range(len(self.paralist)): p = self.paralist[i] if p.hasanchor(id): long1 = i, 0 long2 = i, len(p.extract()) hit = long1, long2 self.setselection(hit) self.window.show( \ (p.left, p.top), (p.right, p.bottom)) break
9f922de635ac8a34fcde0215dcd842d143171264 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9f922de635ac8a34fcde0215dcd842d143171264/fmt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 16215, 12, 2890, 16, 612, 4672, 364, 277, 316, 1048, 12, 1897, 12, 2890, 18, 1065, 287, 376, 3719, 30, 293, 273, 365, 18, 1065, 287, 376, 63, 77, 65, 309, 293, 18, 5332, 16215,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16215, 12, 2890, 16, 612, 4672, 364, 277, 316, 1048, 12, 1897, 12, 2890, 18, 1065, 287, 376, 3719, 30, 293, 273, 365, 18, 1065, 287, 376, 63, 77, 65, 309, 293, 18, 5332, 16215,...
if self.encrypt_passwords and not self._isPasswordEncrypted(pw):
if self.encrypt_passwords and not self._isPasswordEncrypted(password):
def _doChangeUser(self, name, password, roles, domains, **kw): user=self.data[name] if password is not None: if self.encrypt_passwords and not self._isPasswordEncrypted(pw): password = self._encryptPassword(password) user.__=password user.roles=roles user.domains=domains
980db13e6576efe6d5b94cf88c51cd4915965db0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/980db13e6576efe6d5b94cf88c51cd4915965db0/User.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 3043, 1299, 12, 2890, 16, 508, 16, 2201, 16, 4900, 16, 10128, 16, 2826, 9987, 4672, 729, 33, 2890, 18, 892, 63, 529, 65, 309, 2201, 353, 486, 599, 30, 309, 365, 18, 15890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 3043, 1299, 12, 2890, 16, 508, 16, 2201, 16, 4900, 16, 10128, 16, 2826, 9987, 4672, 729, 33, 2890, 18, 892, 63, 529, 65, 309, 2201, 353, 486, 599, 30, 309, 365, 18, 15890,...
except PathBoundsError: return self.canned_handlers(environ, start_response, '501')
except: return self.canned_handlers(environ, start_response, '404')
def __call__(self, environ, start_response): selector_matches = (environ.get('wsgiorg.routing_args') or ([],{}))[1] if 'working_path' in selector_matches: # working_path is a custom key that I just happened to decide to use # for marking the portion of the URI that is palatable for static serving. # 'working_path' is t...
db3bc11da4b41f34e0884ca184b09be46197429d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14630/db3bc11da4b41f34e0884ca184b09be46197429d/fuzzy_path_handler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 3451, 67, 8436, 273, 261, 28684, 18, 588, 2668, 28539, 3341, 18, 16529, 67, 1968, 6134, 578, 23265, 6487, 2916, 3719, 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, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 3451, 67, 8436, 273, 261, 28684, 18, 588, 2668, 28539, 3341, 18, 16529, 67, 1968, 6134, 578, 23265, 6487, 2916, 3719, 63, ...
delete(path)
delete(filename)
def delete_if_exists(self, pattern, message=None): """ Print a message and delete files and folders matching pattern, e.g. /home/shotfactory1/.mozilla/firefox/*/sessionstore.js to delete Firefox sessions for all profiles. """ for filename in glob(pattern): if self.verbose and message: print message, path if os.path.isd...
8476fa487adbb7f3e358af50c8d5edfaaad170cf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3111/8476fa487adbb7f3e358af50c8d5edfaaad170cf/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 430, 67, 1808, 12, 2890, 16, 1936, 16, 883, 33, 7036, 4672, 3536, 3038, 279, 883, 471, 1430, 1390, 471, 9907, 3607, 1936, 16, 425, 18, 75, 18, 342, 8712, 19, 2415, 6848, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 430, 67, 1808, 12, 2890, 16, 1936, 16, 883, 33, 7036, 4672, 3536, 3038, 279, 883, 471, 1430, 1390, 471, 9907, 3607, 1936, 16, 425, 18, 75, 18, 342, 8712, 19, 2415, 6848, 21...
"""ScrolledTList - TList with scrollbars."""
"""ScrolledTList - TList with automatic scrollbars."""
def __init__(self, master, cnf={}, **kw): TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw) self.subwidget_list['text'] = _dummyText(self, 'text') self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb') self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
01c920b9b56baabd2e1dd945affd1c17c1669b20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/01c920b9b56baabd2e1dd945affd1c17c1669b20/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 23118, 28793, 2826, 9987, 4672, 399, 697, 4609, 16186, 2738, 972, 12, 2890, 16, 4171, 16, 296, 88, 697, 1541, 25054, 1528, 2187, 10228, 2116, 173...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4171, 16, 23118, 28793, 2826, 9987, 4672, 399, 697, 4609, 16186, 2738, 972, 12, 2890, 16, 4171, 16, 296, 88, 697, 1541, 25054, 1528, 2187, 10228, 2116, 173...
wanted = os.path.join(curdir, 'src', 'lxml', 'etree.so')
ext = sysconfig.get_config_var("SO") wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
def test_build_ext_inplace(self): etree_c = os.path.join(self.tmp_dir, 'lxml.etree.c') etree_ext = Extension('lxml.etree', [etree_c]) dist = Distribution({'name': 'lxml', 'ext_modules': [etree_ext]}) cmd = build_ext(dist) cmd.inplace = 1 cmd.distribution.package_dir = {'': 'src'} cmd.distribution.packages = ['lxml', 'l...
cf2be775380063cf5767ac043b5663a983df95da /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/cf2be775380063cf5767ac043b5663a983df95da/test_build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3510, 67, 408, 67, 267, 964, 12, 2890, 4672, 12031, 67, 71, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 5645, 67, 1214, 16, 296, 80, 2902, 18, 31303, 18, 71, 6134, 12031, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3510, 67, 408, 67, 267, 964, 12, 2890, 4672, 12031, 67, 71, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 5645, 67, 1214, 16, 296, 80, 2902, 18, 31303, 18, 71, 6134, 12031, ...
files.append(join(*path[1:]))
files.append(os.path.join(*path[1:]))
def fixed_import(name, globals={}, locals={}, fromlist=[]): if name.startswith('itools.'): name = name[7:] return pythons_import(name, globals, locals, fromlist)
327bd749c1de04f1657831ea57044f31e692f658 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/327bd749c1de04f1657831ea57044f31e692f658/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5499, 67, 5666, 12, 529, 16, 10941, 28793, 8985, 28793, 628, 1098, 33, 8526, 4672, 309, 508, 18, 17514, 1918, 2668, 305, 8192, 1093, 4672, 508, 273, 508, 63, 27, 26894, 327, 5790, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5499, 67, 5666, 12, 529, 16, 10941, 28793, 8985, 28793, 628, 1098, 33, 8526, 4672, 309, 508, 18, 17514, 1918, 2668, 305, 8192, 1093, 4672, 508, 273, 508, 63, 27, 26894, 327, 5790, 87, ...
if not self.path.startswith('/contenttype'):
if not self._ShouldHandleRequest("/contenttype"):
def ContentTypeHandler(self): """Returns a string of html with the given content type. E.g., /contenttype?text/css returns an html file with the Content-Type header set to text/css.""" if not self.path.startswith('/contenttype'): return False query_char = self.path.find('?') content_type = self.path[query_char + 1:].s...
fd57e3fda1b173b113442291fc77ddf1659615e2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5060/fd57e3fda1b173b113442291fc77ddf1659615e2/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11691, 1503, 12, 2890, 4672, 3536, 1356, 279, 533, 434, 1729, 598, 326, 864, 913, 618, 18, 225, 512, 18, 75, 12990, 342, 1745, 723, 35, 955, 19, 5212, 1135, 392, 1729, 585, 598, 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, 11691, 1503, 12, 2890, 4672, 3536, 1356, 279, 533, 434, 1729, 598, 326, 864, 913, 618, 18, 225, 512, 18, 75, 12990, 342, 1745, 723, 35, 955, 19, 5212, 1135, 392, 1729, 585, 598, 326, ...
pass
if len(path)<=1: name+=" - In System" Director.pushSaveSting(plr, "mission_names", name)
def writemissionname(name,path): pass
917e934f83ea781edca1e94264eaa8ce824151a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/917e934f83ea781edca1e94264eaa8ce824151a8/dynamic_mission.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2518, 351, 19710, 529, 12, 529, 16, 803, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 2518, 351, 19710, 529, 12, 529, 16, 803, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
$Id: Publish.py,v 1.41 1997/04/11 22:46:26 jim Exp $"""
$Id: Publish.py,v 1.42 1997/04/23 20:04:46 brian Exp $"""
def taste(spam): "a favorable reviewer" return spam,'yum yum, I like ' + spam
4eb55fa3bdacbb1687dd464f076584bb4fc1225d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/4eb55fa3bdacbb1687dd464f076584bb4fc1225d/Publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 14725, 12, 1752, 301, 4672, 315, 69, 18552, 429, 10725, 264, 6, 327, 24824, 11189, 93, 379, 677, 379, 16, 467, 3007, 296, 397, 24824, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 14725, 12, 1752, 301, 4672, 315, 69, 18552, 429, 10725, 264, 6, 327, 24824, 11189, 93, 379, 677, 379, 16, 467, 3007, 296, 397, 24824, 225, 2, -100, -100, -100, -100, -100, -100, -...
ctype must be either "text/plain" or "message/rfc822". The default content type is not stored in the Content-Type: header. """ if ctype not in ('text/plain', 'message/rfc822'): raise ValueError( 'first arg must be either "text/plain" or "message/rfc822"')
ctype should be either "text/plain" or "message/rfc822", although this is not enforced. The default content type is not stored in the Content-Type: header. """
def set_default_type(self, ctype): """Set the `default' content type.
f0780af3dafb43f79f08732b4f49c531fae31558 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f0780af3dafb43f79f08732b4f49c531fae31558/Message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 1886, 67, 723, 12, 2890, 16, 11920, 4672, 3536, 694, 326, 1375, 1886, 11, 913, 618, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 67, 1886, 67, 723, 12, 2890, 16, 11920, 4672, 3536, 694, 326, 1375, 1886, 11, 913, 618, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
vList.append( Violation(self, line.number, "failed '-'") )
vList.append( Violation(self, line, "failed '-'") )
def apply(self, lines): vList = [] if (self.getFiletype() in self.getTypeList()): for line in lines:
cb6d1c1b9da3a15f55b42e7ffc55f274aee325d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6529/cb6d1c1b9da3a15f55b42e7ffc55f274aee325d2/style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 12, 2890, 16, 2362, 4672, 331, 682, 273, 5378, 225, 309, 261, 2890, 18, 588, 25579, 5872, 1435, 316, 365, 18, 588, 559, 682, 1435, 4672, 364, 980, 316, 2362, 30, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 12, 2890, 16, 2362, 4672, 331, 682, 273, 5378, 225, 309, 261, 2890, 18, 588, 25579, 5872, 1435, 316, 365, 18, 588, 559, 682, 1435, 4672, 364, 980, 316, 2362, 30, 2, -100, -100, ...
if calc_total:
if rating_results:
def get_results_by_day(events, start_date, end_date): date_dic = {} total_label = _("Total") calc_total = False result = { 'series': [] } for event in events: key = get_date_key(event.create_date) if event.type == EventType.ORDER_RATED: if not total_label in date_dic: date_dic[total_label] = {} calc_total = True if ev...
f5e88e248cc25cd1d01bd0464b0372f02b8c9aed /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7532/f5e88e248cc25cd1d01bd0464b0372f02b8c9aed/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4717, 67, 1637, 67, 2881, 12, 5989, 16, 787, 67, 712, 16, 679, 67, 712, 4672, 1509, 67, 15859, 273, 2618, 2078, 67, 1925, 273, 389, 2932, 5269, 7923, 7029, 67, 4963, 273, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4717, 67, 1637, 67, 2881, 12, 5989, 16, 787, 67, 712, 16, 679, 67, 712, 4672, 1509, 67, 15859, 273, 2618, 2078, 67, 1925, 273, 389, 2932, 5269, 7923, 7029, 67, 4963, 273, 10...
first = True for a in t.names: if first: first = False else: self.write(", ") self.write(a.name) if a.asname: self.write(" as "+a.asname)
interleave(lambda: self.write(", "), self.dispatch, t.names)
def _Import(self, t): self.fill("import ") first = True for a in t.names: if first: first = False else: self.write(", ") self.write(a.name) if a.asname: self.write(" as "+a.asname)
370480032ecec8ec7718f276ca463670a69ead37 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/370480032ecec8ec7718f276ca463670a69ead37/unparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5010, 12, 2890, 16, 268, 4672, 365, 18, 5935, 2932, 5666, 9369, 1122, 273, 1053, 364, 279, 316, 268, 18, 1973, 30, 309, 1122, 30, 1122, 273, 1083, 469, 30, 365, 18, 2626, 2932, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5010, 12, 2890, 16, 268, 4672, 365, 18, 5935, 2932, 5666, 9369, 1122, 273, 1053, 364, 279, 316, 268, 18, 1973, 30, 309, 1122, 30, 1122, 273, 1083, 469, 30, 365, 18, 2626, 2932, ...
AUTHORS: David Joyner (3-2006, 8-2007)
AUTHORS: - David Joyner (3-2006, 8-2007)
def desolve_system_strings(des,vars,ics=None): """ Solves any size system of 1st order ODE's. Initials conditions are optional. INPUT: de -- a list of strings representing the ODEs in maxima notation (eg, de = "diff(f(x),x,2)=diff(f(x),x)+sin(x)") vars -- a list of strings representing the variables (eg, vars = [...
a5e01917e5cb3eb9aa0a8033daad14821fe571aa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/a5e01917e5cb3eb9aa0a8033daad14821fe571aa/desolvers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 5390, 67, 4299, 67, 10219, 12, 5489, 16, 4699, 16, 2102, 33, 7036, 4672, 3536, 348, 355, 3324, 1281, 963, 2619, 434, 404, 334, 1353, 531, 1639, 1807, 18, 10188, 87, 4636, 854, 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, 2832, 5390, 67, 4299, 67, 10219, 12, 5489, 16, 4699, 16, 2102, 33, 7036, 4672, 3536, 348, 355, 3324, 1281, 963, 2619, 434, 404, 334, 1353, 531, 1639, 1807, 18, 10188, 87, 4636, 854, 31...
import fpformat
def __repr__(self): taskNameWidth = 32 dtWidth = 10 priorityWidth = 10 totalDt = 0 totalAvgDt = 0 str = "The taskMgr is handling:\n" str += ('taskList'.ljust(taskNameWidth) + 'dt(ms)'.rjust(dtWidth) + 'avg'.rjust(dtWidth) + 'max'.rjust(dtWidth) + 'priority'.rjust(priorityWidth) + '\n') str += '-------------------------...
3c0d5e634275e3b2542aa1ddf5ebc1355d8fefa1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/3c0d5e634275e3b2542aa1ddf5ebc1355d8fefa1/Task.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 20172, 2384, 273, 3847, 3681, 2384, 273, 1728, 4394, 2384, 273, 1728, 2078, 19739, 273, 374, 2078, 22823, 19739, 273, 374, 609, 273, 315, 1986, 1562, 9455...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20172, 2384, 273, 3847, 3681, 2384, 273, 1728, 4394, 2384, 273, 1728, 2078, 19739, 273, 374, 2078, 22823, 19739, 273, 374, 609, 273, 315, 1986, 1562, 9455...
raise GraphError("no internal %s property named: %d" %\
raise GraphError("no internal %s property named: %s" %\
def _prop(t, g, prop): """Returns either a property map, or an internal vertex property map with a given name""" if type(prop) == str: try: pmap = g.properties[(t,prop)] except KeyError: raise GraphError("no internal %s property named: %d" %\ ("vertex" if t == "v" else \ ("edge" if t == "e" else "graph"),prop)) else: p...
3ba46e75d5f664e1e71d425bc56b2a987c3636f2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3516/3ba46e75d5f664e1e71d425bc56b2a987c3636f2/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5986, 12, 88, 16, 314, 16, 2270, 4672, 3536, 1356, 3344, 279, 1272, 852, 16, 578, 392, 2713, 5253, 1272, 852, 598, 279, 864, 508, 8395, 309, 618, 12, 5986, 13, 422, 609, 30, 775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5986, 12, 88, 16, 314, 16, 2270, 4672, 3536, 1356, 3344, 279, 1272, 852, 16, 578, 392, 2713, 5253, 1272, 852, 598, 279, 864, 508, 8395, 309, 618, 12, 5986, 13, 422, 609, 30, 775...
self.dirCache[event.filename] = self.getChild(event.filename).fileHandle
self.dirCache[filename] = self.getChild(filename).fileHandle
def onMonitorEvent(self, event): code = event.code2str()
fc5e2c99905d949711a9178604f9d58b3058b50a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/fc5e2c99905d949711a9178604f9d58b3058b50a/spreadfs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 7187, 1133, 12, 2890, 16, 871, 4672, 981, 273, 871, 18, 710, 22, 701, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 7187, 1133, 12, 2890, 16, 871, 4672, 981, 273, 871, 18, 710, 22, 701, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not cacheheads: _debug(ui, 'tag cache: cache file missing or empty\n')
def _readtagcache(ui, repo): '''Read the tag cache and return a tuple (heads, fnodes, cachetags, shouldwrite). If the cache is completely up-to-date, cachetags is a dict of the form returned by _readtags(); otherwise, it is None and heads and fnodes are set. In that case, heads is the list of all heads currently in t...
b2451d75e661d2c1bb8833ce32d5b7db4222606b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/b2451d75e661d2c1bb8833ce32d5b7db4222606b/tags.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 2692, 2493, 12, 4881, 16, 3538, 4672, 9163, 1994, 326, 1047, 1247, 471, 327, 279, 3193, 261, 20263, 16, 2295, 1145, 16, 7122, 278, 1341, 16, 1410, 2626, 2934, 225, 971, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 2692, 2493, 12, 4881, 16, 3538, 4672, 9163, 1994, 326, 1047, 1247, 471, 327, 279, 3193, 261, 20263, 16, 2295, 1145, 16, 7122, 278, 1341, 16, 1410, 2626, 2934, 225, 971, 326, ...
return os.path.normpath(os.path.join(dir, outfile))
output_image_filename = os.path.normpath(os.path.join(dir, outfile)) print "get_output_image_filename(): output_image_filename = ", output_image_filename return output_image_filename
def get_output_image_filename(self): """Returns the fullpath of the output image filename based on the <povrayscene_file> and <output_type> attrs. """ if not self.povrayscene_file: return "" if self.output_type == 'bmp': output_ext = '.bmp' else: # default output_ext = '.png' dir, tmp_pov = os.path.split(self.povray...
05a09e8fce4a794de2c8e401a50f930afe649894 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/05a09e8fce4a794de2c8e401a50f930afe649894/PovrayScene.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2844, 67, 2730, 67, 3459, 12, 2890, 4672, 3536, 1356, 326, 15170, 434, 326, 876, 1316, 1544, 2511, 603, 326, 411, 84, 1527, 435, 23694, 67, 768, 34, 471, 411, 2844, 67, 723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2844, 67, 2730, 67, 3459, 12, 2890, 4672, 3536, 1356, 326, 15170, 434, 326, 876, 1316, 1544, 2511, 603, 326, 411, 84, 1527, 435, 23694, 67, 768, 34, 471, 411, 2844, 67, 723, ...
oldRuleset = self.rulesets[(server, channel)]
oldRuleset = self.rulesets[tuple(server), channel]
def setIrcRuleset(self, message): """Handle messages instructing us to add, modify, or remove the IRCRuleset instance for a particular channel. These messages are of the form:
e54512034c2b171037e3a9ef4fafaac4d52b2af1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/e54512034c2b171037e3a9ef4fafaac4d52b2af1/IRCMessage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20691, 1310, 4478, 278, 12, 2890, 16, 883, 4672, 3536, 3259, 2743, 316, 1697, 310, 584, 358, 527, 16, 5612, 16, 578, 1206, 326, 467, 11529, 4478, 278, 791, 364, 279, 6826, 1904, 18, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20691, 1310, 4478, 278, 12, 2890, 16, 883, 4672, 3536, 3259, 2743, 316, 1697, 310, 584, 358, 527, 16, 5612, 16, 578, 1206, 326, 467, 11529, 4478, 278, 791, 364, 279, 6826, 1904, 18, 86...
if hasattr(self, "window") and hasattr(self._window, "ShutdownDemo"):
if hasattr(self, "_window") and hasattr(self._window, "ShutdownDemo"):
def _OnCloseFrame(self, evt): """ Handles the close frame event. """ if hasattr(self, "window") and hasattr(self._window, "ShutdownDemo"): self._window.ShutdownDemo() evt.Skip()
efcad8aa9b0d09c282cd56842f57c8f872b7fdfa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4583/efcad8aa9b0d09c282cd56842f57c8f872b7fdfa/slideshowview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1398, 4605, 3219, 12, 2890, 16, 6324, 4672, 3536, 27020, 326, 1746, 2623, 871, 18, 3536, 309, 3859, 12, 2890, 16, 4192, 5668, 7923, 471, 3859, 12, 2890, 6315, 5668, 16, 315, 10961, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1398, 4605, 3219, 12, 2890, 16, 6324, 4672, 3536, 27020, 326, 1746, 2623, 871, 18, 3536, 309, 3859, 12, 2890, 16, 4192, 5668, 7923, 471, 3859, 12, 2890, 6315, 5668, 16, 315, 10961, ...
'mtime': str(self.timestamp.strftime('%Y%m%d%H%M%S')),
'mtime': mtime.strftime('%Y%m%d%H%M%S'),
def get_catalog_indexes(self): from access import RoleAware
e94d5f07a443410ea93a5b7a7482e3619fd384aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/e94d5f07a443410ea93a5b7a7482e3619fd384aa/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7199, 67, 11265, 12, 2890, 4672, 628, 2006, 1930, 6204, 10155, 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, ...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7199, 67, 11265, 12, 2890, 4672, 628, 2006, 1930, 6204, 10155, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
prof_start_phase)
prof_start_phase, options.debug)
def main(): # Open file datfn = args[0] timeseries = datfile.Datfile(datfn) if options.shift_phase != 0.0: # Only shift phase by a fraction of one rotation options.shift_phase -= int(options.shift_phase) if options.shift_phase < 0.0: options.shift_phase += 1.0 else: shift_time = 0.0 print "Searching %s for single pul...
e6a4e8efe30ac55a66af024075ebbda1dcb3c7b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3485/e6a4e8efe30ac55a66af024075ebbda1dcb3c7b4/dissect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 3502, 585, 1150, 4293, 273, 833, 63, 20, 65, 18677, 273, 1150, 768, 18, 5139, 768, 12, 3404, 4293, 13, 225, 309, 702, 18, 4012, 67, 13961, 480, 374, 18, 20, 30, 468...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 3502, 585, 1150, 4293, 273, 833, 63, 20, 65, 18677, 273, 1150, 768, 18, 5139, 768, 12, 3404, 4293, 13, 225, 309, 702, 18, 4012, 67, 13961, 480, 374, 18, 20, 30, 468...
use = repr(str(val))
use = repr(val)
def WriteEnumerationItems(self, stream): enumName = self.doc[0] # Write in name alpha order names = self.mapVars.keys() names.sort() for name in names: entry = self.mapVars[name] vdesc = entry.desc if vdesc[4] == pythoncom.VAR_CONST: val = vdesc[1] if type(val) in (type(0), type(0L)): if val==0x80000000L: # special cas...
c267aaff6cbecce03110cc7981e4c1ccaf315f32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/992/c267aaff6cbecce03110cc7981e4c1ccaf315f32/genpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 21847, 3126, 12, 2890, 16, 1407, 4672, 2792, 461, 273, 365, 18, 2434, 63, 20, 65, 468, 2598, 316, 508, 4190, 1353, 1257, 273, 365, 18, 1458, 5555, 18, 2452, 1435, 1257, 18, 3804,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21847, 3126, 12, 2890, 16, 1407, 4672, 2792, 461, 273, 365, 18, 2434, 63, 20, 65, 468, 2598, 316, 508, 4190, 1353, 1257, 273, 365, 18, 1458, 5555, 18, 2452, 1435, 1257, 18, 3804,...
def __init__(self,node,type=0,dimensions={}): LinkedFileVariableStore.__init__(self,node,dimensions)
def __init__(self,node,type=0,dimensions={},dimensionorder=()): LinkedFileVariableStore.__init__(self,node,dimensions,dimensionorder)
def __init__(self,node,type=0,dimensions={}): LinkedFileVariableStore.__init__(self,node,dimensions) self.variableclass = self.LinkedMatrixVariable assert len(self.dimensions)<=1, 'Linkedmatrix objects can only be used with 0 or 1 coordinate dimensions, but %i are present.' % len(self.dimensions) self.type = type
0cefcd100f374a4903a8727d77d7cdd4ed6d7a80 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/381/0cefcd100f374a4903a8727d77d7cdd4ed6d7a80/data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2159, 16, 723, 33, 20, 16, 14797, 28793, 11808, 1019, 33, 1435, 4672, 6546, 812, 3092, 2257, 16186, 2738, 972, 12, 2890, 16, 2159, 16, 14797, 16, 11808, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2159, 16, 723, 33, 20, 16, 14797, 28793, 11808, 1019, 33, 1435, 4672, 6546, 812, 3092, 2257, 16186, 2738, 972, 12, 2890, 16, 2159, 16, 14797, 16, 11808, ...
sim.getRNG().setSeed(12345)
sim.getRNG().set(seed=12345)
def demo(gen, pop): if gen < 2: return 1000 + 100 * gen else: return [x + 50 * gen for x in pop.subPopSizes()]
205f55f8c6cd28aed704d70838912648f07ac340 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/401/205f55f8c6cd28aed704d70838912648f07ac340/userGuide.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21477, 12, 4507, 16, 1843, 4672, 309, 3157, 411, 576, 30, 327, 4336, 397, 2130, 380, 3157, 469, 30, 327, 306, 92, 397, 6437, 380, 3157, 364, 619, 316, 1843, 18, 1717, 7049, 11923, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21477, 12, 4507, 16, 1843, 4672, 309, 3157, 411, 576, 30, 327, 4336, 397, 2130, 380, 3157, 469, 30, 327, 306, 92, 397, 6437, 380, 3157, 364, 619, 316, 1843, 18, 1717, 7049, 11923, 1435...
raise ParseException, ( instring, loc, "Text not in expected column", self )
raise ParseException( instring, loc, "Text not in expected column", self )
def parseImpl( self, instring, loc, doActions=True ): thiscol = col( loc, instring ) if thiscol > self.col: raise ParseException, ( instring, loc, "Text not in expected column", self ) newloc = loc + self.col - thiscol ret = instring[ loc: newloc ] return newloc, ret
0d5c070900efe583f55b5d4d6525eb2686936701 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12364/0d5c070900efe583f55b5d4d6525eb2686936701/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, 333, 1293, 273, 645, 12, 1515, 16, 316, 1080, 262, 309, 333, 1293, 405, 365, 18, 1293, 30, 1002, 10616...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 333, 1293, 273, 645, 12, 1515, 16, 316, 1080, 262, 309, 333, 1293, 405, 365, 18, 1293, 30, 1002, 10616...
import sys
def test(): import sys if not sys.argv[3:]: print('usage: python makeconfig.py config.c.in outputfile', end=' ') print('modulename ...') sys.exit(2) if sys.argv[1] == '-': infp = sys.stdin else: infp = open(sys.argv[1]) if sys.argv[2] == '-': outfp = sys.stdout else: outfp = open(sys.argv[2], 'w') makeconfig(infp, outf...
2114f9ecb532f94075803ef01babe780b6039c21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/2114f9ecb532f94075803ef01babe780b6039c21/makeconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 309, 486, 2589, 18, 19485, 63, 23, 30, 14542, 1172, 2668, 9167, 30, 5790, 29796, 22703, 18, 2074, 642, 18, 71, 18, 267, 876, 768, 2187, 679, 2218, 8624, 1172, 2668, 1711, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 486, 2589, 18, 19485, 63, 23, 30, 14542, 1172, 2668, 9167, 30, 5790, 29796, 22703, 18, 2074, 642, 18, 71, 18, 267, 876, 768, 2187, 679, 2218, 8624, 1172, 2668, 1711, ...
self.load_state_from(file)
self.load_state_from_string(data)
def upload(self, context): file = context.get_form_value('file')
42a08d7832e13344a0b3901159d885d6e6f2aac6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/42a08d7832e13344a0b3901159d885d6e6f2aac6/File.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 12, 2890, 16, 819, 4672, 585, 273, 819, 18, 588, 67, 687, 67, 1132, 2668, 768, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 12, 2890, 16, 819, 4672, 585, 273, 819, 18, 588, 67, 687, 67, 1132, 2668, 768, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
select count(bl_job.id) from bl_job,bl_runningjob where bl_runningjob.job_id=bl_job.id and bl_runningjob.task_id=bl_job.task_id and bl_job.name like '%LogCollect%' and bl_runningjob.status not in ('E','C','SA','SD');
select count(bl_job.id) from bl_job,bl_runningjob where bl_runningjob.job_id=bl_job.id and bl_runningjob.task_id=bl_job.task_id and bl_job.name like '%LogCollect%' and bl_runningjob.status not in ('E','C','A','SD') and bl_runningjob.closed='N';
def __call__(self): """ _operator()_
c3e9067d0f5cfffd1ac9d61af2642f2d3b53e8b0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8887/c3e9067d0f5cfffd1ac9d61af2642f2d3b53e8b0/BlSimpleMonitors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 3536, 389, 9497, 1435, 67, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 3536, 389, 9497, 1435, 67, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.alphaOff),
),
def getFadeOutIval(self, t=0.5, finishIval=None): """ Create a sequence that lerps the color out, then parents the fade to hidden """ self.noTransitions() self.loadFade()
d19ff570b4eb7c0e206963c289c6b28798a99f59 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7242/d19ff570b4eb7c0e206963c289c6b28798a99f59/Transitions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2812, 2486, 1182, 45, 1125, 12, 2890, 16, 268, 33, 20, 18, 25, 16, 4076, 45, 1125, 33, 7036, 4672, 3536, 1788, 279, 3102, 716, 328, 264, 1121, 326, 2036, 596, 16, 1508, 6298, 326, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2812, 2486, 1182, 45, 1125, 12, 2890, 16, 268, 33, 20, 18, 25, 16, 4076, 45, 1125, 33, 7036, 4672, 3536, 1788, 279, 3102, 716, 328, 264, 1121, 326, 2036, 596, 16, 1508, 6298, 326, 24...
return defer.deferToThread(socket.gethostbyname, name).chainDeferred(d)
return threads.deferToThread(socket.gethostbyname, name)
def getHostByName(self, name, timeout = 10): # XXX - Make this respect timeout return defer.deferToThread(socket.gethostbyname, name).chainDeferred(d)
702b60953389156b6b780a10b587e54e2808837d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/702b60953389156b6b780a10b587e54e2808837d/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8580, 5911, 12, 2890, 16, 508, 16, 2021, 273, 1728, 4672, 468, 11329, 300, 4344, 333, 8762, 2021, 327, 2220, 18, 18974, 774, 3830, 12, 7814, 18, 75, 546, 669, 1637, 529, 16, 508, 2934,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8580, 5911, 12, 2890, 16, 508, 16, 2021, 273, 1728, 4672, 468, 11329, 300, 4344, 333, 8762, 2021, 327, 2220, 18, 18974, 774, 3830, 12, 7814, 18, 75, 546, 669, 1637, 529, 16, 508, 2934,...
>>> rev_merger(keys, rev_twdict)
>>> rev_merger(keys, rev_twdict, True)
def rev_merger(anno_dict, use_dict, verbose=True): """ merge extra bindings into reverse dict
2a50941be1a6c8368a3d1c517506ec114dd7579d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1969/2a50941be1a6c8368a3d1c517506ec114dd7579d/pyzh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5588, 67, 6592, 693, 12, 1072, 83, 67, 1576, 16, 999, 67, 1576, 16, 3988, 33, 5510, 4672, 3536, 2691, 2870, 7394, 1368, 4219, 2065, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5588, 67, 6592, 693, 12, 1072, 83, 67, 1576, 16, 999, 67, 1576, 16, 3988, 33, 5510, 4672, 3536, 2691, 2870, 7394, 1368, 4219, 2065, 225, 2, -100, -100, -100, -100, -100, -100, -100, -1...
def test_bugzilla_importing_hits_network_if_urls_are_not_fresh(self):
@mock.patch('mysite.customs.bugtrackers.bugzilla.url2bug_data') def test_bugzilla_importing_hits_network_if_urls_are_not_fresh(self, mock_xml_opener):
def test_bugzilla_importing_hits_network_if_urls_are_not_fresh(self): # First, show that in the not-fresh case, we do hit the network. # Jack, could you write this? pass
ea119acae1bc5490e58f894d4a21399354b897e3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11976/ea119acae1bc5490e58f894d4a21399354b897e3/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 632, 22851, 18, 2272, 2668, 81, 1900, 1137, 18, 3662, 87, 18, 925, 4101, 414, 18, 925, 15990, 18, 718, 22, 925, 67, 892, 6134, 1652, 1842, 67, 925, 15990, 67, 5666, 310, 67, 15173, 67, 518...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 632, 22851, 18, 2272, 2668, 81, 1900, 1137, 18, 3662, 87, 18, 925, 4101, 414, 18, 925, 15990, 18, 718, 22, 925, 67, 892, 6134, 1652, 1842, 67, 925, 15990, 67, 5666, 310, 67, 15173, 67, 518...
for word, nbhits in browsed_words_in_colls[:-1]:
for phrase, nbhits in browsed_phrases_in_colls[:-1]:
def browse_pattern(req, colls, p, f, rg): """Browse either biliographic phrases or words indexes, and display it.""" ## do we search in words indexes? if not f: return browse_in_bibwords(req, p, f) ## prepare collection urlargument for later printing: p_orig = p urlarg_colls = "" for coll in colls: urlarg_colls += "&c=...
535ed6a8d836745c0ddd7f1016fbe145d7c7bebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/535ed6a8d836745c0ddd7f1016fbe145d7c7bebd/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21670, 67, 4951, 12, 3658, 16, 645, 3251, 16, 293, 16, 284, 16, 14524, 4672, 3536, 27304, 3344, 324, 15700, 16983, 31413, 578, 4511, 5596, 16, 471, 2562, 518, 12123, 7541, 741, 732, 1623...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21670, 67, 4951, 12, 3658, 16, 645, 3251, 16, 293, 16, 284, 16, 14524, 4672, 3536, 27304, 3344, 324, 15700, 16983, 31413, 578, 4511, 5596, 16, 471, 2562, 518, 12123, 7541, 741, 732, 1623...
module = getattr(getattr(package, nom), \ nom.capitalize())
module = getattr(getattr(package, nom), "Module")
def charger_module(self, m_type, nom): """Méthode permettant de charger un module en fonction de son type et de son nom. Si le module est déjà chargé, on ne fait rien.
0d6dc5ebd9c0f6b77ce016ac0aadcb46a1efb756 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5973/0d6dc5ebd9c0f6b77ce016ac0aadcb46a1efb756/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1149, 693, 67, 2978, 12, 2890, 16, 312, 67, 723, 16, 12457, 4672, 3536, 49, 132, 107, 451, 390, 4641, 278, 88, 970, 443, 1149, 693, 640, 1605, 570, 284, 265, 349, 443, 18882, 618, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1149, 693, 67, 2978, 12, 2890, 16, 312, 67, 723, 16, 12457, 4672, 3536, 49, 132, 107, 451, 390, 4641, 278, 88, 970, 443, 1149, 693, 640, 1605, 570, 284, 265, 349, 443, 18882, 618, 33...
self.putrequest(method, url)
if (headers.has_key('Host') or [k for k in headers.iterkeys() if k.lower() == "host"]): self.putrequest(method, url, skip_host=1) else: self.putrequest(method, url)
def _send_request(self, method, url, body, headers): self.putrequest(method, url)
9ac184008fd86d3fe878e280b8a676065875c567 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9ac184008fd86d3fe878e280b8a676065875c567/httplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 67, 2293, 12, 2890, 16, 707, 16, 880, 16, 1417, 16, 1607, 4672, 365, 18, 458, 2293, 12, 2039, 16, 880, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 67, 2293, 12, 2890, 16, 707, 16, 880, 16, 1417, 16, 1607, 4672, 365, 18, 458, 2293, 12, 2039, 16, 880, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pass def WriteClientSideValidationCode(self, file): """Writes the validation code for an argument.""" pass
if self.type == 'GLsizei' or self.type == 'GLsizeiptr': file.Write(" if (%s < 0) {\n" % self.name) file.Write(" SetGLError(GL_INVALID_VALUE);\n") file.Write(" return error::kNoError;\n") file.Write(" }\n")
def WriteValidationCode(self, file): """Writes the validation code for an argument.""" pass
85c6d6739a81098c35cb35c3430f038ed4f5ddab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/85c6d6739a81098c35cb35c3430f038ed4f5ddab/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 4354, 1085, 12, 2890, 16, 585, 4672, 3536, 8368, 326, 3379, 981, 364, 392, 1237, 12123, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 4354, 1085, 12, 2890, 16, 585, 4672, 3536, 8368, 326, 3379, 981, 364, 392, 1237, 12123, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def get(self):
def post(self):
def get(self): user = users.get_current_user() if user: key = self.request.get('key') correct = int(self.request.get('correct')) userExercise = db.get(key) if (correct==0): userExercise.streak =0 userExercise.put() else: self.redirect(users.create_login_url(self.request.uri))
97a329fa720bf84a8a44977480527e7fa33e5b34 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12010/97a329fa720bf84a8a44977480527e7fa33e5b34/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 4672, 729, 273, 3677, 18, 588, 67, 2972, 67, 1355, 1435, 309, 729, 30, 498, 273, 365, 18, 2293, 18, 588, 2668, 856, 6134, 3434, 273, 509, 12, 2890, 18, 2293, 18, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 4672, 729, 273, 3677, 18, 588, 67, 2972, 67, 1355, 1435, 309, 729, 30, 498, 273, 365, 18, 2293, 18, 588, 2668, 856, 6134, 3434, 273, 509, 12, 2890, 18, 2293, 18, 588,...
if finalimg_width > self.available_image_width(): self.hscroll.show() else: self.hscroll.hide() if finalimg_height > self.available_image_height(): self.vscroll.show() else: self.vscroll.hide() self.layout.set_size(finalimg_width, finalimg_height) self.center_image(finalimg_width, finalimg_height)
if self.orientation == 0: self.currimg_width, self.currimg_height = finalimg_width, finalimg_height else: self.currimg_width, self.currimg_height = finalimg_height, finalimg_width self.show_scrollbars_if_needed() self.layout.set_size(self.currimg_width, self.currimg_height) self.center_image()
def put_zoom_image_to_window(self): previmg = self.currimg # Always start with the original image to preserve quality! # Calculate image size: finalimg_width = int(self.originalimg.get_width() * self.zoomratio) finalimg_height = int(self.originalimg.get_height() * self.zoomratio) # If self.zoomratio < 1, scale first so...
76a2283830945fb2f62193dae50ef08730d10a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/76a2283830945fb2f62193dae50ef08730d10a74/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 14932, 67, 2730, 67, 869, 67, 5668, 12, 2890, 4672, 2807, 6081, 273, 365, 18, 17016, 6081, 468, 14178, 787, 598, 326, 2282, 1316, 358, 9420, 9312, 5, 468, 9029, 1316, 963, 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, 1378, 67, 14932, 67, 2730, 67, 869, 67, 5668, 12, 2890, 4672, 2807, 6081, 273, 365, 18, 17016, 6081, 468, 14178, 787, 598, 326, 2282, 1316, 358, 9420, 9312, 5, 468, 9029, 1316, 963, 30...
self._debug('Returning: \'%s\'' % retval)
def read(self, length, offset): self._debug('opcode: read | path: %s | len: %d | offset: %d' % (self._path, length, offset))
9a00bcecc671abd15e689eebdedc4ee47e0ef5d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10739/9a00bcecc671abd15e689eebdedc4ee47e0ef5d3/fusefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 769, 16, 1384, 4672, 365, 6315, 4148, 2668, 556, 710, 30, 855, 571, 589, 30, 738, 87, 571, 562, 30, 738, 72, 571, 1384, 30, 738, 72, 11, 738, 261, 2890, 6315, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 769, 16, 1384, 4672, 365, 6315, 4148, 2668, 556, 710, 30, 855, 571, 589, 30, 738, 87, 571, 562, 30, 738, 72, 571, 1384, 30, 738, 72, 11, 738, 261, 2890, 6315, 80...
self.exportAttributes(outfile, level, namespace_, name_='CellSet')
self.exportAttributes(outfile, level, [], namespace_, name_='CellSet')
def export(self, outfile, level, namespace_='', name_='CellSet', namespacedef_=''): showIndent(outfile, level) outfile.write('<%s%s%s' % (namespace_, name_, namespacedef_ and ' ' + namespacedef_ or '', )) self.exportAttributes(outfile, level, namespace_, name_='CellSet') outfile.write(' xmlns:xsi="http://www.w3.org/200...
10f2a4b3101435822c472af9b202a5a0bb496366 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/10f2a4b3101435822c472af9b202a5a0bb496366/_nexml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 2187, 508, 67, 2218, 4020, 694, 2187, 1981, 536, 67, 2218, 11, 4672, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 2187, 508, 67, 2218, 4020, 694, 2187, 1981, 536, 67, 2218, 11, 4672, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, ...
if abs(pearson) < self.minPearson: return
if abs(pearson) <= self.minPearson: return
def addLinePearson(self, xDataList, yDataList, countX, countY, actual, sum): expected = float(countX*countY)/float(sum) if actual == expected == 0: return elif expected == 0: # if expected == 0 we have to solve division by zero. In reverse example (when actual == 0) pearson = -expected/sqrt(expected) pearson = actu...
770e6b5e83c272a7f8ca88d948a9b503fcdc223b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/770e6b5e83c272a7f8ca88d948a9b503fcdc223b/OWSieveMultigramGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26772, 52, 2091, 816, 12, 2890, 16, 619, 24274, 16, 677, 24274, 16, 1056, 60, 16, 1056, 61, 16, 3214, 16, 2142, 4672, 2665, 273, 1431, 12, 1883, 60, 14, 1883, 61, 13176, 5659, 12, 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, 26772, 52, 2091, 816, 12, 2890, 16, 619, 24274, 16, 677, 24274, 16, 1056, 60, 16, 1056, 61, 16, 3214, 16, 2142, 4672, 2665, 273, 1431, 12, 1883, 60, 14, 1883, 61, 13176, 5659, 12, 13...
self.set_bugzilla_owner(identity.current.user.email,
self._set_bugzilla_owner(identity.current.user.email,
def toggle_owner(self, pkg_listing_id): '''Orphan package or set the owner to the logged in user.
50792bd5c76d57799fd3cea5c0ee3a7a9f714113 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9953/50792bd5c76d57799fd3cea5c0ee3a7a9f714113/dispatcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 8443, 12, 2890, 16, 3475, 67, 21228, 67, 350, 4672, 9163, 30509, 2181, 578, 444, 326, 3410, 358, 326, 7545, 316, 729, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 8443, 12, 2890, 16, 3475, 67, 21228, 67, 350, 4672, 9163, 30509, 2181, 578, 444, 326, 3410, 358, 326, 7545, 316, 729, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
description=default_workflow.description))
description=desc))
def available_workflows(self): vocab_factory = getUtility(IVocabularyFactory, name="plone.app.vocabularies.Workflows") workflows = [dict(id=v.value, title=v.token) for v in vocab_factory(self.context)] if self.type_id: # Only offer a default workflow option on a real type default_workflow = self.default_workflow(False)...
e93898a37317bc411a268b219c5222f0cda90440 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12189/e93898a37317bc411a268b219c5222f0cda90440/types.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 13815, 87, 12, 2890, 4672, 9623, 67, 6848, 273, 336, 6497, 12, 8188, 23348, 1733, 16, 508, 1546, 412, 476, 18, 2910, 18, 15913, 2490, 606, 18, 8484, 87, 7923, 31738, 273, 306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 13815, 87, 12, 2890, 4672, 9623, 67, 6848, 273, 336, 6497, 12, 8188, 23348, 1733, 16, 508, 1546, 412, 476, 18, 2910, 18, 15913, 2490, 606, 18, 8484, 87, 7923, 31738, 273, 306...
ParseDbg.add("parse_desc [DESC] \"%s\" not active" % plugin)
self.pdbg("parse_desc [DESC] \"%s\" not active" % plugin) self.parse_dbg_indent = self.parse_dbg_indent[:-2]
def parse_desc(self): """match patterns against the description string in the plugin header.""" match = re_desc_fun.match(self.buffer) if match: p = match.span(0)[1] self.buffer = self.buffer[p:] ParseDbg.add("parse_desc new buffer = %s" % self.buffer) bang = match.group(1) # means to invert the meaning of the match pa...
57b9dbd56a9e011788ef60900e9a91776ddbb48d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2827/57b9dbd56a9e011788ef60900e9a91776ddbb48d/mlox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 5569, 12, 2890, 4672, 3536, 1916, 6884, 5314, 326, 2477, 533, 316, 326, 1909, 1446, 12123, 845, 273, 283, 67, 5569, 67, 12125, 18, 1916, 12, 2890, 18, 4106, 13, 309, 845, 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, 1109, 67, 5569, 12, 2890, 4672, 3536, 1916, 6884, 5314, 326, 2477, 533, 316, 326, 1909, 1446, 12123, 845, 273, 283, 67, 5569, 67, 12125, 18, 1916, 12, 2890, 18, 4106, 13, 309, 845, 30,...
if userhome.endswith('/'): i += 1
userhome = userhome.rstrip('/')
def expanduser(path): """Expand ~ and ~user constructions. If user or $HOME is unknown, do nothing.""" if not path.startswith('~'): return path i = path.find('/', 1) if i < 0: i = len(path) if i == 1: if 'HOME' not in os.environ: import pwd userhome = pwd.getpwuid(os.getuid()).pw_dir else: userhome = os.environ['HOME'...
8d1e5bffc1249cdb5a8ced25e6f89328e7366290 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/8d1e5bffc1249cdb5a8ced25e6f89328e7366290/posixpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14717, 12, 803, 4672, 3536, 12271, 4871, 471, 4871, 1355, 16171, 87, 18, 225, 971, 729, 578, 271, 14209, 353, 5917, 16, 741, 5083, 12123, 309, 486, 589, 18, 17514, 1918, 2668, 20206, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14717, 12, 803, 4672, 3536, 12271, 4871, 471, 4871, 1355, 16171, 87, 18, 225, 971, 729, 578, 271, 14209, 353, 5917, 16, 741, 5083, 12123, 309, 486, 589, 18, 17514, 1918, 2668, 20206, 467...
via = req.getHFBody('via', 0)
via = req.getHFBodys('via')[0]
def recvRequest(self, req): if req.getHFBody('to').getTag() != None: # Request within dialog, but no such dialog return (req.genResponse(481, 'Call Leg/Transaction Does Not Exist'), None, None) if req.getMethod() == 'INVITE': # New dialog if req.countHFs('via') > 1: via = req.getHFBody('via', 1) else: via = req.getHFBo...
b521da745d3dbd0c35f0169d3978bfe8a397412b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8853/b521da745d3dbd0c35f0169d3978bfe8a397412b/b2bua_radius.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10665, 691, 12, 2890, 16, 1111, 4672, 309, 1111, 18, 588, 44, 42, 2250, 2668, 869, 16063, 588, 1805, 1435, 480, 599, 30, 468, 1567, 3470, 6176, 16, 1496, 1158, 4123, 6176, 327, 261, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10665, 691, 12, 2890, 16, 1111, 4672, 309, 1111, 18, 588, 44, 42, 2250, 2668, 869, 16063, 588, 1805, 1435, 480, 599, 30, 468, 1567, 3470, 6176, 16, 1496, 1158, 4123, 6176, 327, 261, 36...
assert doId is None or doId == self.__preallocDoId doId=self.__preallocDoId
assert doId is None or doId == self.doId doId=self.doId
def generateOtpObject(self, parentId, zoneId, optionalFields=[], doId=None): assert self.notify.debugStateCall(self) # have we already allocated a doId? if self.__preallocDoId: assert doId is None or doId == self.__preallocDoId doId=self.__preallocDoId self.__preallocDoId = 0
3c65c77a34e35786d0c54ba2060ea8c653a860e3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8543/3c65c77a34e35786d0c54ba2060ea8c653a860e3/DistributedObjectAI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 51, 6834, 921, 12, 2890, 16, 11582, 16, 29939, 16, 3129, 2314, 22850, 6487, 741, 548, 33, 7036, 4672, 1815, 365, 18, 12336, 18, 4148, 1119, 1477, 12, 2890, 13, 468, 1240, 732, 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, 2103, 51, 6834, 921, 12, 2890, 16, 11582, 16, 29939, 16, 3129, 2314, 22850, 6487, 741, 548, 33, 7036, 4672, 1815, 365, 18, 12336, 18, 4148, 1119, 1477, 12, 2890, 13, 468, 1240, 732, 18...
es.load('gungame/included_addons/gg_warmup_round')
es.server.queuecmd('es_xload gungame/included_addons/gg_warmup_round')
def initialize(): global countBombDeathAsSuicide global list_stripExceptions # Register addon gungame = gungamelib.registerAddon('gungame') gungame.setDisplayName('GunGame') # Print load started es.dbgmsg(0, '[GunGame] %s' % ('=' * 80)) gungamelib.echo('gungame', 0, 0, 'Load_Start', {'version': __version__}) # Load ...
98ad48f336a7999f1446f7427431cbb87ef92a48 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4575/98ad48f336a7999f1446f7427431cbb87ef92a48/gungame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 13332, 2552, 1056, 38, 16659, 758, 421, 1463, 17072, 335, 831, 2552, 666, 67, 6406, 11416, 225, 468, 5433, 15466, 31475, 13957, 273, 314, 20651, 9925, 495, 18, 4861, 27901, 2668, 193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 13332, 2552, 1056, 38, 16659, 758, 421, 1463, 17072, 335, 831, 2552, 666, 67, 6406, 11416, 225, 468, 5433, 15466, 31475, 13957, 273, 314, 20651, 9925, 495, 18, 4861, 27901, 2668, 193...
description = task.description + "\n\n" + description
description = task.description and task.description + "\n\n" + description
def close(self, cr, uid, ids, context=None): data = self.read(cr,uid,ids)[0] task_pool = self.pool.get('project.task') user_name = self.pool.get('res.users').browse(cr, uid, uid).name description = _("Closed By ") + user_name + _(" At ") + time.strftime('%Y-%m-%d %H:%M:%S') description += "\n" + "======================...
4f51e523a6d6c7dc44e72c49e98c46cbf8d2c1e8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4f51e523a6d6c7dc44e72c49e98c46cbf8d2c1e8/project_close_task.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 501, 273, 365, 18, 896, 12, 3353, 16, 1911, 16, 2232, 25146, 20, 65, 1562, 67, 6011, 273, 365, 18, 6011, 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, 1746, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 501, 273, 365, 18, 896, 12, 3353, 16, 1911, 16, 2232, 25146, 20, 65, 1562, 67, 6011, 273, 365, 18, 6011, 18, ...