rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self.haltButton.setEnabled(False) self.startButton.setEnabled(True) self.isRunning = False
self.handleHalting()
def whenStopButtonClicked(self, event): self.msgText("Slow loco to stop\n") # add text self.doStop() self.msgText("*** Run stopped ***\n") self.stopButton.setEnabled(False) self.haltButton.setEnabled(False) self.startButton.setEnabled(True) self.isRunning = False self.whenLocoChanged(event) return
219951f746f72f6210b1a985c486a3c0fe38a240 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1660/219951f746f72f6210b1a985c486a3c0fe38a240/RobotThrottle2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1347, 4947, 3616, 27633, 12, 2890, 16, 871, 4672, 365, 18, 3576, 1528, 2932, 28733, 1515, 83, 358, 2132, 64, 82, 7923, 377, 468, 527, 977, 365, 18, 2896, 4947, 1435, 365, 18, 3576, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1347, 4947, 3616, 27633, 12, 2890, 16, 871, 4672, 365, 18, 3576, 1528, 2932, 28733, 1515, 83, 358, 2132, 64, 82, 7923, 377, 468, 527, 977, 365, 18, 2896, 4947, 1435, 365, 18, 3576, 152...
- gens -- a list of elements of this quaternion order - check -- bool (default: True); if False, then gens must 4-tuple that forms a Hermite basis for an ideal
- ``gens`` -- a list of elements of this quaternion order - ``check`` -- bool (default: ``True``); if ``False``, then ``gens`` must 4-tuple that forms a Hermite basis for an ideal
def left_ideal(self, gens, check=True): r""" Return the ideal with given gens over `\mathbf{Z}`.
1ec65dfa0c3aab294b8ecca3f5f5493e154b7172 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/1ec65dfa0c3aab294b8ecca3f5f5493e154b7172/quaternion_algebra.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2002, 67, 831, 287, 12, 2890, 16, 314, 773, 16, 866, 33, 5510, 4672, 436, 8395, 2000, 326, 23349, 598, 864, 314, 773, 1879, 1375, 64, 15949, 17156, 95, 62, 97, 8338, 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, 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, 2002, 67, 831, 287, 12, 2890, 16, 314, 773, 16, 866, 33, 5510, 4672, 436, 8395, 2000, 326, 23349, 598, 864, 314, 773, 1879, 1375, 64, 15949, 17156, 95, 62, 97, 8338, 2, -100, -100, -...
reactor.callLater(10, self.timeOut)
self.id = reactor.callLater(10, self.timeOut)
def runClient(self): pb.connect("localhost", PORTNO, "guest", "guest", "pbfailure", "guest", 30).addCallbacks(self.connected, self.notConnected) reactor.callLater(10, self.timeOut)
6bf614cc1ef2d83348b3bf81228663011ecb85d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/6bf614cc1ef2d83348b3bf81228663011ecb85d8/test_pbfailure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 1227, 12, 2890, 4672, 6386, 18, 3612, 2932, 13014, 3113, 20987, 3417, 16, 315, 18908, 3113, 315, 18908, 3113, 315, 5733, 12251, 3113, 315, 18908, 3113, 5196, 2934, 1289, 10617, 12, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 1227, 12, 2890, 4672, 6386, 18, 3612, 2932, 13014, 3113, 20987, 3417, 16, 315, 18908, 3113, 315, 18908, 3113, 315, 5733, 12251, 3113, 315, 18908, 3113, 5196, 2934, 1289, 10617, 12, 2...
Note that you have explicitly define variables and pass
However, preparsing can be turned off. sage: sage_eval('2^3', preparse=False) 1 Note that you can explicitly define variables and pass
def sage_eval(source, locals={}): r""" Obtain a \SAGE object from the input string by evaluate it using SAGE. This means calling eval after preparsing and with globals equal to everything included in the scope of \code{from sage.all import *}.). If the object has an _sage_ method it is called and the value is returne...
ed8606501475114ac6a3106e3f3022c0879a34e9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/ed8606501475114ac6a3106e3f3022c0879a34e9/sage_eval.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 410, 67, 8622, 12, 3168, 16, 8985, 12938, 4672, 436, 8395, 24850, 279, 521, 55, 2833, 733, 628, 326, 810, 533, 635, 5956, 518, 1450, 348, 2833, 18, 225, 1220, 4696, 4440, 5302, 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, 272, 410, 67, 8622, 12, 3168, 16, 8985, 12938, 4672, 436, 8395, 24850, 279, 521, 55, 2833, 733, 628, 326, 810, 533, 635, 5956, 518, 1450, 348, 2833, 18, 225, 1220, 4696, 4440, 5302, 18...
manifest = open (self.manifest, "w") for fn in self.files: manifest.write (fn + '\n') manifest.close ()
self.execute(write_file, (self.manifest, self.files), "writing manifest file")
def write_manifest (self): """Write the file list in 'self.files' (presumably as filled in by 'find_defaults()' and 'read_template()') to the manifest file named by 'self.manifest'."""
0a589965ebd56b680a316a6da3c5aa20174b1e6c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0a589965ebd56b680a316a6da3c5aa20174b1e6c/sdist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 14357, 261, 2890, 4672, 3536, 3067, 326, 585, 666, 316, 296, 2890, 18, 2354, 11, 261, 12202, 379, 6906, 487, 6300, 316, 635, 296, 4720, 67, 7606, 11866, 471, 296, 896, 67, 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, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 14357, 261, 2890, 4672, 3536, 3067, 326, 585, 666, 316, 296, 2890, 18, 2354, 11, 261, 12202, 379, 6906, 487, 6300, 316, 635, 296, 4720, 67, 7606, 11866, 471, 296, 896, 67, 32...
state_action = state_data['runs'][0]
def test_restore_main_run(self): state_data = \ {'end_time': datetime.datetime(2010, 12, 13, 15, 32, 3, 234159), 'run_num': 5, 'run_time': datetime.datetime(2010, 12, 13, 15, 32, 3, 125149), 'runs': [{'command': 'free', 'end_time': datetime.datetime(2010, 12, 13, 15, 32, 3, 232693), 'id': 'job.5.free_memory', 'run_time...
d7938c2aa752f8db92e833e2e239348ca3065992 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14977/d7938c2aa752f8db92e833e2e239348ca3065992/job_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13991, 67, 5254, 67, 2681, 12, 2890, 4672, 919, 67, 892, 273, 521, 13666, 409, 67, 957, 4278, 3314, 18, 6585, 12, 6734, 20, 16, 2593, 16, 5958, 16, 4711, 16, 3847, 16, 890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13991, 67, 5254, 67, 2681, 12, 2890, 4672, 919, 67, 892, 273, 521, 13666, 409, 67, 957, 4278, 3314, 18, 6585, 12, 6734, 20, 16, 2593, 16, 5958, 16, 4711, 16, 3847, 16, 890,...
calling call_cls
calling classcall
... def __init__(self):
38f1953eb1bc8beb3d6794700189392834dc7526 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/38f1953eb1bc8beb3d6794700189392834dc7526/classcall_metaclass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 4202, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 4202, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
for child in edges[vocab][term]:
for (edgeType, child) in edges[vocab][term]:
def maxDepth (term, vocab, edges): global depthCache # if we've already found and cached this, just return it if depthCache.has_key(term): return depthCache[term] # if this term has no children, its depth is simply 1 if not edges[vocab].has_key(term): depthCache[term] = 1 return 1 # recursively iterate through thi...
4a7303d9450b9421704bf8f984bb762c92631b18 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/536/4a7303d9450b9421704bf8f984bb762c92631b18/vocabulary_gatherer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22074, 261, 6408, 16, 9623, 16, 5231, 4672, 2552, 3598, 1649, 225, 468, 309, 732, 8081, 1818, 1392, 471, 3472, 333, 16, 2537, 327, 518, 225, 309, 3598, 1649, 18, 5332, 67, 856, 12, 640...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22074, 261, 6408, 16, 9623, 16, 5231, 4672, 2552, 3598, 1649, 225, 468, 309, 732, 8081, 1818, 1392, 471, 3472, 333, 16, 2537, 327, 518, 225, 309, 3598, 1649, 18, 5332, 67, 856, 12, 640...
print "Image length in Y direction:", ylength print "Filter window size:", W, "x", W
print "Image length in Y direction:", ylength print "Filter window size:", W, "x", W
def process(image, size, window, threshold, spam): ## set filter window and image dimensions W = 2*window + 1 xlength, ylength = size vlength = W*W if spam: print "Image length in X direction:", xlength print "Image length in Y direction:", ylength print "Filter window size:", W, "x", W ## create 2-D image array and ...
e7040f8d368ded24afeb405deef0c6f80447e83a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8294/e7040f8d368ded24afeb405deef0c6f80447e83a/adaptive_median.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2730, 16, 963, 16, 2742, 16, 5573, 16, 24824, 4672, 225, 7541, 444, 1034, 2742, 471, 1316, 5769, 678, 273, 576, 14, 5668, 397, 404, 619, 2469, 16, 677, 2469, 273, 963, 331, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2730, 16, 963, 16, 2742, 16, 5573, 16, 24824, 4672, 225, 7541, 444, 1034, 2742, 471, 1316, 5769, 678, 273, 576, 14, 5668, 397, 404, 619, 2469, 16, 677, 2469, 273, 963, 331, ...
return object.__new__(cls)
def __new__(cls): cls.count += 1 return object.__new__(cls)
434a4bccbdab61805b425accaeb797e44debe791 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6753/434a4bccbdab61805b425accaeb797e44debe791/test_iter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 4672, 2028, 18, 1883, 1011, 404, 327, 733, 16186, 2704, 972, 12, 6429, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 4672, 2028, 18, 1883, 1011, 404, 327, 733, 16186, 2704, 972, 12, 6429, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
'contributor':None,
'contributor':'contributor',
def test_metadata(self): """ Test Simple Consultation metadata """ releasedate = DateTime() #add Consultation with full fields fields = {'id':'scs_meta', 'title':'Simple consultation metadata test', 'description':'This is a simple consultation object', 'sortorder':'100', 'start_date':'11/11/1111', 'end_date':'12/12/121...
e889baebc44324ec29c8e78d9d125f8382051b4b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/e889baebc44324ec29c8e78d9d125f8382051b4b/testContentType.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4165, 12, 2890, 4672, 3536, 7766, 4477, 11020, 406, 367, 1982, 3536, 3992, 712, 273, 3716, 1435, 468, 1289, 11020, 406, 367, 598, 1983, 1466, 1466, 273, 13666, 350, 11, 2497, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 12, 2890, 4672, 3536, 7766, 4477, 11020, 406, 367, 1982, 3536, 3992, 712, 273, 3716, 1435, 468, 1289, 11020, 406, 367, 598, 1983, 1466, 1466, 273, 13666, 350, 11, 2497, 1...
return apply(Open, (), options).show()
return Open(**options).show()
def askopenfilename(**options): "Ask for a filename to open" return apply(Open, (), options).show()
25ee87cc50ab99a1342091b5067c074878c9b212 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/25ee87cc50ab99a1342091b5067c074878c9b212/tkFileDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6827, 3190, 3459, 12, 636, 2116, 4672, 315, 23663, 364, 279, 1544, 358, 1696, 6, 225, 327, 3502, 12, 636, 2116, 2934, 4500, 1435, 225, 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, 6827, 3190, 3459, 12, 636, 2116, 4672, 315, 23663, 364, 279, 1544, 358, 1696, 6, 225, 327, 3502, 12, 636, 2116, 2934, 4500, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
master.putClientInfo('ANTISPAM-FETCH', request.http_host + request.script_name)
master.putClientInfo('ANTISPAM-FETCH', request.url)
def getblacklist(request, pagename, do_update): """ Get blacklist, possibly downloading new copy @param request: current request (request instance) @param pagename: bad content page name (unicode) @rtype: list @return: list of blacklisted regular expressions """ from MoinMoin.PageEditor import PageEditor p = PageEdito...
56f326c77de8f56970e3952618f20a3e3730b6ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/56f326c77de8f56970e3952618f20a3e3730b6ac/antispam.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 22491, 12, 2293, 16, 4262, 1069, 16, 741, 67, 2725, 4672, 3536, 968, 11709, 16, 10016, 23742, 394, 1610, 225, 632, 891, 590, 30, 783, 590, 261, 2293, 791, 13, 632, 891, 4262, 1069...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22491, 12, 2293, 16, 4262, 1069, 16, 741, 67, 2725, 4672, 3536, 968, 11709, 16, 10016, 23742, 394, 1610, 225, 632, 891, 590, 30, 783, 590, 261, 2293, 791, 13, 632, 891, 4262, 1069...
code = unpack('!i', self.__read_bytes(4))[0]
code = _unpack('!i', self.__read_bytes(4))[0]
def _pkt_R(self): # # Startup Response # code = unpack('!i', self.__read_bytes(4))[0] if code == 0: self.__authenticated = 1 #print 'Authenticated!' elif code == 1: raise InterfaceError('Kerberos V4 authentication is required by server, but not supported by this client') elif code == 2: raise InterfaceError('Kerberos V...
15a18213714dad035ac4b8cb3da491223392d5b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1238/15a18213714dad035ac4b8cb3da491223392d5b1/bpgsql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5465, 88, 67, 54, 12, 2890, 4672, 468, 468, 3603, 416, 2306, 468, 981, 273, 389, 17309, 2668, 5, 77, 2187, 365, 16186, 896, 67, 3890, 12, 24, 3719, 63, 20, 65, 309, 981, 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, 389, 5465, 88, 67, 54, 12, 2890, 4672, 468, 468, 3603, 416, 2306, 468, 981, 273, 389, 17309, 2668, 5, 77, 2187, 365, 16186, 896, 67, 3890, 12, 24, 3719, 63, 20, 65, 309, 981, 422, ...
self._rbuf = [ ] self._wbuf = [ ]
self._rbuf = [] self._wbuf = []
def __init__(self, sock, mode='rb', bufsize=-1): self._sock = sock self._mode = mode if bufsize <= 0: if bufsize == 0: bufsize = 1 # Unbuffered mode else: bufsize = 8192 self._rbufsize = bufsize self._wbufsize = bufsize self._rbuf = [ ] self._wbuf = [ ]
dee4f185d018d143d63db650d2b9ee53fe09c8e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/dee4f185d018d143d63db650d2b9ee53fe09c8e9/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 16, 1965, 2218, 6731, 2187, 1681, 1467, 29711, 21, 4672, 365, 6315, 15031, 273, 7313, 365, 6315, 3188, 273, 1965, 309, 1681, 1467, 1648, 374, 30, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 16, 1965, 2218, 6731, 2187, 1681, 1467, 29711, 21, 4672, 365, 6315, 15031, 273, 7313, 365, 6315, 3188, 273, 1965, 309, 1681, 1467, 1648, 374, 30, 309...
out += _("""If you don't own an account yet, please <a href="./register">register</a> an internal account.""")
out += _("""If you don't own an account yet, please <a href="../youraccount.py/register">register</a> an internal account.""")
def tmpl_login_form(self, ln, referer, internal, register_available, methods, selected_method, supportemail): """ Displays a login form
7d8338098c4fe017a8209ff3fa297ccbba3a58fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/7d8338098c4fe017a8209ff3fa297ccbba3a58fe/websession_templates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 5819, 67, 687, 12, 2890, 16, 7211, 16, 18068, 16, 2713, 16, 1744, 67, 5699, 16, 2590, 16, 3170, 67, 2039, 16, 2865, 3652, 4672, 3536, 9311, 87, 279, 3925, 646, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 5819, 67, 687, 12, 2890, 16, 7211, 16, 18068, 16, 2713, 16, 1744, 67, 5699, 16, 2590, 16, 3170, 67, 2039, 16, 2865, 3652, 4672, 3536, 9311, 87, 279, 3925, 646, 2, -100, -1...
config = Configuration(subpackage_name, self.name,
config = Configuration(subpackage_name, parent_name,
def _get_configuration_from_setup_py(self, setup_py, subpackage_name, subpackage_path, caller_level = 1): # In case setup_py imports local modules: sys.path.insert(0,os.path.dirname(setup_py)) try: fo_setup_py = open(setup_py, 'U') setup_name = os.path.splitext(os.path.basename(setup_py))[0] n = dot_join(self.name,subp...
680a44a631b3d039dc63d108274eeeefa062de34 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/680a44a631b3d039dc63d108274eeeefa062de34/misc_util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7025, 67, 2080, 67, 8401, 67, 2074, 12, 2890, 16, 3875, 67, 2074, 16, 720, 5610, 67, 529, 16, 720, 5610, 67, 803, 16, 4894, 67, 2815, 273, 404, 4672, 468, 657, 648, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7025, 67, 2080, 67, 8401, 67, 2074, 12, 2890, 16, 3875, 67, 2074, 16, 720, 5610, 67, 529, 16, 720, 5610, 67, 803, 16, 4894, 67, 2815, 273, 404, 4672, 468, 657, 648, 3...
core.timer(0, g.switch, *args)
core.timer(seconds, g.switch, *args)
def spawn_later(seconds, function, *args, **kwargs): if kwargs: g = Greenlet(_switch_helper) g.parent = get_hub().greenlet core.timer(0, g.switch, function, args, kwargs) return g else: g = Greenlet(function) g.parent = get_hub().greenlet core.timer(0, g.switch, *args) return g
efa962b96059e8e8fe8d698014350efb5b5b0311 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10423/efa962b96059e8e8fe8d698014350efb5b5b0311/greenlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12560, 67, 29082, 12, 7572, 16, 445, 16, 380, 1968, 16, 2826, 4333, 4672, 309, 1205, 30, 314, 273, 17766, 1810, 24899, 9610, 67, 4759, 13, 314, 18, 2938, 273, 336, 67, 14986, 7675, 115...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12560, 67, 29082, 12, 7572, 16, 445, 16, 380, 1968, 16, 2826, 4333, 4672, 309, 1205, 30, 314, 273, 17766, 1810, 24899, 9610, 67, 4759, 13, 314, 18, 2938, 273, 336, 67, 14986, 7675, 115...
while node != "select"
while node.name != "select":
def endTagSelect(self, name="select"): if self.parser.elementInScope(name, True): if self.parser.openElements[-1].name != "select": node = self.parser.openElements.pop() while node != "select" node = self.parser.openElements.pop() self.parser.resetInsertionMode() else: # innerHTML case self.parser.parseError()
2642c664c6e0937a2fa4a65315b9736bd69d8b03 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9368/2642c664c6e0937a2fa4a65315b9736bd69d8b03/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 3391, 12, 2890, 16, 508, 1546, 4025, 6, 4672, 309, 365, 18, 4288, 18, 2956, 382, 3876, 12, 529, 16, 1053, 4672, 309, 365, 18, 4288, 18, 3190, 3471, 18919, 21, 8009, 529, 480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 3391, 12, 2890, 16, 508, 1546, 4025, 6, 4672, 309, 365, 18, 4288, 18, 2956, 382, 3876, 12, 529, 16, 1053, 4672, 309, 365, 18, 4288, 18, 3190, 3471, 18919, 21, 8009, 529, 480, ...
ctime = self.env.cf.stat.st_ctime
try: ctime = self.env.cf.stat.st_ctime except: ctime = -1
def draw(self): """Draw the statusbar"""
2ef7d919e75ba172257b5f5cbc1ad0abe371e0b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/2ef7d919e75ba172257b5f5cbc1ad0abe371e0b3/statusbar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 3536, 6493, 326, 1267, 3215, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3724, 12, 2890, 4672, 3536, 6493, 326, 1267, 3215, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
cc_args = self.compile_options + \
cc_args = compile_options + \
def compile (self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None):
4ba9b2e3b64c31b488b1454c9ec4c8e0e2d7da9d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4ba9b2e3b64c31b488b1454c9ec4c8e0e2d7da9d/msvccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 261, 2890, 16, 5550, 16, 876, 67, 1214, 33, 7036, 16, 24302, 33, 7036, 16, 2341, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, 1968, 33, 7036, 16, 2870, 67, 2767, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4074, 261, 2890, 16, 5550, 16, 876, 67, 1214, 33, 7036, 16, 24302, 33, 7036, 16, 2341, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, 1968, 33, 7036, 16, 2870, 67, 2767, ...
settings.setValue("Ginkgo/Resources", QVariant(currentResourcesUris)) settings.setValue("Ginkgo/Places", QVariant(self.placesData))
ggroup.writeEntry("active-resources", QVariant(currentResourcesUris)) ggroup.writeEntry("places", QVariant(self.placesData)) config.sync()
def saveSettings(self): settings = QSettings() settings.setValue("Ginkgo/Size", QVariant(self.size())) settings.setValue("Ginkgo/Position", QVariant(self.pos())) settings.setValue("Ginkgo/State", QVariant(self.saveState())) currentResourcesUris = QStringList() for i in range(self.workarea.count()): editor = self.workar...
4ab5cfa00af0fef11430da5390f6d7656348b3b4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1729/4ab5cfa00af0fef11430da5390f6d7656348b3b4/ginkgo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 2628, 12, 2890, 4672, 1947, 273, 2238, 2628, 1435, 1947, 18, 542, 620, 2932, 43, 754, 3240, 19, 1225, 3113, 2238, 9356, 12, 2890, 18, 1467, 1435, 3719, 1947, 18, 542, 620, 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, 1923, 2628, 12, 2890, 4672, 1947, 273, 2238, 2628, 1435, 1947, 18, 542, 620, 2932, 43, 754, 3240, 19, 1225, 3113, 2238, 9356, 12, 2890, 18, 1467, 1435, 3719, 1947, 18, 542, 620, 2932, ...
print dir() return True
print envp return True
def client_connect(envp): print dir() return True
05f75fcd4276beb4b127476d6d02dcc08d6e82d6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3904/05f75fcd4276beb4b127476d6d02dcc08d6e82d6/ovpn-def.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1004, 67, 3612, 12, 3074, 84, 4672, 1172, 1550, 84, 327, 1053, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1004, 67, 3612, 12, 3074, 84, 4672, 1172, 1550, 84, 327, 1053, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def keyGo(self): if (config.timerentry.type.value == 0): self.timer.begin = self.getTimestamp(config.timerentry.startdate.value, config.timerentry.starttime.value) self.timer.end = self.getTimestamp(config.timerentry.enddate.value, config.timerentry.endtime.value) self.close((True, self.timer))
def checkDate(self, configElement): if (configElement.getConfigPath() == "config.timerentry.startdate"): if (config.timerentry.enddate.value < config.timerentry.startdate.value): config.timerentry.enddate.value = config.timerentry.startdate.value config.timerentry.enddate.change() self["config"].invalidate(config.timer...
def keyGo(self): if (config.timerentry.type.value == 0): # once self.timer.begin = self.getTimestamp(config.timerentry.startdate.value, config.timerentry.starttime.value) self.timer.end = self.getTimestamp(config.timerentry.enddate.value, config.timerentry.endtime.value) self.close((True, self.timer))
aceb62aeebc259a4da520b303a31a6a174d9400a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/aceb62aeebc259a4da520b303a31a6a174d9400a/TimerEntry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 5741, 12, 2890, 4672, 309, 261, 1425, 18, 12542, 4099, 18, 723, 18, 1132, 422, 374, 4672, 468, 3647, 365, 18, 12542, 18, 10086, 273, 365, 18, 588, 4921, 12, 1425, 18, 12542, 4099,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 5741, 12, 2890, 4672, 309, 261, 1425, 18, 12542, 4099, 18, 723, 18, 1132, 422, 374, 4672, 468, 3647, 365, 18, 12542, 18, 10086, 273, 365, 18, 588, 4921, 12, 1425, 18, 12542, 4099,...
return (14,)
return (15,)
def c_code_cache_version(self): #return () return (14,)
bc356dd74291a5140c8d113c61c030c065f75bcd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/bc356dd74291a5140c8d113c61c030c065f75bcd/basic_ops.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 67, 710, 67, 2493, 67, 1589, 12, 2890, 4672, 468, 2463, 1832, 327, 261, 3461, 16, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 67, 710, 67, 2493, 67, 1589, 12, 2890, 4672, 468, 2463, 1832, 327, 261, 3461, 16, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if normed is False: return n, bins elif normed is True:
if normed:
def histogram(a, bins=10, range=None, normed=False, weights=None, new=None): """ Compute the histogram of a set of data. Parameters ---------- a : array_like Input data. bins : int or sequence of scalars, optional If `bins` is an int, it defines the number of equal-width bins in the given range (10, by default). If `b...
da19f3edc5c8995afc821ddc949b386e781e0b6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/da19f3edc5c8995afc821ddc949b386e781e0b6a/function_base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8892, 12, 69, 16, 8963, 33, 2163, 16, 1048, 33, 7036, 16, 4651, 329, 33, 8381, 16, 5376, 33, 7036, 16, 394, 33, 7036, 4672, 3536, 8155, 326, 8892, 434, 279, 444, 434, 501, 18, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8892, 12, 69, 16, 8963, 33, 2163, 16, 1048, 33, 7036, 16, 4651, 329, 33, 8381, 16, 5376, 33, 7036, 16, 394, 33, 7036, 4672, 3536, 8155, 326, 8892, 434, 279, 444, 434, 501, 18, 225, ...
var = wx.aui.AUI_ART_ACTIVE_CAPTION_COLOUR
var = wx.aui.AUI_DOCKART_ACTIVE_CAPTION_COLOUR
def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina...
de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 694, 2957, 12, 2890, 16, 871, 4672, 225, 25840, 273, 7075, 18, 26404, 6353, 12, 2890, 6315, 3789, 13, 225, 25840, 18, 694, 4247, 2932, 2957, 453, 5448, 7923, 225, 309, 25840, 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, 2755, 694, 2957, 12, 2890, 16, 871, 4672, 225, 25840, 273, 7075, 18, 26404, 6353, 12, 2890, 6315, 3789, 13, 225, 25840, 18, 694, 4247, 2932, 2957, 453, 5448, 7923, 225, 309, 25840, 18, ...
model.put()
for model in models: model.put() if(not is_list): models = models[0]
def update_impl(self, model_name, model_key, is_replace): """Actual implementation of all Model update methods. Creates/updates/replaces Model instances as specified. Writes the key of the modified Model as a plain text result. """ model_handler = self.get_model_handler(model_name) if(not model_handler): return
fcbcc5a53bdc9a0ceb8073f1cee89589ee10750f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4753/fcbcc5a53bdc9a0ceb8073f1cee89589ee10750f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 11299, 12, 2890, 16, 938, 67, 529, 16, 938, 67, 856, 16, 353, 67, 2079, 4672, 3536, 11266, 4471, 434, 777, 3164, 1089, 2590, 18, 225, 10210, 19, 14703, 19, 266, 11350, 3164, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 11299, 12, 2890, 16, 938, 67, 529, 16, 938, 67, 856, 16, 353, 67, 2079, 4672, 3536, 11266, 4471, 434, 777, 3164, 1089, 2590, 18, 225, 10210, 19, 14703, 19, 266, 11350, 3164, ...
print system("svn up")
print system("svn up --non-interactive")
def cmd_up(self): print self.directory os.chdir(self.directory) print system("svn up")
5efa0067cf9f5b564e700fc2a5773086d6f9d28e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2086/5efa0067cf9f5b564e700fc2a5773086d6f9d28e/dirinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 416, 12, 2890, 4672, 1172, 365, 18, 5149, 1140, 18, 343, 1214, 12, 2890, 18, 5149, 13, 1172, 2619, 2932, 31505, 731, 7923, 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, 1797, 67, 416, 12, 2890, 4672, 1172, 365, 18, 5149, 1140, 18, 343, 1214, 12, 2890, 18, 5149, 13, 1172, 2619, 2932, 31505, 731, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
if rev < 0:
if rev == nullrev:
def start(self, rev): if rev < 0: return 0 if self.version != REVLOGV0: return self.ngoffset(self.index[rev][0]) return self.index[rev][0]
4999795a121b28b773eccceb5db342478b766541 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/4999795a121b28b773eccceb5db342478b766541/revlog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 16, 5588, 4672, 309, 5588, 422, 446, 9083, 30, 327, 374, 309, 365, 18, 1589, 480, 2438, 58, 4842, 58, 20, 30, 327, 365, 18, 3368, 3348, 12, 2890, 18, 1615, 63, 9083, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 16, 5588, 4672, 309, 5588, 422, 446, 9083, 30, 327, 374, 309, 365, 18, 1589, 480, 2438, 58, 4842, 58, 20, 30, 327, 365, 18, 3368, 3348, 12, 2890, 18, 1615, 63, 9083, ...
mix_columns = Matrix(k,r*c*e,r*c*e)
mix_columns = Matrix(k, r*c*e, r*c*e)
def D(b): """ Return the e x e matrix $D$ with $b^i$ along the diagonal.
e506ccc2459e6e3948659b0d1b28d9d6b70342e4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/e506ccc2459e6e3948659b0d1b28d9d6b70342e4/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 463, 12, 70, 4672, 3536, 2000, 326, 425, 619, 425, 3148, 271, 40, 8, 598, 271, 70, 66, 77, 8, 7563, 326, 15425, 18, 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, 463, 12, 70, 4672, 3536, 2000, 326, 425, 619, 425, 3148, 271, 40, 8, 598, 271, 70, 66, 77, 8, 7563, 326, 15425, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
security.declareProtected(permissions.View, 'keys')
security.declareProtected(CMFCorePermissions.View, 'keys')
def has_key(self, name): return self._fields.has_key(name)
67576cc5acaaf506c58ee3fea91da40c0a6516a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/67576cc5acaaf506c58ee3fea91da40c0a6516a2/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 711, 67, 856, 12, 2890, 16, 508, 4672, 327, 365, 6315, 2821, 18, 5332, 67, 856, 12, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 711, 67, 856, 12, 2890, 16, 508, 4672, 327, 365, 6315, 2821, 18, 5332, 67, 856, 12, 529, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
_debug(1, "<- REQUEST: seq=%d, type=%s, data=%d, timeout=%d" % (seq, packet_type, len(pdata), timeout))
log.debug("<- REQUEST: seq=%d, type=%s, data=%d, timeout=%d" % (seq, packet_type, len(pdata), timeout))
def _send_packet(self, packet_type, data, seq = 0, timeout = None, reply_cb = None): if not self.socket: return
a2ef02ba6b2343fafef3eba89f609780397810ea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/a2ef02ba6b2343fafef3eba89f609780397810ea/ipc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 67, 11482, 12, 2890, 16, 4414, 67, 723, 16, 501, 16, 3833, 273, 374, 16, 2021, 273, 599, 16, 4332, 67, 7358, 273, 599, 4672, 309, 486, 365, 18, 7814, 30, 327, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11482, 12, 2890, 16, 4414, 67, 723, 16, 501, 16, 3833, 273, 374, 16, 2021, 273, 599, 16, 4332, 67, 7358, 273, 599, 4672, 309, 486, 365, 18, 7814, 30, 327, 2, -100, -...
self.Manager.ChangeCurrentNode(selected) self.RefreshBufferState() self.RefreshProfileMenu()
if selected >= 0: self.Manager.ChangeCurrentNode(selected) self.RefreshBufferState() self.RefreshProfileMenu()
def OnFileSelectedChanged(self, event): selected = self.FileOpened.GetSelection() self.Manager.ChangeCurrentNode(selected) self.RefreshBufferState() self.RefreshProfileMenu() event.Skip()
8c439eb7ae202e60f4674b584401402a78ec673f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11017/8c439eb7ae202e60f4674b584401402a78ec673f/objdictedit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 812, 7416, 5033, 12, 2890, 16, 871, 4672, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 225, 309, 3170, 1545, 374, 30, 365, 18, 1318, 18, 3043, 3935, 907, 12, 8109, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 812, 7416, 5033, 12, 2890, 16, 871, 4672, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 225, 309, 3170, 1545, 374, 30, 365, 18, 1318, 18, 3043, 3935, 907, 12, 8109, 13, ...
>>> p.link_exception() >>> api.sleep(1) Traceback (most recent call last): ... LinkedFailed: '<function demofunc at 0x...>' failed with ZeroDivisionError
>>> _ = p.link_exception() >>> try: ... api.sleep(1) ... except LinkedFailed: ... print 'LinkedFailed' LinkedFailed
>>> def demofunc(x, y):
7e93ec45360cf6299c27fdb6ee7e74aa0fa4eb1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10078/7e93ec45360cf6299c27fdb6ee7e74aa0fa4eb1d/proc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 21477, 644, 12, 92, 16, 677, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 21477, 644, 12, 92, 16, 677, 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, ...
'res_id' : meeting.id,
'res_id' : meeting.id,
def _set_data(self, cr, uid, meeting_id, name, value, arg, context): if not value: return attendee_obj = self.pool.get('calendar.attendee') model_obj = self.pool.get('ir.model') alarm_obj = self.pool.get('calendar.alarm') eventdata = self.read(cr, uid, meeting_id, [name], context=context) if name == "attendees": attend...
75258015cae6ae0d493e7eb6204a16eafed73cd9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/75258015cae6ae0d493e7eb6204a16eafed73cd9/crm_meeting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 18721, 310, 67, 350, 16, 508, 16, 460, 16, 1501, 16, 819, 4672, 309, 486, 460, 30, 327, 27645, 20953, 67, 2603, 273, 365, 18, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 18721, 310, 67, 350, 16, 508, 16, 460, 16, 1501, 16, 819, 4672, 309, 486, 460, 30, 327, 27645, 20953, 67, 2603, 273, 365, 18, 6...
nodes = [] nodes.extend(flatten_nodes(self.bases)) nodes.append(self.code) return tuple(nodes)
nodelist = [] nodelist.extend(flatten_nodes(self.bases)) nodelist.append(self.code) return tuple(nodelist)
def getChildNodes(self): nodes = [] nodes.extend(flatten_nodes(self.bases)) nodes.append(self.code) return tuple(nodes)
101b9307b0d9de62f324ef9ffa6e83f8040af642 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/101b9307b0d9de62f324ef9ffa6e83f8040af642/ast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23895, 12, 2890, 4672, 2199, 273, 5378, 2199, 18, 14313, 12, 16940, 67, 4690, 12, 2890, 18, 18602, 3719, 2199, 18, 6923, 12, 2890, 18, 710, 13, 327, 3193, 12, 4690, 13, 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, 23895, 12, 2890, 4672, 2199, 273, 5378, 2199, 18, 14313, 12, 16940, 67, 4690, 12, 2890, 18, 18602, 3719, 2199, 18, 6923, 12, 2890, 18, 710, 13, 327, 3193, 12, 4690, 13, 2, -100, -100, ...
mock = self.mocker({name: 'path/to/mod'})
mock = self.mocker({name: os.path.join('path', 'to', 'mod')})
def test_unloadable(self): name = "mod" mock = self.mocker({name: 'path/to/mod'}) mock.source = b"1/0" with util.uncache(name): self.assertRaises(ZeroDivisionError, mock.load_module, name) self.assert_(name not in sys.modules) return mock
3714e816446d00f205edc184db1f131faf6bf12b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/3714e816446d00f205edc184db1f131faf6bf12b/test_abc_loader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 318, 945, 429, 12, 2890, 4672, 508, 273, 315, 1711, 6, 5416, 273, 365, 18, 81, 6203, 12590, 529, 30, 1140, 18, 803, 18, 5701, 2668, 803, 2187, 296, 869, 2187, 296, 1711, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 318, 945, 429, 12, 2890, 4672, 508, 273, 315, 1711, 6, 5416, 273, 365, 18, 81, 6203, 12590, 529, 30, 1140, 18, 803, 18, 5701, 2668, 803, 2187, 296, 869, 2187, 296, 1711, 61...
print 'Remote directory now:', pwd print 'Remote cwd', subdir
print 'Remote directory now:', `pwd` print 'Remote cwd', `subdir`
def mirrorsubdir(f, localdir): pwd = f.pwd() if localdir and not os.path.isdir(localdir): if verbose: print 'Creating local directory', localdir try: makedir(localdir) except os.error, msg: print "Failed to establish local directory", localdir return infofilename = os.path.join(localdir, '.mirrorinfo') try: text = open...
a25969620ad128c95dde9cf500b28fa3e57611c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a25969620ad128c95dde9cf500b28fa3e57611c9/ftpmirror.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 27026, 373, 1214, 12, 74, 16, 1191, 1214, 4672, 14720, 273, 284, 18, 27487, 1435, 309, 1191, 1214, 471, 486, 1140, 18, 803, 18, 291, 1214, 12, 3729, 1214, 4672, 309, 3988, 30, 117...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 27026, 373, 1214, 12, 74, 16, 1191, 1214, 4672, 14720, 273, 284, 18, 27487, 1435, 309, 1191, 1214, 471, 486, 1140, 18, 803, 18, 291, 1214, 12, 3729, 1214, 4672, 309, 3988, 30, 117...
To customize how the worker, server, or client behaves, you can look for their respective conf files in DOT_SAGE/dsage. The configuration file should be self explanatory.
See the $DOT_SAGE/dsage directory.
def spawn(cmd, verbose=True): """ Spawns a process and registers it with the SAGE cleaner. """ null = open('/dev/null', 'a') proc = '%s/%s' % (SAGE_ROOT + '/local/bin', cmd) process = subprocess.Popen(proc, shell=True, stdout=null, stderr=null) sage.interfaces.cleaner.cleaner(process.pid, cmd) if verbose: print 'Spaw...
e331136533cc2c023b0a8a585a21849be3522501 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/e331136533cc2c023b0a8a585a21849be3522501/dsage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12560, 12, 4172, 16, 3988, 33, 5510, 4672, 3536, 5878, 2219, 2387, 279, 1207, 471, 10285, 518, 598, 326, 348, 2833, 25933, 18, 225, 3536, 225, 446, 273, 1696, 2668, 19, 5206, 19, 2011, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12560, 12, 4172, 16, 3988, 33, 5510, 4672, 3536, 5878, 2219, 2387, 279, 1207, 471, 10285, 518, 598, 326, 348, 2833, 25933, 18, 225, 3536, 225, 446, 273, 1696, 2668, 19, 5206, 19, 2011, ...
result = str(msg).strip().split('\n')
result = tools.ustr(msg).strip().split('\n')
def notifyChannel(self, name, level, msg): log = logging.getLogger(name)
4ae6d79e28f81cc7ad286d86e637210377f80e44 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/4ae6d79e28f81cc7ad286d86e637210377f80e44/netsvc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 2909, 12, 2890, 16, 508, 16, 1801, 16, 1234, 4672, 613, 273, 2907, 18, 588, 3328, 12, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 2909, 12, 2890, 16, 508, 16, 1801, 16, 1234, 4672, 613, 273, 2907, 18, 588, 3328, 12, 529, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def mangle_neg(vals): """ Returns the product of all values in vals, with the result nonnegative if any of the values is nonnegative. EXAMPLES:: sage: from sage.plot.contour_plot import mangle_neg sage: mangle_neg([-1.2, -0.74, -2.56, -1.01]) -2.29601280000000 sage: mangle_neg([-1.2, 0.0, -2.56]) 0.000000000000000 s...
def equify(f): """ Returns the equation rewritten as a symbolic function to give negative values when True, positive when False. EXAMPLES:: sage: from sage.plot.contour_plot import equify sage: var('x, y') (x, y) sage: equify(x^2 < 2) x^2 - 2 sage: equify(x^2 > 2) -x^2 + 2 sage: equify(x*y > 1) -x*y + 1 sage: equify(...
63c73066c1587ec9886ecf425b6e5da537144bd9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/63c73066c1587ec9886ecf425b6e5da537144bd9/contour_plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1298, 1164, 12, 74, 4672, 3536, 2860, 326, 15778, 26768, 487, 279, 16754, 445, 358, 8492, 6092, 924, 1347, 1053, 16, 6895, 1347, 1083, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1298, 1164, 12, 74, 4672, 3536, 2860, 326, 15778, 26768, 487, 279, 16754, 445, 358, 8492, 6092, 924, 1347, 1053, 16, 6895, 1347, 1083, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30...
group_id = self.id_get(cr, 'res.groups', group[1:])
group_id = self.id_get(cr, group[1:])
def ref(str_id): return self.id_get(cr, None, str_id)
07a4bc7f3fdbd5f93ba4a066290ae65a3016075c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/07a4bc7f3fdbd5f93ba4a066290ae65a3016075c/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1278, 12, 701, 67, 350, 4672, 327, 365, 18, 350, 67, 588, 12, 3353, 16, 599, 16, 609, 67, 350, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1278, 12, 701, 67, 350, 4672, 327, 365, 18, 350, 67, 588, 12, 3353, 16, 599, 16, 609, 67, 350, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if y1 >= 0 or y1 <= 1:
if y1 >= 0 and y1 <= 1:
def _getPrevXt(self, curXt, Nt, s, ploidy): ''' Solve y from the backward formula and simulate backward trajectories in time It takes parameter curXt in the form of a list. Nt is passed in as a list for current population size/subpopulation sizes. The function returns a list, which contains allele frequencies of one pr...
ed0974aae32cc56594b3c23b4edeaf31bfe091eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/401/ed0974aae32cc56594b3c23b4edeaf31bfe091eb/simuUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9958, 60, 88, 12, 2890, 16, 662, 60, 88, 16, 423, 88, 16, 272, 16, 293, 383, 29609, 4672, 9163, 348, 5390, 677, 628, 326, 12555, 8013, 471, 20089, 12555, 1284, 937, 2401, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9958, 60, 88, 12, 2890, 16, 662, 60, 88, 16, 423, 88, 16, 272, 16, 293, 383, 29609, 4672, 9163, 348, 5390, 677, 628, 326, 12555, 8013, 471, 20089, 12555, 1284, 937, 2401, 3...
file.Write("namespace command_buffer {\n")
file.Write("namespace gpu {\n")
def WriteNamespaceOpen(self, file): """Writes the code for the namespace.""" file.Write("namespace command_buffer {\n") file.Write("namespace gles2 {\n") file.Write("\n")
563fe9981a03887d2ccb4167a16f320afb06a729 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/563fe9981a03887d2ccb4167a16f320afb06a729/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 3402, 3678, 12, 2890, 16, 585, 4672, 3536, 8368, 326, 981, 364, 326, 1981, 12123, 585, 18, 3067, 2932, 4937, 21810, 18890, 82, 7923, 585, 18, 3067, 2932, 4937, 314, 1040, 22, 18890...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2598, 3402, 3678, 12, 2890, 16, 585, 4672, 3536, 8368, 326, 981, 364, 326, 1981, 12123, 585, 18, 3067, 2932, 4937, 21810, 18890, 82, 7923, 585, 18, 3067, 2932, 4937, 314, 1040, 22, 18890...
out += "\n"
def filter_hidden_fields(recxml, user_info=None, filter_tags=CFG_BIBFORMAT_HIDDEN_TAGS, force_filtering=False): """ Filter out tags specified by filter_tags from MARCXML. If the user is allowed to run bibedit, then filter nothing, unless force_filtering is set to True. @param recxml: marcxml presentation of the record...
20e96ad48ede22462dfe13c27b1e6c0e3b6c3da1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12027/20e96ad48ede22462dfe13c27b1e6c0e3b6c3da1/bibformat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 6345, 67, 2821, 12, 3927, 2902, 16, 729, 67, 1376, 33, 7036, 16, 1034, 67, 4156, 33, 19727, 67, 38, 13450, 7254, 67, 44, 18216, 67, 29915, 16, 2944, 67, 2188, 310, 33, 8381...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 6345, 67, 2821, 12, 3927, 2902, 16, 729, 67, 1376, 33, 7036, 16, 1034, 67, 4156, 33, 19727, 67, 38, 13450, 7254, 67, 44, 18216, 67, 29915, 16, 2944, 67, 2188, 310, 33, 8381...
'visible' : 0,
def getCMFVersion(): from os.path import join from Globals import package_home from Products.CMFCore import cmfcore_globals
007e8c3f4e79f019befd6180292339a943b6f81d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/007e8c3f4e79f019befd6180292339a943b6f81d/ArchetypeTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 13542, 1444, 13332, 628, 1140, 18, 803, 1930, 1233, 628, 18901, 1031, 1930, 2181, 67, 8712, 628, 8094, 87, 18, 9611, 4488, 479, 1930, 5003, 74, 3644, 67, 16227, 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, 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, 1927, 13542, 1444, 13332, 628, 1140, 18, 803, 1930, 1233, 628, 18901, 1031, 1930, 2181, 67, 8712, 628, 8094, 87, 18, 9611, 4488, 479, 1930, 5003, 74, 3644, 67, 16227, 2, -100, -100, -100...
self.close = True
self.closed = True
def close(self): if not self.closed: self.stream.close() self.close = True
a0e5b840ca27f073ee39ae34db867e8c24c8f86c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2063/a0e5b840ca27f073ee39ae34db867e8c24c8f86c/charpos.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 309, 486, 365, 18, 12204, 30, 365, 18, 3256, 18, 4412, 1435, 365, 18, 4412, 273, 1053, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 309, 486, 365, 18, 12204, 30, 365, 18, 3256, 18, 4412, 1435, 365, 18, 4412, 273, 1053, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return super(journal_print ,self)._get_fiscalyear(data)
return super(journal_print ,self)._get_fiscalyear(data)
def _get_fiscalyear(self, data): if data['model']=='account.journal.period': return self.pool.get('account.journal.period').browse(self.cr, self.uid, data['id']).fiscalyear_id.name return super(journal_print ,self)._get_fiscalyear(data)
83bae2679c9e2a2e5d9ead04648b1f0162029f38 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/83bae2679c9e2a2e5d9ead04648b1f0162029f38/general_journal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 74, 291, 771, 6874, 12, 2890, 16, 501, 4672, 309, 501, 3292, 2284, 3546, 18920, 4631, 18, 22644, 18, 6908, 4278, 327, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 74, 291, 771, 6874, 12, 2890, 16, 501, 4672, 309, 501, 3292, 2284, 3546, 18920, 4631, 18, 22644, 18, 6908, 4278, 327, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, ...
try: self.ftp.nlst(file) except ftplib.error_perm, reason: raise IOError, ('ftp error', reason), sys.exc_info()[2] self.ftp.voidcmd(cmd)
def retrfile(self, file, type): import ftplib self.endtransfer() if type in ('d', 'D'): cmd = 'TYPE A'; isdir = 1 else: cmd = 'TYPE ' + type; isdir = 0 try: self.ftp.voidcmd(cmd) except ftplib.all_errors: self.init() self.ftp.voidcmd(cmd) conn = None if file and not isdir: # Use nlst to see if the file exists at all tr...
446f9e622f178a516fc4e54fe357eccaa90debf2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/446f9e622f178a516fc4e54fe357eccaa90debf2/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17343, 768, 12, 2890, 16, 585, 16, 618, 4672, 1930, 11038, 6673, 365, 18, 409, 13866, 1435, 309, 618, 316, 7707, 72, 2187, 296, 40, 11, 4672, 1797, 273, 296, 2399, 432, 13506, 9783, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17343, 768, 12, 2890, 16, 585, 16, 618, 4672, 1930, 11038, 6673, 365, 18, 409, 13866, 1435, 309, 618, 316, 7707, 72, 2187, 296, 40, 11, 4672, 1797, 273, 296, 2399, 432, 13506, 9783, 27...
Supports an optional ``fields`` parameter of key/value strings. If provided, they will be added to the url.
Supports an optional ``fields`` dictionary parameter key/value strings. If provided, they will be added to the url.
def get_url(self, url, fields={}, headers={}, retries=3, redirect=True): """ Wrapper for performing GET with urlopen (see urlopen for more details).
4963f6dd0cd2f0b03e268b15e7d0fe2f7801fbdd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12281/4963f6dd0cd2f0b03e268b15e7d0fe2f7801fbdd/connectionpool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 718, 12, 2890, 16, 880, 16, 1466, 28793, 1607, 28793, 9453, 33, 23, 16, 3136, 33, 5510, 4672, 3536, 18735, 364, 14928, 4978, 598, 19613, 261, 5946, 19613, 364, 1898, 3189, 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, 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, 718, 12, 2890, 16, 880, 16, 1466, 28793, 1607, 28793, 9453, 33, 23, 16, 3136, 33, 5510, 4672, 3536, 18735, 364, 14928, 4978, 598, 19613, 261, 5946, 19613, 364, 1898, 3189, 2934,...
if os.exists(file_path):
if os.path.exists(file_path):
def save(self, directory_path): """ Save the material (the unencrypted PEM encoded RSA private key) of a newly created KeyPair to a local file. @type directory_path: string @param directory_path: The fully qualified path to the directory in which the keypair will be saved. The keypair file will be named using the nam...
de7f10449fd85cbd08da9ce1b75a7542538efca0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1098/de7f10449fd85cbd08da9ce1b75a7542538efca0/keypair.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 1867, 67, 803, 4672, 3536, 7074, 326, 9390, 261, 5787, 640, 18702, 17475, 3749, 13470, 3238, 498, 13, 434, 279, 10894, 2522, 28968, 358, 279, 1191, 585, 18, 225, 632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 1867, 67, 803, 4672, 3536, 7074, 326, 9390, 261, 5787, 640, 18702, 17475, 3749, 13470, 3238, 498, 13, 434, 279, 10894, 2522, 28968, 358, 279, 1191, 585, 18, 225, 632,...
station = streams[i][0].stats.station.strip() self.dicts[i]['Station'] = station self.dictsMap[station] = self.dicts[i]
sta = self.streams[i][0].stats.station.strip() self.dicts[i]['Station'] = sta self.dictsMap[sta] = self.dicts[i]
def __init__(self, streams = None, options = None): self.streams = streams self.options = options #Define some flags, dictionaries and plotting options self.flagFilt=False #False:no filter True:filter self.flagFiltTyp=0 #0: bandpass 1: bandstop 2:lowpass 3: highpass self.dictFiltTyp={'Bandpass':0, 'Bandstop':1, 'Lowpa...
50570db0175b1852c554a55b2bd91b8f3d8fb93f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/50570db0175b1852c554a55b2bd91b8f3d8fb93f/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8205, 273, 599, 16, 702, 273, 599, 4672, 365, 18, 16320, 273, 8205, 365, 18, 2116, 273, 702, 468, 11644, 2690, 2943, 16, 16176, 471, 20947, 702, 365, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8205, 273, 599, 16, 702, 273, 599, 4672, 365, 18, 16320, 273, 8205, 365, 18, 2116, 273, 702, 468, 11644, 2690, 2943, 16, 16176, 471, 20947, 702, 365, 18,...
_fl_create_counter = cfuncproto(so_libforms, "fl_create_counter",
_fl_create_counter = cfuncproto(so_libforms, "fl_create_counter",
def fl_set_clock_ampm(ob, y): """ fl_set_clock_ampm(ob, y) """ _fl_set_clock_ampm(ob, y)
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, 18517, 67, 931, 81, 12, 947, 16, 677, 4672, 3536, 1183, 67, 542, 67, 18517, 67, 931, 81, 12, 947, 16, 677, 13, 3536, 225, 389, 2242, 67, 542, 67, 18517, 67, 931,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 18517, 67, 931, 81, 12, 947, 16, 677, 4672, 3536, 1183, 67, 542, 67, 18517, 67, 931, 81, 12, 947, 16, 677, 13, 3536, 225, 389, 2242, 67, 542, 67, 18517, 67, 931,...
class TestExceptionSpawn(TestException): spawn = True
def test(self): try: response = urlopen(self.url) except HTTPError, e: assert e.code == 500, e assert e.msg == 'Internal Server Error', e
b9d930ec135c6f617f8874d9ec2c540d777d4b53 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/b9d930ec135c6f617f8874d9ec2c540d777d4b53/test__http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 12, 2890, 4672, 775, 30, 766, 273, 19613, 12, 2890, 18, 718, 13, 1335, 14415, 16, 425, 30, 1815, 425, 18, 710, 422, 6604, 16, 425, 1815, 425, 18, 3576, 422, 296, 3061, 3224, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 12, 2890, 4672, 775, 30, 766, 273, 19613, 12, 2890, 18, 718, 13, 1335, 14415, 16, 425, 30, 1815, 425, 18, 710, 422, 6604, 16, 425, 1815, 425, 18, 3576, 422, 296, 3061, 3224, 10...
returnvalue = (0, 0, 0, 0, 0, 0, 0) satpos = self.tuning_sat.orbital_position if satpos is not None: if self.tuning_type.value == "manual_transponder": returnvalue = (self.scan_sat.frequency.value, self.scan_sat.symbolrate.value, self.scan_sat.polarization.index, self.scan_sat.fec.index, self.scan_sat.inversion.index,...
returnvalue = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0) satpos = int(self.tuning_sat.value) if self.tuning_type.value == "manual_transponder": if self.scan_sat.system.value == "dvb-s2": fec = self.scan_sat.fec_s2.value else: fec = self.scan_sat.fec.value returnvalue = ( self.scan_sat.frequency.value, self.scan_sat.symbolrate.valu...
def retune(self, configElement): returnvalue = (0, 0, 0, 0, 0, 0, 0) satpos = self.tuning_sat.orbital_position if satpos is not None: if self.tuning_type.value == "manual_transponder": returnvalue = (self.scan_sat.frequency.value, self.scan_sat.symbolrate.value, self.scan_sat.polarization.index, self.scan_sat.fec.inde...
8365147ec23134f886ec4ad374b84034b37c5579 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/8365147ec23134f886ec4ad374b84034b37c5579/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 325, 7556, 12, 2890, 16, 642, 1046, 4672, 327, 1132, 273, 261, 20, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 13, 5942, 917, 273, 509, 12, 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, 325, 7556, 12, 2890, 16, 642, 1046, 4672, 327, 1132, 273, 261, 20, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 16, 374, 13, 5942, 917, 273, 509, 12, 2...
P ( contents = [
P ( contents = [
def makePage( _T, _N, _M, MIRRORS_DATA, lang, charset ): navigation = Tree \ ( [ P ( contents = [ Img( src = '%(ROOT)simages/pointer.png' ), A( _N['home'], href=makeURL( '.', lang ))] ), Tree \ ( [ P ( contents = [ Img( src = '%(ROOT)simages/englishlogo.png', width = 16, height = 10), A( 'English', href='%(BASE)s.' )])...
6f57d571cb5a191a538d1b271f46a3e100233a4d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4747/6f57d571cb5a191a538d1b271f46a3e100233a4d/page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1964, 12, 389, 56, 16, 389, 50, 16, 389, 49, 16, 490, 7937, 2784, 55, 67, 4883, 16, 3303, 16, 4856, 262, 30, 10394, 273, 4902, 521, 261, 306, 453, 261, 2939, 273, 306, 2221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1964, 12, 389, 56, 16, 389, 50, 16, 389, 49, 16, 490, 7937, 2784, 55, 67, 4883, 16, 3303, 16, 4856, 262, 30, 10394, 273, 4902, 521, 261, 306, 453, 261, 2939, 273, 306, 2221, ...
if not self.songinfo.has_key('album'): album = u'' else: album = self.songinfo['album'] if not self.songinfo.has_key('track'): tracknumber = u'' else: tracknumber = self.songinfo['track'] if self.scrob_post: self.scrob_post.nowplaying(self.songinfo['artist'],
if not self.songinfo.has_key('album'): album = u'' else: album = self.songinfo['album'] if not self.songinfo.has_key('track'): tracknumber = u'' else: tracknumber = self.songinfo['track'] self.scrob_post.nowplaying(self.songinfo['artist'],
def _do_scrobbler_np(self): self.scrobbler_init() if self.use_scrobbler and self.songinfo: if self.songinfo.has_key('artist') and \ self.songinfo.has_key('title') and \ self.songinfo.has_key('time'): if not self.songinfo.has_key('album'): album = u'' else: album = self.songinfo['album'] if not self.songinfo.has_key('tr...
e71061740c79f804ae4e9989a02761c1aa54f6d1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/e71061740c79f804ae4e9989a02761c1aa54f6d1/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 1017, 303, 9897, 749, 67, 6782, 12, 2890, 4672, 365, 18, 1017, 303, 9897, 749, 67, 2738, 1435, 309, 365, 18, 1202, 67, 1017, 303, 9897, 749, 471, 365, 18, 816, 75, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 1017, 303, 9897, 749, 67, 6782, 12, 2890, 4672, 365, 18, 1017, 303, 9897, 749, 67, 2738, 1435, 309, 365, 18, 1202, 67, 1017, 303, 9897, 749, 471, 365, 18, 816, 75, 137...
self.textbuffer.insert(iter, "\nTotal size:" + FileUtilities.bytes_to_human(total_bytes))
self.textbuffer.insert(__iter, "\nTotal size:" + FileUtilities.bytes_to_human(total_bytes))
def preview_or_run_operations(self, really_delete): """Preview operations or run operations (delete files)""" operations = self.get_selected_operations() if 0 == len(operations): gtk.gdk.threads_enter() dialog = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING, gtk.B...
ae6ba50f95259c1c2cc0062ebd36d3fef0dce685 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7853/ae6ba50f95259c1c2cc0062ebd36d3fef0dce685/GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10143, 67, 280, 67, 2681, 67, 17542, 12, 2890, 16, 8654, 67, 3733, 4672, 3536, 11124, 5295, 578, 1086, 5295, 261, 3733, 1390, 15574, 5295, 273, 365, 18, 588, 67, 8109, 67, 17542, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10143, 67, 280, 67, 2681, 67, 17542, 12, 2890, 16, 8654, 67, 3733, 4672, 3536, 11124, 5295, 578, 1086, 5295, 261, 3733, 1390, 15574, 5295, 273, 365, 18, 588, 67, 8109, 67, 17542, 1435, ...
this = apply(_quickfix.new_EncodedUnderlyingIssuerLen, args)
this = _quickfix.new_EncodedUnderlyingIssuerLen(*args)
def __init__(self, *args): this = apply(_quickfix.new_EncodedUnderlyingIssuerLen, 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, 10397, 14655, 6291, 16667, 2891, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 10397, 14655, 6291, 16667, 2891, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 1...
text = "(none)".encode('utf-8')
text = text.encode('cp1252')
def _clean_text_value(self, text): if text is not None and text.strip() : text = text.strip() if not isinstance(text, unicode): text = text.decode('utf-8', 'replace') text = text.encode('utf-8') else : text = "(none)".encode('utf-8') return text
e60d72753e507ac400e19bdec4907d52940848e6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/e60d72753e507ac400e19bdec4907d52940848e6/writer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6200, 67, 955, 67, 1132, 12, 2890, 16, 977, 4672, 309, 977, 353, 486, 599, 471, 977, 18, 6406, 1435, 294, 977, 273, 977, 18, 6406, 1435, 309, 486, 1549, 12, 955, 16, 5252, 4672,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6200, 67, 955, 67, 1132, 12, 2890, 16, 977, 4672, 309, 977, 353, 486, 599, 471, 977, 18, 6406, 1435, 294, 977, 273, 977, 18, 6406, 1435, 309, 486, 1549, 12, 955, 16, 5252, 4672,...
lst =[] for name,child in obj.objectItems(): if child.meta_type=="Folder": lst.extend(findChildren(child,dirname+ obj.id + '/'))
lst = [] for name, child in obj.objectItems(): if hasattr(aq_base(child), 'isPrincipiaFolderish') and child.isPrincipiaFolderish: lst.extend(findChildren(child, dirname + obj.id + '/'))
def findChildren(obj,dirname=''): """ recursive walk through the object hierarchy to find all children of an object (ajung) """ lst =[] for name,child in obj.objectItems(): if child.meta_type=="Folder": lst.extend(findChildren(child,dirname+ obj.id + '/')) else: lst.append( (dirname + obj.id + "/" + name,child) ) ret...
62fd608a28a6ec86172e8ef8adbd0362880180ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/62fd608a28a6ec86172e8ef8adbd0362880180ad/ObjectManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 4212, 12, 2603, 16, 12287, 2218, 11, 4672, 3536, 5904, 5442, 3059, 326, 733, 9360, 358, 1104, 777, 2325, 434, 392, 733, 261, 4365, 20651, 13, 3536, 225, 9441, 273, 5378, 364, 508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 4212, 12, 2603, 16, 12287, 2218, 11, 4672, 3536, 5904, 5442, 3059, 326, 733, 9360, 358, 1104, 777, 2325, 434, 392, 733, 261, 4365, 20651, 13, 3536, 225, 9441, 273, 5378, 364, 508, ...
bgimagemask=Image.new("RGBA",bgimage.size)
bgimagemask=Image.new("RGBA",overlayimage.size)
def createChapterMenu(screensize, screendpi, numberofitems): """Creates all the necessary menu images and files for the MythBurn menus.""" #Get the main menu node (we must only have 1) menunode=themeDOM.getElementsByTagName("submenu") if menunode.length!=1: fatalError("Cannot find submenu element in theme file") menun...
b4b3dc0760dd22f26d036660d08e363e0ebf4ef2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13713/b4b3dc0760dd22f26d036660d08e363e0ebf4ef2/mythburn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 782, 2487, 4599, 12, 1017, 266, 773, 554, 16, 888, 266, 409, 7259, 16, 1300, 792, 3319, 4672, 3536, 2729, 777, 326, 4573, 3824, 4602, 471, 1390, 364, 326, 8005, 451, 38, 321, 2137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 782, 2487, 4599, 12, 1017, 266, 773, 554, 16, 888, 266, 409, 7259, 16, 1300, 792, 3319, 4672, 3536, 2729, 777, 326, 4573, 3824, 4602, 471, 1390, 364, 326, 8005, 451, 38, 321, 2137...
format = '%(levelname)s:%(name)s:%(message)s'
msg_format = '%(levelname)s:%(name)s:%(message)s'
def setup_logger(options): """Setup the global (root, basic) configuration for logging.""" format = '%(message)s' if options.debug: level = logging.DEBUG format = '%(levelname)s:%(name)s:%(message)s' elif options.verbose: level = logging.DEBUG elif options.quiet: level = logging.ERROR else: level = logging.INFO logging...
d06210e4550685a6f56af05f975818b155b4b91e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2899/d06210e4550685a6f56af05f975818b155b4b91e/google.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 67, 4901, 12, 2116, 4672, 3536, 7365, 326, 2552, 261, 3085, 16, 5337, 13, 1664, 364, 2907, 12123, 740, 273, 21063, 2150, 13, 87, 11, 309, 702, 18, 4148, 30, 1801, 273, 2907, 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, 3875, 67, 4901, 12, 2116, 4672, 3536, 7365, 326, 2552, 261, 3085, 16, 5337, 13, 1664, 364, 2907, 12123, 740, 273, 21063, 2150, 13, 87, 11, 309, 702, 18, 4148, 30, 1801, 273, 2907, 18, ...
cmd = """INSERT INTO logs.%s(hostId, runId, sliceid, status, level, log, date, node, TIMESTAMP, custom, comment, pipeline, eventtime, pubtime, type, stageid, loopnum) values("%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s")""" % (dbTable, hostId, runId, sliceId, statu...
cmd = """INSERT INTO logs.%s(hostId, runId, sliceid, status, level, log, date, node, timestamp, custom, comment, pipeline, eventtime, pubtime, type, stageid, loopnum, workerid) values("%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s"); """ % (dbTable, hostId, run...
def _insertRecord(self, dbTable, ps):
dcff16115fd4b90da4b2aad9583613f6ddb7920b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6552/dcff16115fd4b90da4b2aad9583613f6ddb7920b/DatabaseLogger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6387, 2115, 12, 2890, 16, 1319, 1388, 16, 4250, 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...
[ 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, 389, 6387, 2115, 12, 2890, 16, 1319, 1388, 16, 4250, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return int(time.mktime((now.tm_year, now.tm_mon, now.tm_mday, clock[0], clock[1], 0, now.tm_wday, now.tm_yday, now.tm_isdst)))
wake = int(time.mktime((now.tm_year, now.tm_mon, now.tm_mday, clock[0], clock[1], 0, 0, now.tm_yday, now.tm_isdst))) if wake < now: wake += (24*3600) return wake
def getWakeTime(self): if config.plugins.epgimport.enabled.value: clock = config.plugins.epgimport.wakeup.value nowt = time.time() now = time.localtime(nowt) return int(time.mktime((now.tm_year, now.tm_mon, now.tm_mday, clock[0], clock[1], 0, now.tm_wday, now.tm_yday, now.tm_isdst))) else: return -1
d41cb1bd0174ca049f7a1f50710c76a9955af141 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10939/d41cb1bd0174ca049f7a1f50710c76a9955af141/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13876, 911, 950, 12, 2890, 4672, 309, 642, 18, 8057, 18, 881, 75, 5666, 18, 5745, 18, 1132, 30, 7268, 273, 642, 18, 8057, 18, 881, 75, 5666, 18, 91, 911, 416, 18, 1132, 2037, 88, 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, 13876, 911, 950, 12, 2890, 4672, 309, 642, 18, 8057, 18, 881, 75, 5666, 18, 5745, 18, 1132, 30, 7268, 273, 642, 18, 8057, 18, 881, 75, 5666, 18, 91, 911, 416, 18, 1132, 2037, 88, 2...
if __debug__: self.printCurrentView("sendInvitation")
smtp.SMTPSender(self.repository, self.account, self.__createMessage()).sendMail()
def sendInvitation(self): if __debug__: self.printCurrentView("sendInvitation")
6259a34016a317d71ffe809f51fffa702adfa3a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/6259a34016a317d71ffe809f51fffa702adfa3a5/sharing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 19896, 12, 2890, 4672, 309, 1001, 4148, 972, 30, 365, 18, 1188, 3935, 1767, 2932, 4661, 19896, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 19896, 12, 2890, 4672, 309, 1001, 4148, 972, 30, 365, 18, 1188, 3935, 1767, 2932, 4661, 19896, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def fl_clear_xyplot(obj): """ fl_clear_xyplot(obj) """ _fl_clear_xyplot(obj)
def fl_clear_xyplot(pObject): """ fl_clear_xyplot(pObject) """ _fl_clear_xyplot(pObject)
def fl_clear_xyplot(obj): """ fl_clear_xyplot(obj) """ _fl_clear_xyplot(obj)
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, 8507, 67, 1698, 4032, 12, 84, 921, 4672, 3536, 1183, 67, 8507, 67, 1698, 4032, 12, 84, 921, 13, 3536, 225, 389, 2242, 67, 8507, 67, 1698, 4032, 12, 84, 921, 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, 8507, 67, 1698, 4032, 12, 84, 921, 4672, 3536, 1183, 67, 8507, 67, 1698, 4032, 12, 84, 921, 13, 3536, 225, 389, 2242, 67, 8507, 67, 1698, 4032, 12, 84, 921, 13, 282, 2, -...
processes[startup] = process
processes[startup] = name, process
def signal_handler(sig, frame): sys.exit()
ecb97d79d70cffbe2a82cc08d6856395f93dde2d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14361/ecb97d79d70cffbe2a82cc08d6856395f93dde2d/startup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4277, 67, 4176, 12, 7340, 16, 2623, 4672, 2589, 18, 8593, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4277, 67, 4176, 12, 7340, 16, 2623, 4672, 2589, 18, 8593, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
raise u'Splitting parts do not match word length'
raise ValueError(u'Splitting parts do not match word length')
def Run(self): try: count = 0 lastLetter = '' for namespace in self.namespaces: self.params['apnamespace'] = namespace title = None while True: # Get data self.params['apfrom'] = self.apfrom data = query.GetData(self.site.lang, self.params, self.verbose) try: self.apfrom = data['query']['allpages']['next'] except: sel...
ab9d478f34cfd6a362913f5c362599b2477e5c5e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/ab9d478f34cfd6a362913f5c362599b2477e5c5e/casechecker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 12, 2890, 4672, 775, 30, 1056, 273, 374, 1142, 13938, 273, 875, 364, 1981, 316, 365, 18, 16078, 30, 365, 18, 2010, 3292, 438, 4937, 3546, 273, 1981, 2077, 273, 599, 225, 1323, 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, 1939, 12, 2890, 4672, 775, 30, 1056, 273, 374, 1142, 13938, 273, 875, 364, 1981, 316, 365, 18, 16078, 30, 365, 18, 2010, 3292, 438, 4937, 3546, 273, 1981, 2077, 273, 599, 225, 1323, 10...
"--> %s(\*)? (.*)" % names)
"--> %s(\*)?:? (.*)" % names)
def __init__ (self, connection): GObject.__init__(self) self.connection = connection self.connection.expect_line_plus (self.onPrivateMessage, "%s(\*)?(?:\[(\d+)\])? (?:tells you|says): (.*)" % names) self.connection.expect_line_plus (self.onAnnouncement, "\s*\*\*ANNOUNCEMENT\*\* (.*)") self.connection.expect_line_plus...
f9fa578ab7cb4a82beda276d8c81d627e4977ee3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/f9fa578ab7cb4a82beda276d8c81d627e4977ee3/ChatManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1459, 4672, 611, 921, 16186, 2738, 972, 12, 2890, 13, 365, 18, 4071, 273, 1459, 225, 365, 18, 4071, 18, 12339, 67, 1369, 67, 10103, 261, 2890, 18, 265, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1459, 4672, 611, 921, 16186, 2738, 972, 12, 2890, 13, 365, 18, 4071, 273, 1459, 225, 365, 18, 4071, 18, 12339, 67, 1369, 67, 10103, 261, 2890, 18, 265, ...
if isinstance(file, str):
if isinstance(file, basestring):
def savez(file, *args, **kwds): """Save several arrays into an .npz file format which is a zipped-archive of arrays If keyword arguments are given, then filenames are taken from the keywords. If arguments are passed in with no keywords, then stored file names are arr_0, arr_1, etc. """ # Import is postponed to here s...
0d04757c1e9255e920395106d9c176af45ff0b4d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14925/0d04757c1e9255e920395106d9c176af45ff0b4d/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 94, 12, 768, 16, 380, 1968, 16, 2826, 25577, 4672, 3536, 4755, 11392, 5352, 1368, 392, 263, 6782, 94, 585, 740, 1492, 353, 279, 3144, 1845, 17, 10686, 434, 5352, 225, 971, 4932, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 94, 12, 768, 16, 380, 1968, 16, 2826, 25577, 4672, 3536, 4755, 11392, 5352, 1368, 392, 263, 6782, 94, 585, 740, 1492, 353, 279, 3144, 1845, 17, 10686, 434, 5352, 225, 971, 4932, ...
"Platform mutex still help after stop")
"Platform mutex still held after stop")
def _stop_spawner(self, spawner): self.failUnless(spawner.is_running(), "must be running to stop") self.failUnless(is_any_sb_server_running(), "Platform mutex must be held to stop") spawner.stop() self.failUnless(not spawner.is_running(), "didn't stop after stop") self.failUnless(not is_any_sb_server_running(), "Platfo...
0c7432867e65288069bc0834bf47e4e1f38eb23d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/0c7432867e65288069bc0834bf47e4e1f38eb23d/test_programs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5681, 67, 1752, 2219, 1224, 12, 2890, 16, 1694, 2219, 1224, 4672, 365, 18, 6870, 984, 2656, 12, 1752, 2219, 1224, 18, 291, 67, 8704, 9334, 315, 11926, 506, 3549, 358, 2132, 7923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5681, 67, 1752, 2219, 1224, 12, 2890, 16, 1694, 2219, 1224, 4672, 365, 18, 6870, 984, 2656, 12, 1752, 2219, 1224, 18, 291, 67, 8704, 9334, 315, 11926, 506, 3549, 358, 2132, 7923, ...
plane2Dlist = EMNumPy.em2numpy(em) pType = plane2Dlist.dtype.name
npArray = EMNumPy.em2numpy(em) if len(npArray.shape) < 3: plane2Dlist = [npArray] else: plane2Dlist = npArray pType = npArray.dtype.name
def uploadImageToDataset(services, localImage, dataset=None, description="", imageName=None): """ Uploads a local Spider image to an OMERO dataset. Same function exists in spider2omero.py. @param services Map of OMERO services @param pixelsType The OMERO PixelsType object for new image. @param imageName The ...
3412119e3634a1ca4a85126a69b856f1613dd33d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/3412119e3634a1ca4a85126a69b856f1613dd33d/Nonlinear_Anisotropic_Diffusion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 2040, 774, 10656, 12, 8387, 16, 1191, 2040, 16, 3709, 33, 7036, 16, 2477, 1546, 3113, 29842, 33, 7036, 4672, 225, 3536, 9414, 87, 279, 1191, 5878, 3585, 1316, 358, 392, 28839, 1330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 2040, 774, 10656, 12, 8387, 16, 1191, 2040, 16, 3709, 33, 7036, 16, 2477, 1546, 3113, 29842, 33, 7036, 4672, 225, 3536, 9414, 87, 279, 1191, 5878, 3585, 1316, 358, 392, 28839, 1330...
lda = a_shape[0] ldb = b_shape[0]
lda = m ldb = k
def dot_device(a, a_shape, b, b_shape, a_dtype): """ Matrix product of two arrays. Computes the matrix product of two arrays of shapes `(m, k)` and `(k, n)`; the result has shape `(m, n)`. Parameters ---------- a : c_void_p Pointer to device memory containing matrix of shape `(m, k)`. a_shape : tuple Shape of matrix ...
0db46f21347ad2e74c074cc1aebf3c79a24e3cd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14753/0db46f21347ad2e74c074cc1aebf3c79a24e3cd4/cula.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3928, 67, 5964, 12, 69, 16, 279, 67, 4867, 16, 324, 16, 324, 67, 4867, 16, 279, 67, 8972, 4672, 3536, 7298, 3017, 434, 2795, 5352, 18, 225, 14169, 281, 326, 3148, 3017, 434, 2795, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3928, 67, 5964, 12, 69, 16, 279, 67, 4867, 16, 324, 16, 324, 67, 4867, 16, 279, 67, 8972, 4672, 3536, 7298, 3017, 434, 2795, 5352, 18, 225, 14169, 281, 326, 3148, 3017, 434, 2795, 53...
client.notify_add("/desktop/gnome/interface/toolbar_style", self.gconf_key_changed)
client.notify_add("/desktop/gnome/interface/toolbar_style", self.gconf_key_changed)
def __init__(self): try: gettext.install('mirage', '/usr/share/locale', unicode=1) except: gettext.install('mirage', '/usr/local/share/locale', unicode=1) # Constants self.open_mode_smart = 0 self.open_mode_fit = 1 self.open_mode_1to1 = 2 self.open_mode_last = 3 self.max_zoomratio = 5 # 5 x self.zoomratio_for_z...
f4fb8573b027b21956ca815c0edbf66e6ae6e39e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/f4fb8573b027b21956ca815c0edbf66e6ae6e39e/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 225, 775, 30, 24972, 18, 5425, 2668, 81, 481, 410, 2187, 1173, 13640, 19, 14419, 19, 6339, 2187, 5252, 33, 21, 13, 1335, 30, 24972, 18, 5425, 2668, 81,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 225, 775, 30, 24972, 18, 5425, 2668, 81, 481, 410, 2187, 1173, 13640, 19, 14419, 19, 6339, 2187, 5252, 33, 21, 13, 1335, 30, 24972, 18, 5425, 2668, 81,...
sys.__stdout__.write("OUT %s\n"%(time()))
if not hasattr(self, "prevTime"): self.prevTime = time() snow = time()
def _loop(self, starttime, count, interval): if hasattr(self, "call"): del self.call sys.__stdout__.write("OUT %s\n"%(time())) self.f(*self.a, **self.kw) now = time() while self.running: count += 1 fromStart = count * interval fromNow = starttime - now delay = fromNow + fromStart if delay > 0: self.call = reactor.callL...
fe13da535c92a56f1ea61fcfdfb5efeaf4929e3d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1265/fe13da535c92a56f1ea61fcfdfb5efeaf4929e3d/rtp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 309, 486, 3859, 12, 2890, 16, 315, 10001, 950, 6, 4672, 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, 389, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 309, 486, 3859, 12, 2890, 16, 315, 10001, 950, 6, 4672, 36...
tx.setXPos(offset) tx._textOut(string.join(words),1)
setXPos(tx,offset) tx._textOut(join(words),1) setXPos(tx,-offset)
def _leftDrawParaLine( tx, offset, extraspace, words, last=0): tx.setXPos(offset) tx._textOut(string.join(words),1)
8f8ad2094f390b0f1bc05d368540a202a73fdeef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/8f8ad2094f390b0f1bc05d368540a202a73fdeef/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4482, 6493, 23529, 1670, 12, 2229, 16, 1384, 16, 11875, 909, 16, 4511, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 2229, 6315, 955, 1182, 12, 5701, 12, 3753, 3631,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4482, 6493, 23529, 1670, 12, 2229, 16, 1384, 16, 11875, 909, 16, 4511, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 2229, 6315, 955, 1182, 12, 5701, 12, 3753, 3631,...
if needed_sonames:
if options.debug and needed_sonames:
def main(): result_ok = True errors = [] options, args = checkpkg.GetOptions() pkgnames = args if options.debug: logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.INFO) checkers = [] for pkgname in pkgnames: checker = checkpkg.CheckpkgBase(options.extractdir, pkgname) checkers.append(chec...
de72ac91c52ea56ac742eb6392e49f0a04d1f137 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3137/de72ac91c52ea56ac742eb6392e49f0a04d1f137/checkpkg-libs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 563, 67, 601, 273, 1053, 1334, 273, 5378, 702, 16, 833, 273, 866, 10657, 18, 967, 1320, 1435, 2365, 1600, 753, 273, 833, 309, 702, 18, 4148, 30, 2907, 18, 13240, 809, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 563, 67, 601, 273, 1053, 1334, 273, 5378, 702, 16, 833, 273, 866, 10657, 18, 967, 1320, 1435, 2365, 1600, 753, 273, 833, 309, 702, 18, 4148, 30, 2907, 18, 13240, 809, 12, ...
'comment': fields.text('Additionnal Information'),
'comment': fields.text('Additional Information'),
def _get_invoice_from_reconcile(self, cr, uid, ids, context={}): move = {} for r in self.pool.get('account.move.reconcile').browse(cr, uid, ids): for line in r.line_partial_ids: move[line.move_id.id] = True for line in r.line_id: move[line.move_id.id] = True invoice_ids = [] if move: invoice_ids = self.pool.get('accoun...
6484ed935417169baf3ccfae18c1b54455b7193e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/6484ed935417169baf3ccfae18c1b54455b7193e/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 16119, 67, 2080, 67, 266, 11504, 398, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 3635, 273, 2618, 364, 436, 316, 365, 18, 6011, 18, 588, 2668, 4631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 16119, 67, 2080, 67, 266, 11504, 398, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 3635, 273, 2618, 364, 436, 316, 365, 18, 6011, 18, 588, 2668, 4631, ...
if frequency == 44100 and format == -16 and stereo:
if frequency == 44100 and format == -16 and stereo and ogg:
def __new__(cls, engine, channel, fileName): frequency, format, stereo = pygame.mixer.get_init() if fileName.lower().endswith(".ogg"): if frequency == 44100 and format == -16 and stereo: return StreamingOggSound(engine, channel, fileName) else: Log.warn("Audio settings must match stereo 16 bits at 44100 Hz in order to ...
5bba11543d81322005c2ce19bd0430281d324392 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7946/5bba11543d81322005c2ce19bd0430281d324392/Audio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 4073, 16, 1904, 16, 3968, 4672, 8670, 16, 740, 16, 29558, 273, 2395, 13957, 18, 14860, 264, 18, 588, 67, 2738, 1435, 309, 3968, 18, 8167, 7675, 5839, 191...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 972, 12, 6429, 16, 4073, 16, 1904, 16, 3968, 4672, 8670, 16, 740, 16, 29558, 273, 2395, 13957, 18, 14860, 264, 18, 588, 67, 2738, 1435, 309, 3968, 18, 8167, 7675, 5839, 191...
message['to'] = "%semchat@conference.%s" % (wfo.lower(), CHATSERVER) self.xmlstream.send(message) message['to'] = "kccichat@conference.%s" % (CHATSERVER,)
message['to'] = "%semchat@conference.%s" % (wfo.lower(), secret.CHATSERVER) self.xmlstream.send(message) message['to'] = "kccichat@conference.%s" % (secret.CHATSERVER,)
def processMessagePC(self, elem): _from = jid.JID( elem["from"] ) # Intercept private messages via a chatroom, can't do that :) if (_from.host == "conference.%s" % (CHATSERVER,)): self.send_private_request( _from ) return
24fa6a8a683868db6a24e95e0b656f67ea1dbe8d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11180/24fa6a8a683868db6a24e95e0b656f67ea1dbe8d/iemchatbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1079, 3513, 12, 2890, 16, 3659, 4672, 389, 2080, 273, 14201, 18, 46, 734, 12, 3659, 9614, 2080, 11929, 262, 468, 5294, 956, 3238, 2743, 3970, 279, 7916, 13924, 16, 848, 1404, 741, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1079, 3513, 12, 2890, 16, 3659, 4672, 389, 2080, 273, 14201, 18, 46, 734, 12, 3659, 9614, 2080, 11929, 262, 468, 5294, 956, 3238, 2743, 3970, 279, 7916, 13924, 16, 848, 1404, 741, ...
data = data.replace ("\t", u"& data = data.replace ("\r", u"& data = data.replace ("\n", u"&
data = data.replace ("\t", "& data = data.replace ("\r", "& data = data.replace ("\n", "&
def xml_attr (data): assert type (data) == types.StringType data = data.replace ("&", "&amp;") data = data.replace ("\"", "&quot;") data = data.replace ("<", "&lt;") data = data.replace ("\t", u"&#x9;") data = data.replace ("\r", u"&#xD;") data = data.replace ("\n", u"&#xA;") return data.replace (">", "&gt;")
d07c0ea1544d1c9b22f87a132f4dc6c590143c39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/d07c0ea1544d1c9b22f87a132f4dc6c590143c39/xml_utf8.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2025, 67, 1747, 261, 892, 4672, 1815, 618, 261, 892, 13, 422, 1953, 18, 780, 559, 501, 273, 501, 18, 2079, 7566, 10, 3113, 7830, 931, 4868, 13, 501, 273, 501, 18, 2079, 7566, 2412, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2025, 67, 1747, 261, 892, 4672, 1815, 618, 261, 892, 13, 422, 1953, 18, 780, 559, 501, 273, 501, 18, 2079, 7566, 10, 3113, 7830, 931, 4868, 13, 501, 273, 501, 18, 2079, 7566, 2412, 3...
self._width_cache, self._height_cache = None, None
def __init__(self, **traits): # This will be overriden if 'text' is provided as a trait, but it # must be initialized if not self._text = [ [] ]
2aabfcf82b38275275fbfa84285c922ac3b54f00 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13166/2aabfcf82b38275275fbfa84285c922ac3b54f00/text_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 2033, 1282, 4672, 468, 1220, 903, 506, 31736, 309, 296, 955, 11, 353, 2112, 487, 279, 13517, 16, 1496, 518, 468, 1297, 506, 6454, 309, 486, 365, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 2033, 1282, 4672, 468, 1220, 903, 506, 31736, 309, 296, 955, 11, 353, 2112, 487, 279, 13517, 16, 1496, 518, 468, 1297, 506, 6454, 309, 486, 365, 63...
users_a((user.name, user.firstname, user.lastname, user.email, sheet_ob.notify, sheet_ob.language))
users_a((user.name, user.firstname, user.lastname, user.email, sheet_ob.notify, sheet_ob.language, sheet_ob.flash))
def _getFlashUsers(self, query=''): site = self.getSite() profiles_tool = site.getProfilesTool() users = [] users_a = users.append for user in site.getAuthenticationTool().getUsers(): profile = profiles_tool.getProfile(user.name) sheet_ob = profile.getSheetById(self.getInstanceSheetId()) if sheet_ob.notify or sheet_ob....
ba99780d7671ce36c67101fb48f36c410f5edbc3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/ba99780d7671ce36c67101fb48f36c410f5edbc3/FlashTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 11353, 6588, 12, 2890, 16, 843, 2218, 11, 4672, 2834, 273, 365, 18, 588, 4956, 1435, 11788, 67, 6738, 273, 2834, 18, 588, 12450, 6364, 1435, 3677, 273, 5378, 3677, 67, 69, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 11353, 6588, 12, 2890, 16, 843, 2218, 11, 4672, 2834, 273, 365, 18, 588, 4956, 1435, 11788, 67, 6738, 273, 2834, 18, 588, 12450, 6364, 1435, 3677, 273, 5378, 3677, 67, 69, 27...
if not os.system("which mplayer > /dev/null 2>&1"):
if not os.system("which mplayer >/dev/null 2>&1"):
def ipod_supported(): global enable_ipod_functions return enable_ipod_functions
b6e9a12d1657eaae07e6abde986ea8e65eb781c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12778/b6e9a12d1657eaae07e6abde986ea8e65eb781c5/libipodsync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2359, 369, 67, 4127, 13332, 2552, 4237, 67, 625, 369, 67, 10722, 327, 4237, 67, 625, 369, 67, 10722, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2359, 369, 67, 4127, 13332, 2552, 4237, 67, 625, 369, 67, 10722, 327, 4237, 67, 625, 369, 67, 10722, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if l.date < l.sheet_id.date_from:
if l.date[:10] < l.sheet_id.date_from:
def _sheet_date(self, cr, uid, ids): timesheet_lines = self.browse(cr, uid, ids) for l in timesheet_lines: if l.date < l.sheet_id.date_from: return False if l.date > l.sheet_id.date_to: return False return True
81865eae1b48d4b75766d33a6223eb241148646f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/81865eae1b48d4b75766d33a6223eb241148646f/hr_timesheet_sheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8118, 67, 712, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 4124, 2963, 67, 3548, 273, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 13, 364, 328, 316, 4124, 2963, 67, 3548, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8118, 67, 712, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 4124, 2963, 67, 3548, 273, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 13, 364, 328, 316, 4124, 2963, 67, 3548, 30...
try: copy_time_and_permissions(tmp, chroot+tmp, be_verbose, allow_suid=0, copy_ownership=retain_owner) except OSError, (errno,strerror): sys.stderr.write('ERROR: failed to copy time/permissions/owner from '+tmp+' to '+chroot+tmp+': '+strerror+'\n')
create_parent_path(chroot, tmp, be_verbose=be_verbose, copy_permissions=1, allow_suid=0, copy_ownership=retain_owner)
def copy_dir_recursive(chroot,dir,force_overwrite=0, be_verbose=0, check_libs=1, try_hardlink=1, retain_owner=0, handledfiles=[]): """copies a directory and the permissions recursive, except any setuid or setgid bits""" for root, dirs, files in os.walk(dir): files2 = () for name in files: files2 += os.path.join(root, ...
6df680f0e93fbb77e4552ac0799fcf1a7df35db7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6201/6df680f0e93fbb77e4552ac0799fcf1a7df35db7/jk_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 1214, 67, 10543, 12, 343, 3085, 16, 1214, 16, 5734, 67, 19274, 33, 20, 16, 506, 67, 11369, 33, 20, 16, 866, 67, 21571, 33, 21, 16, 775, 67, 20379, 1232, 33, 21, 16, 15096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 1214, 67, 10543, 12, 343, 3085, 16, 1214, 16, 5734, 67, 19274, 33, 20, 16, 506, 67, 11369, 33, 20, 16, 866, 67, 21571, 33, 21, 16, 775, 67, 20379, 1232, 33, 21, 16, 15096...
def fl_clear_browser(ob): """ fl_clear_browser(ob) """ _fl_clear_browser(ob) _fl_add_browser_line = cfuncproto(so_libforms, "fl_add_browser_line", None, [cty.POINTER(FL_OBJECT), STRING],
def fl_clear_browser(pObject): """ fl_clear_browser(pObject) """ _fl_clear_browser(pObject) _fl_add_browser_line = cfuncproto(so_libforms, "fl_add_browser_line", None, [cty.POINTER(FL_OBJECT), STRING],
def fl_clear_browser(ob): """ fl_clear_browser(ob) """ _fl_clear_browser(ob)
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, 8507, 67, 11213, 12, 947, 4672, 3536, 1183, 67, 8507, 67, 11213, 12, 947, 13, 3536, 225, 389, 2242, 67, 8507, 67, 11213, 12, 947, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 8507, 67, 11213, 12, 947, 4672, 3536, 1183, 67, 8507, 67, 11213, 12, 947, 13, 3536, 225, 389, 2242, 67, 8507, 67, 11213, 12, 947, 13, 282, 2, -100, -100, -100, -100, -100, ...
return http.Response(stream = s)
return HTMLResponse(stream = s)
def render(self, ctx): s = notebook.html_share(self.worksheet, self.username) return http.Response(stream = s)
86a4ed9cb0aba48a11523b820246bf1c9d9e7be2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/86a4ed9cb0aba48a11523b820246bf1c9d9e7be2/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 272, 273, 14718, 18, 2620, 67, 14419, 12, 2890, 18, 1252, 8118, 16, 365, 18, 5053, 13, 327, 1062, 18, 1064, 12, 3256, 273, 272, 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, 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, 1743, 12, 2890, 16, 1103, 4672, 272, 273, 14718, 18, 2620, 67, 14419, 12, 2890, 18, 1252, 8118, 16, 365, 18, 5053, 13, 327, 1062, 18, 1064, 12, 3256, 273, 272, 13, 2, -100, -100, -10...
self.message('WARNING: do NOT try to interrupt this migration, you will leave your DB in a messy state')
self.message('WARNING: do NOT interrupt this migration, you will leave your DB in a messy state')
def migrate(self): self.message('WARNING: do NOT try to interrupt this migration, you will leave your DB in a messy state')
03e40c53e137197d582f524aa5e66be4e0a87a5d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/03e40c53e137197d582f524aa5e66be4e0a87a5d/schema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 4672, 365, 18, 2150, 2668, 9511, 30, 741, 4269, 775, 358, 13123, 333, 6333, 16, 1846, 903, 8851, 3433, 2383, 316, 279, 12755, 93, 919, 6134, 2, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 13187, 12, 2890, 4672, 365, 18, 2150, 2668, 9511, 30, 741, 4269, 775, 358, 13123, 333, 6333, 16, 1846, 903, 8851, 3433, 2383, 316, 279, 12755, 93, 919, 6134, 2, -100, -100, -100, -100, ...
self.fields['delegate'] = DelegateField(project)
self.fields['delegate'] = DelegateField(project, required = False)
def __init__(self, instance = None, project = None, *args, **kwargs):
aec7cf5771cd3244e024aada3b51a3d58b1af2f0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7754/aec7cf5771cd3244e024aada3b51a3d58b1af2f0/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 791, 273, 599, 16, 1984, 273, 599, 16, 380, 1968, 16, 2826, 4333, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 791, 273, 599, 16, 1984, 273, 599, 16, 380, 1968, 16, 2826, 4333, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
par = ' : ' + ','.join(['%s:=%s'%(a,b) for a,b in params.items()])
par = ' : ' + ','.join(['%s:=%s'%(a,self(b)) for a,b in params.items()])
def function_call(self, function, args=[], params={}, nvals=1): if not isinstance(args, list): args = [args] for i in range(len(args)): if not isinstance(args[i], ExpectElement): args[i] = self(args[i]) nvals = int(nvals) if len(params) == 0: par = '' else: par = ' : ' + ','.join(['%s:=%s'%(a,b) for a,b in params.items...
09df6dc03e5975978a16ad0de8dc982817a25907 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/09df6dc03e5975978a16ad0de8dc982817a25907/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 309, 486, 1549, 12, 1968, 16, 666, 4672, 833, 273, 306, 1968, 65, 364, 277, 316, 1048, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 309, 486, 1549, 12, 1968, 16, 666, 4672, 833, 273, 306, 1968, 65, 364, 277, 316, 1048, 12...
wiz_journal3('stock.traceability.lot.amont')
wiz_journal3('stock.traceability.lot.upstream')
def open_tab(self, cr, uid, data, context): obj = pooler.get_pool(cr.dbname).get('stock.move') ids = obj.search(cr, uid, [(field, 'in', data['ids'])]) cr.execute('select id from ir_ui_view where model=%s and field_parent=%s and type=%s', ('stock.move', type, 'tree')) view_id = cr.fetchone()[0] value = { 'domain': "[('i...
67ca84598f4db922bc38f23e9b7031e452ee3b9e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/67ca84598f4db922bc38f23e9b7031e452ee3b9e/stock_traceability.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 7032, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 1081, 273, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 2934, 588, 2668, 15381, 18, 8501, 6134, 3258, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 7032, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 1081, 273, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 2934, 588, 2668, 15381, 18, 8501, 6134, 3258, 273, ...
self._do_element(node, inherited)
self._do_element(node, inherited, unused=unused)
def __init__(self, node, write, **kw): '''Create and run the implementation.''' self.write = write self.subset = kw.get('subset') self.comments = kw.get('comments', 0) self.unsuppressedPrefixes = kw.get('unsuppressedPrefixes') nsdict = kw.get('nsdict', { 'xml': XMLNS.XML, 'xmlns': XMLNS.BASE }) # Processing state. sel...
25d03d3886754d1722b5d43dbd06d0aa5e778312 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/25d03d3886754d1722b5d43dbd06d0aa5e778312/c14n.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 756, 16, 1045, 16, 2826, 9987, 4672, 9163, 1684, 471, 1086, 326, 4471, 1093, 6309, 365, 18, 2626, 273, 1045, 365, 18, 15657, 273, 5323, 18, 588, 2668, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 756, 16, 1045, 16, 2826, 9987, 4672, 9163, 1684, 471, 1086, 326, 4471, 1093, 6309, 365, 18, 2626, 273, 1045, 365, 18, 15657, 273, 5323, 18, 588, 2668, 15...
raise ValueError('%r is not a directory' % directory)
raise OSError('%r is not a directory' % directory)
def write(self, directory=None, progress_callback=None): """ Write the documentation to the given directory.
dd7fc26b7d69af6d4765be2a892edca4603899ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/dd7fc26b7d69af6d4765be2a892edca4603899ee/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 1867, 33, 7036, 16, 4007, 67, 3394, 33, 7036, 4672, 3536, 2598, 326, 7323, 358, 326, 864, 1867, 18, 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, 0, 0, 0, 0, 0, 0, 0, 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, 1867, 33, 7036, 16, 4007, 67, 3394, 33, 7036, 4672, 3536, 2598, 326, 7323, 358, 326, 864, 1867, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if len(name) >= self.dialect.max_identifier_length():
if len(name) > self.dialect.max_identifier_length():
def _truncated_identifier(self, ident_class, name): if (ident_class, name) in self.generated_ids: return self.generated_ids[(ident_class, name)] if len(name) >= self.dialect.max_identifier_length(): counter = self.generated_ids.get(ident_class, 1) truncname = name[0:self.dialect.max_identifier_length() - 6] + "_" + hex...
b35e93ecf484ef0b11da36688667df68d1321857 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1074/b35e93ecf484ef0b11da36688667df68d1321857/ansisql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 23558, 690, 67, 5644, 12, 2890, 16, 3390, 67, 1106, 16, 508, 4672, 309, 261, 6392, 67, 1106, 16, 508, 13, 316, 365, 18, 11168, 67, 2232, 30, 327, 365, 18, 11168, 67, 2232, 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, 389, 23558, 690, 67, 5644, 12, 2890, 16, 3390, 67, 1106, 16, 508, 4672, 309, 261, 6392, 67, 1106, 16, 508, 13, 316, 365, 18, 11168, 67, 2232, 30, 327, 365, 18, 11168, 67, 2232, 63, ...
raise DBError("RowClass must have class variable: %s" % att)
raise DBError("RowClass %s must have class variable: %s" % (rc, att))
def _populateSchemaFor(self, transaction, rc): """construct all the SQL for database operations on <tableName> and populate the class <rowClass> with that info. """ attributes = ("rowColumns", "rowKeyColumns", "rowTableName" ) for att in attributes: if not hasattr(rc, att): raise DBError("RowClass must have class varia...
2bc07fc47f01a78a5d3d4665d055ae3af2d119b5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/2bc07fc47f01a78a5d3d4665d055ae3af2d119b5/sqlreflector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 19936, 3078, 1290, 12, 2890, 16, 2492, 16, 4519, 4672, 3536, 10062, 777, 326, 3063, 364, 2063, 5295, 603, 411, 18033, 34, 471, 6490, 326, 667, 411, 492, 797, 34, 598, 716, 1123, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19936, 3078, 1290, 12, 2890, 16, 2492, 16, 4519, 4672, 3536, 10062, 777, 326, 3063, 364, 2063, 5295, 603, 411, 18033, 34, 471, 6490, 326, 667, 411, 492, 797, 34, 598, 716, 1123, 1...
prev=u64(sprev) tloc=u64(stloc) plen=u64(splen)
prev=U64(sprev) tloc=U64(stloc) plen=U64(splen)
def next(self, index=0): name='' pos = self._pos tend, file, seek, read, tpos = self._stuff while pos < tend: # Read the data records for this transaction
e9aa3bd398cba329c8a421eb6d47f4dba6e400a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/e9aa3bd398cba329c8a421eb6d47f4dba6e400a9/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 12, 2890, 16, 770, 33, 20, 4672, 508, 2218, 11, 949, 273, 365, 6315, 917, 268, 409, 16, 585, 16, 6520, 16, 855, 16, 268, 917, 273, 365, 6315, 334, 3809, 1323, 949, 411, 268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 12, 2890, 16, 770, 33, 20, 4672, 508, 2218, 11, 949, 273, 365, 6315, 917, 268, 409, 16, 585, 16, 6520, 16, 855, 16, 268, 917, 273, 365, 6315, 334, 3809, 1323, 949, 411, 268, ...
results = dict((subtask.task_id, subtask.__class__(subtask.task_id))
pending = list(self.subtasks) results = dict((subtask.task_id, copy(subtask))
def iterate(self): """Iterate over the return values of the tasks as they finish one by one.
b87d81664d610944c5b4775c8906bd34afebdd3f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2024/b87d81664d610944c5b4775c8906bd34afebdd3f/result.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7401, 12, 2890, 4672, 3536, 14916, 1879, 326, 327, 924, 434, 326, 4592, 487, 2898, 4076, 1245, 635, 1245, 18, 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, 7401, 12, 2890, 4672, 3536, 14916, 1879, 326, 327, 924, 434, 326, 4592, 487, 2898, 4076, 1245, 635, 1245, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...