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
if _debug: print "\t%s: Called Plot.render()" % rendererName
debugMsg("Called Plot.render()")
def render(self): """ Render the Plot object """ if _debug: print "\t%s: Called Plot.render()" % rendererName
525240b057c0121c2cab7772950af46d6399ad7e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/525240b057c0121c2cab7772950af46d6399ad7e/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 6987, 326, 15211, 733, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 15211, 18, 5902, 10031, 738, 5690, 461, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 6987, 326, 15211, 733, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 15211, 18, 5902, 10031, 738, 5690, 461, 2, -100, -100, -100, -100, -100, ...
txt = func(args[0], txt) if txt: args[0].set_selection(txt) return True return False
try: txt = func(args[0], txt) if txt: args[0].set_selection(txt) return True return False except Exception: return False
def get_text(*args): txt = args[0].get_selection()
f58356a4df9815928d6b5dbf6c10acc8b4ee5f56 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11468/f58356a4df9815928d6b5dbf6c10acc8b4ee5f56/HackTab.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 955, 30857, 1968, 4672, 6463, 273, 833, 63, 20, 8009, 588, 67, 10705, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 955, 30857, 1968, 4672, 6463, 273, 833, 63, 20, 8009, 588, 67, 10705, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
('unknown', 550, 'SPF Permanent Error: Unknown qualifier, IETF draft para 4.6.1, found in: =a')
('unknown', 550, 'SPF Permanent Error: Unknown qualifier, RFC 4408 para 4.6.1, found in: =a')
def check(self, spf=None): """
357cd1b740e7a93a1ed954617028ed60ebab9137 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/139/357cd1b740e7a93a1ed954617028ed60ebab9137/spf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 1694, 74, 33, 7036, 4672, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 866, 12, 2890, 16, 1694, 74, 33, 7036, 4672, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
mimetype, enc = guess_content_type(filename, body, mimetype)
mimetype = getattr(file, 'content_type', None) if mimetype is None: mimetype, enc = guess_content_type(filename, body, mimetype)
def _process_input(self, value, file=None, default=None, mimetype=None, instance=None, **kwargs): if file is None: file = self._make_file(self.getName(), title='', file='', instance=instance) filename = kwargs.get('filename') or '' if IBaseUnit.isImplementedBy(value): mimetype = value.getContentType() or mimetype filen...
809657aff1e48a9eb15209837cdae668475834bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/809657aff1e48a9eb15209837cdae668475834bc/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2630, 12, 2890, 16, 460, 16, 585, 33, 7036, 16, 805, 33, 7036, 16, 12595, 33, 7036, 16, 791, 33, 7036, 16, 2826, 4333, 4672, 309, 585, 353, 599, 30, 585, 273, 365, 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, 2567, 67, 2630, 12, 2890, 16, 460, 16, 585, 33, 7036, 16, 805, 33, 7036, 16, 12595, 33, 7036, 16, 791, 33, 7036, 16, 2826, 4333, 4672, 309, 585, 353, 599, 30, 585, 273, 365, 6...
self._relpath = self.url_to_path(self.request.path)
self.request_path = self.url_to_path(self.request.path)
def initialize(self,request,response): super(DAVHandler, self).initialize(request,response) self._relpath = self.url_to_path(self.request.path)
9869f0209db866324231063296f1d83027eb102e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14790/9869f0209db866324231063296f1d83027eb102e/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2890, 16, 2293, 16, 2740, 4672, 2240, 12, 17735, 1503, 16, 365, 2934, 11160, 12, 2293, 16, 2740, 13, 225, 365, 6315, 2878, 803, 273, 365, 18, 718, 67, 869, 67, 803, 12, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2890, 16, 2293, 16, 2740, 4672, 2240, 12, 17735, 1503, 16, 365, 2934, 11160, 12, 2293, 16, 2740, 13, 225, 365, 6315, 2878, 803, 273, 365, 18, 718, 67, 869, 67, 803, 12, 289...
Finite subgroup with invariants [2, 2] over QQ of Abelian variety factor of dimension 1 of J0(37)
(Finite subgroup with invariants [2, 2] over QQ of Simple abelian subvariety 37a(1,37) of dimension 1 of J0(37), Abelian subvariety of dimension 0 of J0(37))
def intersection(self, other): """ Returns the intersection of self and other inside a common ambient Jacobian product.
f30f87afcce1c095974cd5259aa7272b60928586 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/f30f87afcce1c095974cd5259aa7272b60928586/abvar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7619, 12, 2890, 16, 1308, 4672, 3536, 2860, 326, 7619, 434, 365, 471, 1308, 4832, 279, 2975, 13232, 1979, 804, 1077, 26968, 3017, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 7619, 12, 2890, 16, 1308, 4672, 3536, 2860, 326, 7619, 434, 365, 471, 1308, 4832, 279, 2975, 13232, 1979, 804, 1077, 26968, 3017, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
item.Catalog.addIndex(key, index, zctextindex_extras) elif index == 'MultiplePathIndex': item.Catalog._catalog.addIndex(key, MultiplePathIndex(key))
try: item.Catalog.addIndex(key, index, zctextindex_extras) except CatalogError: pass
def manage_afterAdd(self, item, container): """ For configuring the object post-instantiation. """ if getattr(self, '__initialised', 1): return 1 item._setObject('Catalog', XWFCatalog()) wordsplitter = Record() wordsplitter.group = 'Word Splitter' wordsplitter.name = 'HTML aware splitter' casenormalizer = Record() ...
4d315aa55816c9429c4e833bd4884c6f7dbeecc0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6274/4d315aa55816c9429c4e833bd4884c6f7dbeecc0/XWFMailingListManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 5205, 986, 12, 2890, 16, 761, 16, 1478, 4672, 3536, 2457, 642, 4017, 326, 733, 1603, 17, 24628, 7072, 18, 225, 3536, 309, 3869, 12, 2890, 16, 4940, 6769, 5918, 2187, 404, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 5205, 986, 12, 2890, 16, 761, 16, 1478, 4672, 3536, 2457, 642, 4017, 326, 733, 1603, 17, 24628, 7072, 18, 225, 3536, 309, 3869, 12, 2890, 16, 4940, 6769, 5918, 2187, 404, 46...
print "P pick onset set to %s" % self.dicts[self.stPt]['POnset']
msg = "P pick onset set to %s" % self.dicts[self.stPt]['POnset'] appendTextview(self.textviewStdOut, msg)
def pick(self, event): #import ipdb; ipdb.set_trace() #We want to round from the picking location to #the time value of the nearest time sample: samp_rate = self.streams[self.stPt][0].stats.sampling_rate pickSample = event.xdata * samp_rate pickSample = round(pickSample) pickSample = pickSample / samp_rate # we need th...
b822b77814749ba0fa0b0a638d2c2e8ccf514f6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/b822b77814749ba0fa0b0a638d2c2e8ccf514f6c/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6002, 12, 2890, 16, 871, 4672, 468, 5666, 2359, 1966, 31, 2359, 1966, 18, 542, 67, 5129, 1435, 468, 3218, 2545, 358, 3643, 628, 326, 6002, 310, 2117, 358, 468, 5787, 813, 460, 434, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6002, 12, 2890, 16, 871, 4672, 468, 5666, 2359, 1966, 31, 2359, 1966, 18, 542, 67, 5129, 1435, 468, 3218, 2545, 358, 3643, 628, 326, 6002, 310, 2117, 358, 468, 5787, 813, 460, 434, 326...
tests to be extracted, and the name (within the module) of the object with the docstring containing the tests to be extracted. The doctest examples are returned as a string containing Python code. The expected output blocks in the examples are converted to Python comments.
test to be debugged and the name (within the module) of the object with the doc string with tests to be debugged.
def testsource(module, name): """Extract the doctest examples from a docstring. Provide the module (or dotted name of the module) containing the tests to be extracted, and the name (within the module) of the object with the docstring containing the tests to be extracted. The doctest examples are returned as a string ...
1323871f770a1332c44031c18abe670abdf6c641 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/1323871f770a1332c44031c18abe670abdf6c641/doctest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3168, 12, 2978, 16, 508, 4672, 3536, 4976, 326, 31263, 395, 10991, 628, 279, 14525, 18, 225, 26569, 326, 1605, 261, 280, 20965, 508, 434, 326, 1605, 13, 4191, 326, 1842, 358, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3168, 12, 2978, 16, 508, 4672, 3536, 4976, 326, 31263, 395, 10991, 628, 279, 14525, 18, 225, 26569, 326, 1605, 261, 280, 20965, 508, 434, 326, 1605, 13, 4191, 326, 1842, 358, 506, ...
'name' : make_sscc,
'name': make_sscc,
def make_sscc(self, cr, uid, context={}): sequence = self.pool.get('ir.sequence').get(cr, uid, 'stock.lot.tracking') return sequence + str(self.checksum(sequence))
369221b47101072e094ad2d02fe2edd2b47690aa /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/369221b47101072e094ad2d02fe2edd2b47690aa/stock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 1049, 952, 12, 2890, 16, 4422, 16, 4555, 16, 819, 12938, 4672, 3102, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 6178, 16063, 588, 12, 3353, 16, 4555, 16, 296, 15381, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 1049, 952, 12, 2890, 16, 4422, 16, 4555, 16, 819, 12938, 4672, 3102, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 6178, 16063, 588, 12, 3353, 16, 4555, 16, 296, 15381, 18, 2...
"unicode")
"unicode", "bytes_warning")
def test_sys_flags(self): self.failUnless(sys.flags) attrs = ("debug", "py3k_warning", "division_warning", "division_new", "inspect", "interactive", "optimize", "dont_write_bytecode", "no_site", "ignore_environment", "tabcheck", "verbose", "unicode") for attr in attrs: self.assert_(hasattr(sys.flags, attr), attr) self....
5a81f97971973367f3115ca756b33cc83110e55c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/5a81f97971973367f3115ca756b33cc83110e55c/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9499, 67, 7133, 12, 2890, 4672, 365, 18, 6870, 984, 2656, 12, 9499, 18, 7133, 13, 3422, 273, 7566, 4148, 3113, 315, 2074, 23, 79, 67, 8551, 3113, 315, 2892, 1951, 67, 8551, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9499, 67, 7133, 12, 2890, 4672, 365, 18, 6870, 984, 2656, 12, 9499, 18, 7133, 13, 3422, 273, 7566, 4148, 3113, 315, 2074, 23, 79, 67, 8551, 3113, 315, 2892, 1951, 67, 8551, ...
instance=TrashDirectory(File("sandbox/.local/sharetestTrashDirectory"), Volume(File("/")))
instance=TrashDirectory( File("sandbox/trash-directory"), File("sandbox").volume)
def test_trash(self) : #instance instance=TrashDirectory(File("sandbox/.local/sharetestTrashDirectory"), Volume(File("/")))
5d14555f878edcc3f1dd18e70706c47baedb74c8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11994/5d14555f878edcc3f1dd18e70706c47baedb74c8/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 28665, 12, 2890, 13, 294, 468, 1336, 791, 33, 29420, 2853, 12, 812, 2932, 27004, 15865, 3729, 19, 14419, 3813, 29420, 2853, 6, 3631, 7404, 12, 812, 2932, 4898, 20349, 2, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 28665, 12, 2890, 13, 294, 468, 1336, 791, 33, 29420, 2853, 12, 812, 2932, 27004, 15865, 3729, 19, 14419, 3813, 29420, 2853, 6, 3631, 7404, 12, 812, 2932, 4898, 20349, 2, -100, ...
self.disallow_all = 1
self.disallow_all = True
def read(self): """Reads the robots.txt URL and feeds it to the parser.""" opener = URLopener() f = opener.open(self.url) lines = [] line = f.readline() while line: lines.append(line.strip()) line = f.readline() self.errcode = opener.errcode if self.errcode == 401 or self.errcode == 403: self.disallow_all = 1 _debug("d...
cdc5dc13bf5601f11087fe93324730aef873843b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/cdc5dc13bf5601f11087fe93324730aef873843b/robotparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 4672, 3536, 7483, 326, 29255, 18, 5830, 1976, 471, 27684, 518, 358, 326, 2082, 12123, 20532, 273, 1976, 25098, 1435, 284, 273, 20532, 18, 3190, 12, 2890, 18, 718, 13, 2362...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 4672, 3536, 7483, 326, 29255, 18, 5830, 1976, 471, 27684, 518, 358, 326, 2082, 12123, 20532, 273, 1976, 25098, 1435, 284, 273, 20532, 18, 3190, 12, 2890, 18, 718, 13, 2362...
bpnum = int(args[0].strip())
try: bpnum = int(args[0].strip()) except ValueError: print >>self.stdout, \ 'Breakpoint index %r is not a number' % args[0]
def do_ignore(self,arg): """arg is bp number followed by ignore count.""" args = arg.split() bpnum = int(args[0].strip()) try: count = int(args[1].strip()) except: count = 0 bp = bdb.Breakpoint.bpbynumber[bpnum] if bp: bp.ignore = count if count > 0: reply = 'Will ignore next ' if count > 1: reply = reply + '%d crossin...
7680010f6beb8f1bb1ddd6a41c82faf4c650a6e5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/7680010f6beb8f1bb1ddd6a41c82faf4c650a6e5/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 6185, 12, 2890, 16, 3175, 4672, 3536, 3175, 353, 9107, 1300, 10860, 635, 2305, 1056, 12123, 833, 273, 1501, 18, 4939, 1435, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 6185, 12, 2890, 16, 3175, 4672, 3536, 3175, 353, 9107, 1300, 10860, 635, 2305, 1056, 12123, 833, 273, 1501, 18, 4939, 1435, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 80...
inv = zeros(m.shape, float64)
inv = zeros(shape(m), float64)
def invert(m): """ Returns the inverse of the transform, m. """ inv = zeros(m.shape, float64) det = m[0,0] * m[1,1] - m[0,1] * m[1,0] inv[0,0] = m[1,1] inv[0,1] = -m[0,1] inv[0,2] = 0 inv[1,0] = -m[1,0] inv[1,1] = m[0,0] inv[1,2] = 0 inv[2,0] = m[1,0]*m[2,1] - m[1,1]*m[2,0] inv[2,1] = -m[0,0]*m[2,1] ...
fbe89b78d19620c7444cb716f53d5778222c7fa9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13166/fbe89b78d19620c7444cb716f53d5778222c7fa9/affine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9848, 12, 81, 4672, 3536, 2860, 326, 8322, 434, 326, 2510, 16, 312, 18, 3536, 2198, 1377, 273, 4922, 12, 4867, 12, 81, 3631, 1431, 1105, 13, 3023, 1377, 273, 225, 312, 63, 20, 16, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9848, 12, 81, 4672, 3536, 2860, 326, 8322, 434, 326, 2510, 16, 312, 18, 3536, 2198, 1377, 273, 4922, 12, 4867, 12, 81, 3631, 1431, 1105, 13, 3023, 1377, 273, 225, 312, 63, 20, 16, 20...
gradient = N.array([0] * len(model.getStates()) * (len(grid) - 1)
gradient = N.array([0] * len(model.getStates()) * (len(grid) - 2)
def df(self, p): """Returns the gradient of self.f(p). In the VDP example it depends on the """ model = self.get_model() grid = self.get_grid() ys, us = _split_opt_x(model, len(grid), p) costgradient, last_y, gradparams, sens = self._shoot_single_segment(us[-1], ys[-1], grid[-1]) print "Evaluating cost function gradi...
9fedf8f7b4ec6c72d7d4c7b78cfe8c5a9b004fb5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7711/9fedf8f7b4ec6c72d7d4c7b78cfe8c5a9b004fb5/shooting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3013, 12, 2890, 16, 293, 4672, 3536, 1356, 326, 10292, 434, 365, 18, 74, 12, 84, 2934, 225, 657, 326, 776, 8640, 3454, 518, 10935, 603, 326, 3536, 938, 273, 365, 18, 588, 67, 2284, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3013, 12, 2890, 16, 293, 4672, 3536, 1356, 326, 10292, 434, 365, 18, 74, 12, 84, 2934, 225, 657, 326, 776, 8640, 3454, 518, 10935, 603, 326, 3536, 938, 273, 365, 18, 588, 67, 2284, 1...
def test_resource_doesnt_exists(self):
def test_resource_doesnt_exist(self):
def test_resource_doesnt_exists(self): r = Resource('wiki', 'WikiStart').child('attachment', 'file.txt') self.assertEqual(False, AttachmentModule(self.env).resource_exists(r))
fef2a15f3bb235344dba8bd689663115917b693b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/fef2a15f3bb235344dba8bd689663115917b693b/attachment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3146, 67, 20657, 496, 67, 7398, 12, 2890, 4672, 436, 273, 2591, 2668, 13044, 2187, 296, 25438, 1685, 16063, 3624, 2668, 11461, 2187, 296, 768, 18, 5830, 6134, 365, 18, 11231, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3146, 67, 20657, 496, 67, 7398, 12, 2890, 4672, 436, 273, 2591, 2668, 13044, 2187, 296, 25438, 1685, 16063, 3624, 2668, 11461, 2187, 296, 768, 18, 5830, 6134, 365, 18, 11231, 5...
% (ID2, nsp, tp.name)
% (ID2, nsp, tp.name + '_Dec')
self.typecode += '\n\n%sdef __init__(self, name=None, ns=None):'\ %(ID1) self.typecode += '\n%s%s.%s.__init__(self, name=None, ns=None)'\ % (ID2, nsp, tp.name) else:
cecd76e2f9e035fae497760109796b77adf0b0f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/cecd76e2f9e035fae497760109796b77adf0b0f2/wsdl2python.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 723, 710, 1011, 2337, 82, 64, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 3153, 33, 7036, 13, 2497, 64, 8975, 734, 21, 13, 365, 18, 723, 710, 1011, 2337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 723, 710, 1011, 2337, 82, 64, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 3153, 33, 7036, 13, 2497, 64, 8975, 734, 21, 13, 365, 18, 723, 710, 1011, 2337, ...
find_library_orig = find_library def find_library(name): if sys.platform == "darwin": libPath = os.environ['DYLD_LIBRARY_PATH'] else: libPath = os.environ['LD_LIBRARY_PATH'] libPathList = libPath.split(':') for path in libPathList: pathName = path+'/lib%s.so' % name if os.path.exists(pathName): return pathName return f...
def find_library(name): for name in ['/usr/lib/lib%s.so' % name, '/usr/local/lib/lib%s.so' % name]: if os.path.exists(name): return name return find_library_orig(name)
655cb27203ea734791bd88769224f959c2758333 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9117/655cb27203ea734791bd88769224f959c2758333/netsnmp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 12083, 12, 529, 4672, 364, 508, 316, 10228, 19, 13640, 19, 2941, 19, 2941, 9, 87, 18, 2048, 11, 738, 508, 16, 1173, 13640, 19, 3729, 19, 2941, 19, 2941, 9, 87, 18, 2048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 12083, 12, 529, 4672, 364, 508, 316, 10228, 19, 13640, 19, 2941, 19, 2941, 9, 87, 18, 2048, 11, 738, 508, 16, 1173, 13640, 19, 3729, 19, 2941, 19, 2941, 9, 87, 18, 2048, ...
svc = internet.TCPServer(1025, factory) service.IService(application).addService(svc)
internet.TCPServer(1025, factory).setServiceParent(application)
def message(self, message): self.transport.write(message + '\n')
47e5bb7ce4f2ca95d69f41034157e83dbba241c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/47e5bb7ce4f2ca95d69f41034157e83dbba241c5/chatserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 883, 12, 2890, 16, 883, 4672, 365, 18, 13049, 18, 2626, 12, 2150, 397, 2337, 82, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 883, 12, 2890, 16, 883, 4672, 365, 18, 13049, 18, 2626, 12, 2150, 397, 2337, 82, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
logging.ask_for_repair('''Modify profile %s ?''' % stylize(
logging.ask_for_repair('''Modify profile %s?''' % stylize(
def mod_profile(self, opts, args): """ Modify a system wide User profile. """ include_id_lists=[ (opts.name, LMC.profiles.name_to_group), (opts.group, LMC.profiles.confirm_group) ] exclude_id_lists=[ (opts.exclude, LMC.profiles.guess_identifier), ] if opts.all and ( ( # NOTE TO THE READER: don't event try to simplify t...
a1acd345c6b587c46acec53d660359e9c2c78c73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/a1acd345c6b587c46acec53d660359e9c2c78c73/rwi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 67, 5040, 12, 2890, 16, 1500, 16, 833, 4672, 3536, 9518, 279, 2619, 14812, 2177, 3042, 18, 3536, 2341, 67, 350, 67, 9772, 22850, 261, 4952, 18, 529, 16, 511, 20022, 18, 18314, 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, 681, 67, 5040, 12, 2890, 16, 1500, 16, 833, 4672, 3536, 9518, 279, 2619, 14812, 2177, 3042, 18, 3536, 2341, 67, 350, 67, 9772, 22850, 261, 4952, 18, 529, 16, 511, 20022, 18, 18314, 18,...
fout.write('<fileLocation>%s</fileLocation></Image>' %
fout.write('<filePath>%s</filePath></Image>' %
def write_xml(self, file):
76061b0a7fe72706f8f004d9f9895881c4406e39 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3290/76061b0a7fe72706f8f004d9f9895881c4406e39/ISPyBXmlHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2902, 12, 2890, 16, 585, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2902, 12, 2890, 16, 585, 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, ...
vtk_objs.append (icon)
if icon: vtk_objs.append (icon)
def get_vtk_objs (vtk_obj): "Obtain vtk objects from the passed objects." debug ("vtkPipeline.py: get_vtk_objs (%s)"% (vtk_obj.GetClassName ())) methods = get_methods(vtk_obj) vtk_objs = [] for method in methods: try: t = eval ("vtk_obj.Get%s ().GetClassName ()"%method[0]) except: pass else: if string.find (t, "Coll...
e8c1fac23f79542925f4400dca07669202c11efa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/e8c1fac23f79542925f4400dca07669202c11efa/vtkPipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 11734, 79, 67, 18093, 261, 11734, 79, 67, 2603, 4672, 315, 20019, 13659, 2184, 628, 326, 2275, 2184, 1199, 225, 1198, 7566, 11734, 79, 8798, 18, 2074, 30, 336, 67, 11734, 79, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 11734, 79, 67, 18093, 261, 11734, 79, 67, 2603, 4672, 315, 20019, 13659, 2184, 628, 326, 2275, 2184, 1199, 225, 1198, 7566, 11734, 79, 8798, 18, 2074, 30, 336, 67, 11734, 79, ...
self.quizzes.append(Survey(xml, quiz_questions))
self.quizzes.append(Survey(xml, quiz_questions, res_num))
def convert_resources(self): for resource in self.manifest.iterfind('.//resource'): dat_name = resource.attrib['file'] xml = etree.parse(self.zip.open(dat_name))
15b79dab64e9d35a840423eaa436a6e35feb7b63 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12927/15b79dab64e9d35a840423eaa436a6e35feb7b63/bb9_course.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 4683, 12, 2890, 4672, 364, 1058, 316, 365, 18, 14357, 18, 2165, 4720, 2668, 18, 759, 3146, 11, 4672, 1150, 67, 529, 273, 1058, 18, 14588, 3292, 768, 3546, 2025, 273, 12031, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 4683, 12, 2890, 4672, 364, 1058, 316, 365, 18, 14357, 18, 2165, 4720, 2668, 18, 759, 3146, 11, 4672, 1150, 67, 529, 273, 1058, 18, 14588, 3292, 768, 3546, 2025, 273, 12031, 1...
cty.POINTER(FL_FORM), [cty.POINTER(FL_OBJECT), cty.c_int],
cty.POINTER(FL_FORM), [cty.POINTER(FL_OBJECT), cty.c_int],
def fl_get_formbrowser_numforms(ob): """ fl_get_formbrowser_numforms(ob) -> forms num. """ retval = _fl_get_formbrowser_numforms(ob) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 687, 11213, 67, 2107, 9741, 12, 947, 4672, 3536, 1183, 67, 588, 67, 687, 11213, 67, 2107, 9741, 12, 947, 13, 317, 10138, 818, 18, 3536, 225, 5221, 273, 389, 2242, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1183, 67, 588, 67, 687, 11213, 67, 2107, 9741, 12, 947, 4672, 3536, 1183, 67, 588, 67, 687, 11213, 67, 2107, 9741, 12, 947, 13, 317, 10138, 818, 18, 3536, 225, 5221, 273, 389, 2242, ...
shapearea.border(0) shapearea.refresh() c = shapearea.getch() shapearea.clear()
shapesarea.border(0) shapesarea.refresh() c = shapesarea.getch() shapesarea.clear()
def main(): try: gamearea = curses.initscr() gamearea.keypad(1) gamearea.addstr(1, 1, 'Welcome to Pytris') gamearea.addstr(2, 1, ' _ ') gamearea.addstr(3, 1, ' _ |_| ') gamearea.addstr(4, 1, '|_| _ _ |_| ___ _') gamearea.addstr(5, 1, '|_|_ |_|_| |_| |_|_|_ _|_|_') gamearea.addstr(6, ...
bec3a06472f35108b9ed57a5eae42c51e47427bc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13881/bec3a06472f35108b9ed57a5eae42c51e47427bc/pytris.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 775, 30, 7920, 5036, 273, 30436, 18, 2738, 24638, 1435, 7920, 5036, 18, 856, 6982, 12, 21, 13, 7920, 5036, 18, 1289, 701, 12, 21, 16, 404, 16, 296, 59, 16312, 358, 4707, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 775, 30, 7920, 5036, 273, 30436, 18, 2738, 24638, 1435, 7920, 5036, 18, 856, 6982, 12, 21, 13, 7920, 5036, 18, 1289, 701, 12, 21, 16, 404, 16, 296, 59, 16312, 358, 4707, ...
if PROP_TYPE(headers_tag)==PT_STRING8: self.headers = headers has_headers = True else: has_headers = PROP_TYPE(headers_tag)==PT_ERROR and \ headers==mapi.MAPI_E_NOT_ENOUGH_MEMORY self.headers = None
has_headers = PROP_TYPE(headers_tag)==PT_STRING8
def __init__(self, msgstore, prop_row): self.msgstore = msgstore self.mapi_object = None
336759b4e3322d6735686f00d5b57a6890d62035 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/336759b4e3322d6735686f00d5b57a6890d62035/msgstore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1234, 2233, 16, 2270, 67, 492, 4672, 365, 18, 3576, 2233, 273, 1234, 2233, 365, 18, 1458, 77, 67, 1612, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1234, 2233, 16, 2270, 67, 492, 4672, 365, 18, 3576, 2233, 273, 1234, 2233, 365, 18, 1458, 77, 67, 1612, 273, 599, 2, -100, -100, -100, -100, -100, -100, ...
if style & wxHF_PRINT or style & wxHF_OPEN_FILES: toolBar.AddSeparator() if style & wxHF_OPEN_FILES: toolBar.AddSimpleTool(wxID_HTML_OPENFILE, wopenBitmap, "Open HTML document")
def AddToolBarButtons(self, toolBar, style): wpanelBitmap = wxArtProvider_GetBitmap(wxART_HELP_SIDE_PANEL, wxART_HELP_BROWSER) wbackBitmap = wxArtProvider_GetBitmap(wxART_GO_BACK, wxART_HELP_BROWSER) wforwardBitmap = wxArtProvider_GetBitmap(wxART_GO_FORWARD, wxART_HELP_BROWSER) wupnodeBitmap = wxArtProvider_GetBitmap(w...
e8a0e62c076da03b00d6de86211d9c1f32733a01 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2448/e8a0e62c076da03b00d6de86211d9c1f32733a01/wxApp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 6364, 5190, 14388, 12, 2890, 16, 5226, 5190, 16, 2154, 4672, 6357, 30427, 12224, 273, 7075, 4411, 2249, 67, 967, 12224, 12, 27226, 4928, 67, 27396, 67, 26498, 67, 30819, 2247, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 6364, 5190, 14388, 12, 2890, 16, 5226, 5190, 16, 2154, 4672, 6357, 30427, 12224, 273, 7075, 4411, 2249, 67, 967, 12224, 12, 27226, 4928, 67, 27396, 67, 26498, 67, 30819, 2247, 16, ...
result += "| " + res[i][0] + "\n" result += "| [[GUIVariable if not res[i][2]:
result += "| " + i[0] + "\n" result += "| [[GUIVariable if not i[2]:
def create_config_table(data): """Creates a table for data in a config table.
03dd1fa87e7ed6a1aae10ff4e922ba7db9cd3ff8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9355/03dd1fa87e7ed6a1aae10ff4e922ba7db9cd3ff8/wiki_grabber.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1425, 67, 2121, 12, 892, 4672, 3536, 2729, 279, 1014, 364, 501, 316, 279, 642, 1014, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1425, 67, 2121, 12, 892, 4672, 3536, 2729, 279, 1014, 364, 501, 316, 279, 642, 1014, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def execute(self, disks, gigabytes = 100, chunk_mb = 1024): os.chdir(self.srcdir + '/disktest')
def execute(self, disks, gigabytes = 100, chunk_mb = memtotal()/1024): os.chdir(self.srcdir)
def execute(self, disks, gigabytes = 100, chunk_mb = 1024): os.chdir(self.srcdir + '/disktest')
dadfab64556f26ef98c3e69f1fb2031f487b3b0c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10349/dadfab64556f26ef98c3e69f1fb2031f487b3b0c/disktest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 17164, 16, 314, 360, 24383, 1078, 273, 2130, 16, 2441, 67, 1627, 273, 6250, 4672, 1140, 18, 343, 1214, 12, 2890, 18, 4816, 1214, 397, 1173, 10863, 3813, 6134, 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, 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, 1836, 12, 2890, 16, 17164, 16, 314, 360, 24383, 1078, 273, 2130, 16, 2441, 67, 1627, 273, 6250, 4672, 1140, 18, 343, 1214, 12, 2890, 18, 4816, 1214, 397, 1173, 10863, 3813, 6134, 2, -1...
print '
self._writeln('
def _banner(self,k,what): print '###################%s %s##################' % (what,k[2:])
da7823d56565f785beccba9149ba501603e2b8bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/da7823d56565f785beccba9149ba501603e2b8bd/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 16563, 12, 2890, 16, 79, 16, 23770, 4672, 1172, 296, 5516, 13151, 9, 87, 738, 87, 5516, 1189, 11, 738, 261, 23770, 16, 79, 63, 22, 30, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 16563, 12, 2890, 16, 79, 16, 23770, 4672, 1172, 296, 5516, 13151, 9, 87, 738, 87, 5516, 1189, 11, 738, 261, 23770, 16, 79, 63, 22, 30, 5717, 2, -100, -100, -100, -100, -100, -10...
class TestIOSets(ExtendedSetTests, TestCase):
class TestIOSets(SetTests, TestCase):
def setUp(self): self.t = IIBTree()
298631a7e286bf71eba01d02ca831dd4f9af0cf6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/298631a7e286bf71eba01d02ca831dd4f9af0cf6/testConflict.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 88, 273, 467, 13450, 2471, 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, 24292, 12, 2890, 4672, 365, 18, 88, 273, 467, 13450, 2471, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._parser = expat.ParserCreate(None, " ",
self._parser = expat.ParserCreate(self._source.getEncoding(), " ",
def reset(self): if self._namespaces: self._parser = expat.ParserCreate(None, " ", intern=self._interning) self._parser.namespace_prefixes = 1 self._parser.StartElementHandler = self.start_element_ns self._parser.EndElementHandler = self.end_element_ns else: self._parser = expat.ParserCreate(intern = self._interning) s...
9207f3e9ba8dff8fc0d111f8e73d4c505aab0b54 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/9207f3e9ba8dff8fc0d111f8e73d4c505aab0b54/expatreader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 12, 2890, 4672, 309, 365, 6315, 16078, 30, 365, 6315, 4288, 273, 1329, 270, 18, 2678, 1684, 12, 2890, 6315, 3168, 18, 588, 4705, 9334, 315, 3104, 8216, 33, 2890, 6315, 267, 798, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 12, 2890, 4672, 309, 365, 6315, 16078, 30, 365, 6315, 4288, 273, 1329, 270, 18, 2678, 1684, 12, 2890, 6315, 3168, 18, 588, 4705, 9334, 315, 3104, 8216, 33, 2890, 6315, 267, 798, ...
def redoFunction(self, p_func, p_name, indent, p_class=None):
def redoFunction(self, p_func, p_name, indent, p_class=None, p_modname=None):
def redoFunction(self, p_func, p_name, indent, p_class=None): """ Restore function argument list as best we can. @param p_func function or method object @param p_name function name as known to owner @param indent indentation level @param p_class the class that contains this function as a method """ if inspect and inspe...
d928d3aec5bb4ea5c92f9e53722463bdaa94379e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12157/d928d3aec5bb4ea5c92f9e53722463bdaa94379e/generator3.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24524, 2083, 12, 2890, 16, 293, 67, 644, 16, 293, 67, 529, 16, 3504, 16, 293, 67, 1106, 33, 7036, 16, 293, 67, 1711, 529, 33, 7036, 4672, 3536, 11197, 445, 1237, 666, 487, 3796, 732,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24524, 2083, 12, 2890, 16, 293, 67, 644, 16, 293, 67, 529, 16, 3504, 16, 293, 67, 1106, 33, 7036, 16, 293, 67, 1711, 529, 33, 7036, 4672, 3536, 11197, 445, 1237, 666, 487, 3796, 732,...
("Overriding __cmp__ ", DeprecationWarning),
def test_main(): with test_support._check_py3k_warnings( ("classic (int|long) division", DeprecationWarning), ("coerce.. not supported", DeprecationWarning), ("Overriding __cmp__ ", DeprecationWarning), (".+__(get|set|del)slice__ has been removed", DeprecationWarning)): # Run all local test cases, with PTypesLongInitTe...
3725ff040708b1347bd36b03c89cbce5bdc5451c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/3725ff040708b1347bd36b03c89cbce5bdc5451c/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 13332, 598, 1842, 67, 13261, 6315, 1893, 67, 2074, 23, 79, 67, 12103, 12, 7566, 1106, 335, 261, 474, 96, 5748, 13, 16536, 3113, 24041, 3631, 7566, 2894, 2765, 838, 486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 13332, 598, 1842, 67, 13261, 6315, 1893, 67, 2074, 23, 79, 67, 12103, 12, 7566, 1106, 335, 261, 474, 96, 5748, 13, 16536, 3113, 24041, 3631, 7566, 2894, 2765, 838, 486, ...
fullpath = path.normpath(path.join(cwd, dep)) relpath = fullpath[len(path.normpath(self.srcdir))+len(path.sep):]
relpath = relative_path(frompath, path.normpath(path.join(cwd, dep)))
def process_dependencies(self, docname, doctree): """ Process docutils-generated dependency info. """ cwd = os.getcwd() deps = doctree.settings.record_dependencies if not deps: return docdir = path.dirname(self.doc2path(docname, base=None)) for dep in deps.list: # the dependency path is relative to the working dir, so ...
342ef89bda210d3e7a7498a4e370607477ec4930 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5532/342ef89bda210d3e7a7498a4e370607477ec4930/environment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 11037, 12, 2890, 16, 997, 529, 16, 31263, 992, 4672, 3536, 4389, 997, 5471, 17, 11168, 4904, 1123, 18, 3536, 7239, 273, 1140, 18, 588, 11089, 1435, 8740, 273, 31263, 992, 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, 1207, 67, 11037, 12, 2890, 16, 997, 529, 16, 31263, 992, 4672, 3536, 4389, 997, 5471, 17, 11168, 4904, 1123, 18, 3536, 7239, 273, 1140, 18, 588, 11089, 1435, 8740, 273, 31263, 992, 18, ...
if other_host == os.uname()[1]:
if other_host == socket.gethostname():
def lock(tmp_dir, timeout=120, min_wait=5, max_wait=10, verbosity=1): """ Obtain lock access by creating a given temporary directory (whose base will be created if needed, but will not be deleted after the lock is removed). If access is refused by the same lock owner during more than 'timeout' seconds, then the current...
c7c05efeb70f4f033d867d640baa5e2af90da4ee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/c7c05efeb70f4f033d867d640baa5e2af90da4ee/compilelock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2176, 12, 5645, 67, 1214, 16, 2021, 33, 22343, 16, 1131, 67, 7048, 33, 25, 16, 943, 67, 7048, 33, 2163, 16, 11561, 33, 21, 4672, 3536, 24850, 2176, 2006, 635, 4979, 279, 864, 6269, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2176, 12, 5645, 67, 1214, 16, 2021, 33, 22343, 16, 1131, 67, 7048, 33, 25, 16, 943, 67, 7048, 33, 2163, 16, 11561, 33, 21, 4672, 3536, 24850, 2176, 2006, 635, 4979, 279, 864, 6269, 1...
return s.replace("\\\"", "__$ESCAPE1$__").replace("\\\'", "__$ESCAPE2__").replace("\/", "__$ESCAPE3__")
return s.replace("\\\\", "__$ESCAPE0$__").replace("\\\"", "__$ESCAPE1$__").replace("\\\'", "__$ESCAPE2__").replace("\/", "__$ESCAPE3__")
def protectEscape(s): return s.replace("\\\"", "__$ESCAPE1$__").replace("\\\'", "__$ESCAPE2__").replace("\/", "__$ESCAPE3__")
cfa739069de6b3587878887cd115c9102e66f71b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5718/cfa739069de6b3587878887cd115c9102e66f71b/tokenizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17151, 8448, 12, 87, 4672, 327, 272, 18, 2079, 2932, 13011, 3113, 10425, 8, 24849, 20, 8, 14437, 2934, 2079, 2932, 1695, 2412, 3113, 10425, 8, 24849, 21, 8, 14437, 2934, 2079, 2932, 1695...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17151, 8448, 12, 87, 4672, 327, 272, 18, 2079, 2932, 13011, 3113, 10425, 8, 24849, 20, 8, 14437, 2934, 2079, 2932, 1695, 2412, 3113, 10425, 8, 24849, 21, 8, 14437, 2934, 2079, 2932, 1695...
for i in range(len(trans)): t = trans[i]
proto_example = orange.Example(examples[0]) true_values = [] for i in range(len(translator.trans)): t = translator.trans[i]
def getDescriptors(self, trans, examples, buckets): tcoeff_names = [] descriptors = [] # used for managing continuous atts for i in range(len(trans)): t = trans[i] tc = ["%s"%t.attr.name] d = t.description() #print tc[0],d if d[0]==0: # continuous values = self.bucketize(examples, t.attr, buckets) tc += values descript...
d5d765a106ee2fda0789f07a6a122d52f838cef9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/d5d765a106ee2fda0789f07a6a122d52f838cef9/orngLinVis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2343, 8379, 12, 2890, 16, 906, 16, 10991, 16, 9169, 4672, 1715, 15548, 1403, 67, 1973, 273, 5378, 14215, 273, 5378, 468, 1399, 364, 30632, 17235, 15687, 3760, 67, 8236, 273, 578, 726, 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, 2343, 8379, 12, 2890, 16, 906, 16, 10991, 16, 9169, 4672, 1715, 15548, 1403, 67, 1973, 273, 5378, 14215, 273, 5378, 468, 1399, 364, 30632, 17235, 15687, 3760, 67, 8236, 273, 578, 726, 18...
self.bind("<Map>", self.doMap)
self.gim.bind("<Map>", self.doMap)
def __init__(self, master, actor,
3840494bc0492f518ca35b58e6fb1e00be7f32ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/3840494bc0492f518ca35b58e6fb1e00be7f32ab/GuideWdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 8327, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 8327, 16, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
$Id: Publish.py,v 1.26 1996/11/26 22:06:18 jim Exp $"""
$Id: Publish.py,v 1.27 1996/12/30 14:36:12 jim Exp $"""
def taste(spam): "a favorable reviewer" return spam,'yum yum, I like ' + spam
3acdcbee8768b5cb4047573a5736a805014b0c28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/3acdcbee8768b5cb4047573a5736a805014b0c28/Publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 14725, 12, 1752, 301, 4672, 315, 69, 18552, 429, 10725, 264, 6, 327, 24824, 11189, 93, 379, 677, 379, 16, 467, 3007, 296, 397, 24824, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 14725, 12, 1752, 301, 4672, 315, 69, 18552, 429, 10725, 264, 6, 327, 24824, 11189, 93, 379, 677, 379, 16, 467, 3007, 296, 397, 24824, 225, 2, -100, -100, -100, -100, -100, -100, -...
parent=parent)
parent=parent, view=self.itsView)
def onImportIcalendarEvent(self, event): # triggered from "Test | Import iCalendar" Menu parent = self.findPath("//userdata/contentitems")
3a8ade707789b9283f70a35612703d5e667f9b8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/3a8ade707789b9283f70a35612703d5e667f9b8e/Main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 5010, 45, 11650, 1133, 12, 2890, 16, 871, 4672, 468, 10861, 628, 315, 4709, 571, 6164, 277, 7335, 6, 9809, 982, 273, 365, 18, 4720, 743, 2932, 759, 1355, 892, 19, 1745, 3319, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 5010, 45, 11650, 1133, 12, 2890, 16, 871, 4672, 468, 10861, 628, 315, 4709, 571, 6164, 277, 7335, 6, 9809, 982, 273, 365, 18, 4720, 743, 2932, 759, 1355, 892, 19, 1745, 3319, 7923...
self.literal = 0
def goahead(self, end): rawdata = self.rawdata i = 0 n = len(rawdata) while i < n: if i > 0: self.__at_start = 0 if self.nomoretags: data = rawdata[i:n] self.handle_data(data) self.lineno = self.lineno + string.count(data, '\n') i = n break res = interesting.search(rawdata, i) if res: j = res.start(0) else: j = n if i ...
55a08db4e30dde59490fdd9d8f6d62223cc2d066 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/55a08db4e30dde59490fdd9d8f6d62223cc2d066/xmllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 11617, 12, 2890, 16, 679, 4672, 1831, 892, 273, 365, 18, 1899, 892, 277, 273, 374, 290, 273, 562, 12, 1899, 892, 13, 1323, 277, 411, 290, 30, 309, 277, 405, 374, 30, 365, 16186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 11617, 12, 2890, 16, 679, 4672, 1831, 892, 273, 365, 18, 1899, 892, 277, 273, 374, 290, 273, 562, 12, 1899, 892, 13, 1323, 277, 411, 290, 30, 309, 277, 405, 374, 30, 365, 16186...
self._bases = [Link(base.__name__, make_uid(base)) for base in bases]
self._bases = [Link(base.__name__, make_uid(base)) for base in bases if type(base) in (types.ClassType, types.TypeType)]
def __init__(self, cls, verbosity=0): self._tmp_ivar = {} self._tmp_cvar = {} self._tmp_type = {} ObjDoc.__init__(self, cls, verbosity)
8f1ba4e51fb97670b4ac510d74d0146e80814342 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/8f1ba4e51fb97670b4ac510d74d0146e80814342/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2028, 16, 11561, 33, 20, 4672, 365, 6315, 5645, 67, 22647, 273, 2618, 365, 6315, 5645, 67, 71, 1401, 273, 2618, 365, 6315, 5645, 67, 723, 273, 2618, 1876...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2028, 16, 11561, 33, 20, 4672, 365, 6315, 5645, 67, 22647, 273, 2618, 365, 6315, 5645, 67, 71, 1401, 273, 2618, 365, 6315, 5645, 67, 723, 273, 2618, 1876...
def execute(self, args = '', script = 'runltp'):
def run_once(self, args = '', script = 'runltp'):
def execute(self, args = '', script = 'runltp'):
ce4090a1ea7cf34f12027c53f81d0957e85e8a00 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/ce4090a1ea7cf34f12027c53f81d0957e85e8a00/ltp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 833, 273, 10226, 2728, 273, 296, 2681, 5618, 84, 11, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 833, 273, 10226, 2728, 273, 296, 2681, 5618, 84, 11, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
"""Copies list of Bain files to clipboard.""" def AppendToMenu(self,menu,window,data): InstallerLink.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_("List Packages...")) menu.AppendItem(menuItem) def Execute(self,event): text = self.data.getPackageList() if (wx.TheClipboard.Open()): wx.TheCl...
"""Copies list of Bain files to clipboard.""" def AppendToMenu(self,menu,window,data): InstallerLink.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_("List Packages...")) menu.AppendItem(menuItem) def Execute(self,event): text = self.data.getPackageList() if (wx.TheClipboard.Open()): wx.TheCl...
def Execute(self,event): """Handle selection.""" dir = self.data.dir progress = balt.Progress(_("Installing..."),'\n'+' '*60) try: last = (self.mode == 'LAST') override = (self.mode != 'MISSING') self.data.install(self.selected,progress,last,override) finally: progress.Destroy() self.data.refresh(what='N') gInstallers....
3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 1577, 273, 365, 18, 892, 18, 1214, 4007, 273, 324, 2390, 18, 5491, 24899, 2932, 6410, 310, 7070, 3631, 8314, 82, 11, 6797, 14609,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 1577, 273, 365, 18, 892, 18, 1214, 4007, 273, 324, 2390, 18, 5491, 24899, 2932, 6410, 310, 7070, 3631, 8314, 82, 11, 6797, 14609,...
def SendEventNum(self, num): if num <= len(self.choices): self.plugin.TriggerEvent(self.choices[num-1][1]) self.destroyMenu()
if '.' in evtString: indx = evtString.index(".") eg.TriggerEvent(evtString[indx+1:], prefix = evtString[:indx]) else: eg.TriggerEvent(evtString, prefix = self.prefix)
def SendEvent(self, event = None): sel=self.GetSizer().GetChildren()[0].GetWindow().\ GetSelection() self.plugin.TriggerEvent(self.choices[sel][1]) self.destroyMenu()
5a9e24db893d311594502a931adac4c0bc74b70e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8076/5a9e24db893d311594502a931adac4c0bc74b70e/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2479, 1133, 12, 2890, 16, 871, 273, 599, 4672, 357, 33, 2890, 18, 967, 20512, 7675, 967, 4212, 1435, 63, 20, 8009, 967, 3829, 7675, 64, 968, 6233, 1435, 365, 18, 4094, 18, 6518, 1133, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 1133, 12, 2890, 16, 871, 273, 599, 4672, 357, 33, 2890, 18, 967, 20512, 7675, 967, 4212, 1435, 63, 20, 8009, 967, 3829, 7675, 64, 968, 6233, 1435, 365, 18, 4094, 18, 6518, 1133, ...
self.callback.errorlog(_('Error saving temp file for repomd.xml: %s') % repofilepath)
self.callback.errorlog( _('Error saving temp file for repomd.xml: %s') % repofilepath)
def doRepoMetadata(self): """wrapper to generate the repomd.xml file that stores the info on the other files""" repodoc = libxml2.newDoc("1.0") reporoot = repodoc.newChild(None, "repomd", None) repons = reporoot.newNs('http://linux.duke.edu/metadata/repo', None) reporoot.setNs(repons) rpmns = reporoot.newNs("http://lin...
473cb91d36b5c88e3a55fa60404eb172a1c6e32b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9557/473cb91d36b5c88e3a55fa60404eb172a1c6e32b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 8791, 2277, 12, 2890, 4672, 3536, 8376, 358, 2103, 326, 2071, 362, 72, 18, 2902, 585, 716, 9064, 326, 1123, 603, 326, 1308, 1390, 8395, 2071, 369, 504, 273, 16394, 22, 18, 2704, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 8791, 2277, 12, 2890, 4672, 3536, 8376, 358, 2103, 326, 2071, 362, 72, 18, 2902, 585, 716, 9064, 326, 1123, 603, 326, 1308, 1390, 8395, 2071, 369, 504, 273, 16394, 22, 18, 2704, 1...
return False
return True
def processOutput(self, action): """ __processOutput__ """
97ad565a99be071ebef5ed5e7488f876276e5041 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8887/97ad565a99be071ebef5ed5e7488f876276e5041/GetOutputComponent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1447, 12, 2890, 16, 1301, 4672, 3536, 1001, 2567, 1447, 972, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1207, 1447, 12, 2890, 16, 1301, 4672, 3536, 1001, 2567, 1447, 972, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
print_warning(req, "No exact match found, trying similar queries...", "", "<p>","<p>") req.write("<p>")
print_warning(req, "No exact match found, trying similar queries...")
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg="10", sf="", so="d", sp="", of="hb", ot="", as="0", p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc="0", jrec="0", id="-1", idb="-1", sysnb="", search="SEARCH", d1y="", d1m="", d1d="", d2y="", d2m="", d2d=""): """P...
535ed6a8d836745c0ddd7f1016fbe145d7c7bebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/535ed6a8d836745c0ddd7f1016fbe145d7c7bebd/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
self.do_refresh()
self.do_refresh(toselect=id_toselect)
def quickadd(self,widget) : #pylint: disable-msg=W0613 text = self.quickadd_entry.get_text() if text : tags,notagonly = self.get_selected_tags() #pylint: disable-msg=W0612 # Get attributes regexp = r'([\s]*)([a-zA-Z0-9_-]+):([^\s]+)' for spaces,attribute, args in re.findall(regexp, text) : valid_attribute = True if att...
ac216883f259b0d0ac0be2b70d58df4c50b8aac9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/ac216883f259b0d0ac0be2b70d58df4c50b8aac9/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9549, 1289, 12, 2890, 16, 6587, 13, 294, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 977, 273, 365, 18, 19525, 1289, 67, 4099, 18, 588, 67, 955, 1435, 309, 977, 294, 234...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9549, 1289, 12, 2890, 16, 6587, 13, 294, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 977, 273, 365, 18, 19525, 1289, 67, 4099, 18, 588, 67, 955, 1435, 309, 977, 294, 234...
self.waiting_for_reply = 1
self.waiting_for_reply = True
def handle_request(self, msgid, flags, name, args): if not self.check_method(name): msg = "Invalid method name: %s on %s" % (name, repr(self.obj)) raise ZRPCError(msg) if __debug__: self.log("calling %s%s" % (name, short_repr(args)), level=zLOG.DEBUG)
c8dc49bdef9be96c2639ee661f583dd6f7ce2243 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/c8dc49bdef9be96c2639ee661f583dd6f7ce2243/connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2293, 12, 2890, 16, 24389, 16, 2943, 16, 508, 16, 833, 4672, 309, 486, 365, 18, 1893, 67, 2039, 12, 529, 4672, 1234, 273, 315, 1941, 707, 508, 30, 738, 87, 603, 738, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2293, 12, 2890, 16, 24389, 16, 2943, 16, 508, 16, 833, 4672, 309, 486, 365, 18, 1893, 67, 2039, 12, 529, 4672, 1234, 273, 315, 1941, 707, 508, 30, 738, 87, 603, 738, 87, ...
nodes = [] nodes.extend(flatten_nodes(self.nodes)) return tuple(nodes)
nodelist = [] nodelist.extend(flatten_nodes(self.nodes)) return tuple(nodelist)
def getChildNodes(self): nodes = [] nodes.extend(flatten_nodes(self.nodes)) return tuple(nodes)
f9790adb2bf17d408a715f552f9ea1f6de672d26 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f9790adb2bf17d408a715f552f9ea1f6de672d26/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, 4690, 3719, 327, 3193, 12, 4690, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23895, 12, 2890, 4672, 2199, 273, 5378, 2199, 18, 14313, 12, 16940, 67, 4690, 12, 2890, 18, 4690, 3719, 327, 3193, 12, 4690, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._diffopts = patch.diffopts(self.ui, opts) self.printdiff(repo, node1, node2, files=pats, opts=opts)
diffopts = self.diffopts(opts) self.printdiff(repo, diffopts, node1, node2, files=pats, opts=opts)
def diff(self, repo, pats, opts): top = self.check_toppatch(repo) if not top: self.ui.write(_("no patches applied\n")) return qp = self.qparents(repo, top) if opts.get('reverse'): node1, node2 = None, qp else: node1, node2 = qp, None self._diffopts = patch.diffopts(self.ui, opts) self.printdiff(repo, node1, node2, file...
55bccdfea016e52d8b3428d6a781f922638a6b09 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/55bccdfea016e52d8b3428d6a781f922638a6b09/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 12, 2890, 16, 3538, 16, 293, 2323, 16, 1500, 4672, 1760, 273, 365, 18, 1893, 67, 3669, 2272, 12, 7422, 13, 309, 486, 1760, 30, 365, 18, 4881, 18, 2626, 24899, 2932, 2135, 16482, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 12, 2890, 16, 3538, 16, 293, 2323, 16, 1500, 4672, 1760, 273, 365, 18, 1893, 67, 3669, 2272, 12, 7422, 13, 309, 486, 1760, 30, 365, 18, 4881, 18, 2626, 24899, 2932, 2135, 16482, ...
return http.Response(stream=message(msg, '/forgotpass'))
return HTMLResponse(stream=message(msg, '/forgotpass'))
def error(msg): return http.Response(stream=message(msg, '/forgotpass'))
39855fabbbbe971c1c1d64566b1625e9c1c6d482 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/39855fabbbbe971c1c1d64566b1625e9c1c6d482/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 555, 12, 3576, 4672, 327, 1062, 18, 1064, 12, 3256, 33, 2150, 12, 3576, 16, 1173, 1884, 13212, 5466, 26112, 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, 555, 12, 3576, 4672, 327, 1062, 18, 1064, 12, 3256, 33, 2150, 12, 3576, 16, 1173, 1884, 13212, 5466, 26112, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
monitor.monitorJob = monitorJob
if sys.stdout.isatty() and sys.stdin.isatty(): monitor.monitorJob = monitorJob
def client_preInit(self, main, argv): from rmake.cmdline import monitor monitor.monitorJob = monitorJob
3c51399037561874f8c8919ed02d3cbc5b2e9feb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8749/3c51399037561874f8c8919ed02d3cbc5b2e9feb/monitor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1004, 67, 1484, 2570, 12, 2890, 16, 2774, 16, 5261, 4672, 628, 436, 6540, 18, 4172, 1369, 1930, 6438, 6438, 18, 10259, 2278, 273, 6438, 2278, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 1484, 2570, 12, 2890, 16, 2774, 16, 5261, 4672, 628, 436, 6540, 18, 4172, 1369, 1930, 6438, 6438, 18, 10259, 2278, 273, 6438, 2278, 2, -100, -100, -100, -100, -100, -100, -100,...
domain = rec.get('domain','').encode('utf-8')
domain = rec.get('domain','').encode('utf-8') or '{}'
def _tag_act_window(self, cr, rec, data_node=None): name = rec.get('name','').encode('utf-8') xml_id = rec.get('id','').encode('utf8') self._test_xml_id(xml_id) type = rec.get('type','').encode('utf-8') or 'ir.actions.act_window' view_id = False if rec.get('view'): view_id = self.id_get(cr, 'ir.actions.act_window', rec...
2cb4136c9f6da3d1a01b7ec05a633102c5287567 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/2cb4136c9f6da3d1a01b7ec05a633102c5287567/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2692, 67, 621, 67, 5668, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 508, 273, 1950, 18, 588, 2668, 529, 2187, 6309, 2934, 3015, 2668, 3158, 17, 28, 6134, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2692, 67, 621, 67, 5668, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 508, 273, 1950, 18, 588, 2668, 529, 2187, 6309, 2934, 3015, 2668, 3158, 17, 28, 6134, 2...
expr = re.compile(r'\s*\*([ \n%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*(?!\*|-)' % letters).search
expr = re.compile(r'\*([%s%s%s\s]+?)\*' % (letters, digits, strongem_punc)).search
def doc_emphasize( self, s, expr = re.compile(r'\s*\*([ \n%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*(?!\*|-)' % letters).search ):
b29008c90524f37221faf5a492ff5cfc6328548c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b29008c90524f37221faf5a492ff5cfc6328548c/DocumentClass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 67, 351, 26377, 554, 12, 365, 16, 272, 16, 3065, 273, 283, 18, 11100, 12, 86, 8314, 14, 3816, 9, 87, 9, 87, 9, 87, 64, 87, 3737, 16626, 4035, 738, 261, 26054, 16, 6815, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 67, 351, 26377, 554, 12, 365, 16, 272, 16, 3065, 273, 283, 18, 11100, 12, 86, 8314, 14, 3816, 9, 87, 9, 87, 9, 87, 64, 87, 3737, 16626, 4035, 738, 261, 26054, 16, 6815, 16, ...
return str(msgid).upper()
def translate(self, domain, msgid, mapping=None, context=None, target_language=None, default=None): return str(msgid).upper() def repl(m, mapping=mapping): return ustr(mapping[m.group(m.lastindex)]) cre = re.compile(r'\$(?:(%s)|\{(%s)\})' % (NAME_RE, NAME_RE)) return cre.sub(repl, default or msgid)
69a57fe7f0f496e49ec9e12b05dd6b409fe3a3fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/69a57fe7f0f496e49ec9e12b05dd6b409fe3a3fb/GlobalTranslationService.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 12, 2890, 16, 2461, 16, 24389, 16, 2874, 33, 7036, 16, 819, 33, 7036, 16, 1018, 67, 4923, 33, 7036, 16, 805, 33, 7036, 4672, 1652, 6831, 12, 81, 16, 2874, 33, 6770, 4672, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 12, 2890, 16, 2461, 16, 24389, 16, 2874, 33, 7036, 16, 819, 33, 7036, 16, 1018, 67, 4923, 33, 7036, 16, 805, 33, 7036, 4672, 1652, 6831, 12, 81, 16, 2874, 33, 6770, 4672, 327, ...
print "partners-ins",partner_ids
def _get_insurer_id(self, cr, uid, ids, name, args, context=None): res ={} partner_ids = self.browse(cr,uid,ids) print "partners-ins",partner_ids for pid in partner_ids: print "pid-ins",pid res[pid.id]=pid.insurer_id print "res-ins",res return res
6cabe5111ec0564c84fa70a54bf695fafb164df1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7339/6cabe5111ec0564c84fa70a54bf695fafb164df1/cci_mission.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 2679, 11278, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2916, 19170, 67, 2232, 273, 365, 18, 25731, 12, 3353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2679, 11278, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2916, 19170, 67, 2232, 273, 365, 18, 25731, 12, 3353,...
'description': fields.text('Description'), 'partner_id': fields.many2one('res.partner', 'Partner', required=False), 'attachment_ids': fields.many2many('ir.attachment', 'message_attachment_rel', 'message_id', 'attachment_id', 'Attachments'),
'description': fields.text('Description'), 'partner_id': fields.many2one('res.partner', 'Partner', required=False), 'attachment_ids': fields.many2many('ir.attachment', 'message_attachment_rel', 'message_id', 'attachment_id', 'Attachments'),
def _history(self, cr, uid, cases, keyword, history=False, subject=None, email=False, details=None, \ email_from=False, message_id=False, references=None, attach=None, context=None): """ @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security ...
25f3c114cde830404ca9430e1cd75cadc8bfd6fd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/25f3c114cde830404ca9430e1cd75cadc8bfd6fd/mail_gateway.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8189, 12, 2890, 16, 4422, 16, 4555, 16, 6088, 16, 4932, 16, 4927, 33, 8381, 16, 3221, 33, 7036, 16, 2699, 33, 8381, 16, 3189, 33, 7036, 16, 521, 2699, 67, 2080, 33, 8381, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8189, 12, 2890, 16, 4422, 16, 4555, 16, 6088, 16, 4932, 16, 4927, 33, 8381, 16, 3221, 33, 7036, 16, 2699, 33, 8381, 16, 3189, 33, 7036, 16, 521, 2699, 67, 2080, 33, 8381, 16, ...
order_by, tables, clause = obj._order_calc(cursor, user, field,
order_by, tables, tables_args = obj._order_calc(cursor, user, field,
def _order_calc(self, cursor, user, field, otype, context=None): order_by = [] tables = [] field_name = None table_name = None link_field = None clause = ''
6355baff406cd491895e75541e7f8188f68d5687 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/6355baff406cd491895e75541e7f8188f68d5687/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1019, 67, 12448, 12, 2890, 16, 3347, 16, 729, 16, 652, 16, 320, 723, 16, 819, 33, 7036, 4672, 1353, 67, 1637, 273, 5378, 4606, 273, 5378, 652, 67, 529, 273, 599, 1014, 67, 529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1019, 67, 12448, 12, 2890, 16, 3347, 16, 729, 16, 652, 16, 320, 723, 16, 819, 33, 7036, 4672, 1353, 67, 1637, 273, 5378, 4606, 273, 5378, 652, 67, 529, 273, 599, 1014, 67, 529, ...
return os.sep.join(prefix)
return "/".join(prefix)
def commonprefix(m): "Given a list of pathnames, returns the longest common leading component" if not m: return '' n = m[:] for i in range(len(n)): n[i] = n[i].split(os.sep) # if os.sep didn't have any effect, try os.altsep if os.altsep and len(n[i]) == 1: n[i] = n[i].split(os.altsep) prefix = n[0] for item in n: for ...
4f06bcd1bd194ceb6ddef5919ae1d1eb6c976251 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/4f06bcd1bd194ceb6ddef5919ae1d1eb6c976251/posixpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2975, 3239, 12, 81, 4672, 315, 6083, 279, 666, 434, 589, 1973, 16, 1135, 326, 12163, 2975, 7676, 1794, 6, 309, 486, 312, 30, 327, 875, 290, 273, 312, 10531, 65, 364, 277, 316, 1048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2975, 3239, 12, 81, 4672, 315, 6083, 279, 666, 434, 589, 1973, 16, 1135, 326, 12163, 2975, 7676, 1794, 6, 309, 486, 312, 30, 327, 875, 290, 273, 312, 10531, 65, 364, 277, 316, 1048, ...
def _open_with_retry(func, host, *args, **kwargs): last_exc = None for i in range(3): try: return func(host, *args, **kwargs) except IOError as err: last_exc = err continue except: raise raise last_exc
def _open_with_retry(func, host, *args, **kwargs): # Connecting to remote hosts is flaky. Make it more robust # by retrying the connection several times. last_exc = None for i in range(3): try: return func(host, *args, **kwargs) except IOError as err: last_exc = err continue except: raise raise last_exc
900dc5e9cac9cfe5dc97e54e64ff760463480be2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/900dc5e9cac9cfe5dc97e54e64ff760463480be2/test_urllibnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3190, 67, 1918, 67, 9620, 12, 644, 16, 1479, 16, 380, 1968, 16, 2826, 4333, 4672, 468, 8289, 310, 358, 2632, 7206, 353, 1183, 29643, 18, 225, 4344, 518, 1898, 27920, 468, 635, 210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3190, 67, 1918, 67, 9620, 12, 644, 16, 1479, 16, 380, 1968, 16, 2826, 4333, 4672, 468, 8289, 310, 358, 2632, 7206, 353, 1183, 29643, 18, 225, 4344, 518, 1898, 27920, 468, 635, 210...
opcodes += [(x, [], ["cache->_fault = FAULT_%s"%(x.upper())]) for x in ["cpuid", "rdtsc", "rdmsr", "wrmsr"]]
opcodes += [(x, [], ["cache->send_message(CpuMessage::TYPE_%s)"%(x.upper())]) for x in ["cpuid", "rdtsc", "rdmsr", "wrmsr"]]
def add_helper(l, flags, params): if "[ENTRY]" in params: flags.append("ENTRY") for x in l: name = reduce(lambda x,y: x.replace(y, "_"), "% ,", x.upper()) if "NO_OS" not in flags: name += "<[os]>" opcodes.append((x, flags, ["cache->helper_%s(%s)"%(name, params or "")]))
8d8c75b48660137ee5142795ad48f5f3b71a7053 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6150/8d8c75b48660137ee5142795ad48f5f3b71a7053/build_instructions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 4759, 12, 80, 16, 2943, 16, 859, 4672, 309, 5158, 19083, 4279, 316, 859, 30, 2943, 18, 6923, 2932, 19083, 7923, 364, 619, 316, 328, 30, 508, 273, 5459, 12, 14661, 619, 16, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 4759, 12, 80, 16, 2943, 16, 859, 4672, 309, 5158, 19083, 4279, 316, 859, 30, 2943, 18, 6923, 2932, 19083, 7923, 364, 619, 316, 328, 30, 508, 273, 5459, 12, 14661, 619, 16, 9...
if opt.has_key('validate') and not opt['validate'](opt['default']): raise exceptions.ValueError("Default value '%s' for option '%s' does not pass validation." % (str(opt['default']), opt['name']))
def addOption(self, pos=-1, **kwargs): ''' Append an entry to the parameter specification list. Dictionary entries should be specified as keyword arguments such as ``longarg='option='``. More specifically, you can specify parameters ``arg``, ``longarg`` (required), ``label``, ``allowedTypes``, ``useDefault``, ``default...
2551eee14af7e12e6d239850d25957b2dd0ffd21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/401/2551eee14af7e12e6d239850d25957b2dd0ffd21/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12966, 12, 2890, 16, 949, 29711, 21, 16, 2826, 4333, 4672, 9163, 6181, 392, 1241, 358, 326, 1569, 7490, 666, 18, 16447, 3222, 1410, 506, 1269, 487, 4932, 1775, 4123, 487, 12176, 5748, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12966, 12, 2890, 16, 949, 29711, 21, 16, 2826, 4333, 4672, 9163, 6181, 392, 1241, 358, 326, 1569, 7490, 666, 18, 16447, 3222, 1410, 506, 1269, 487, 4932, 1775, 4123, 487, 12176, 5748, 31...
self.assertEquals(len(sms_peaks), len(simpl_peaks))
assert len(sms_peaks) == len(simpl_peaks)
def test_peak_detection(self): """test_peak_detection Compare simplsms Peaks with SMS peaks. Exact peak information cannot be retrieved using libsms. Basic peak detection is performed by sms_detectPeaks, but this is called multiple times with different frame sizes by sms_analyze. This peak data cannot be returned from ...
f0576d53f10832adb8a491f85ec86d2219a621bf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10871/f0576d53f10832adb8a491f85ec86d2219a621bf/sms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10244, 67, 27515, 12, 2890, 4672, 3536, 3813, 67, 10244, 67, 27515, 11051, 9330, 20984, 19622, 581, 87, 598, 21297, 25168, 18, 30794, 11148, 1779, 2780, 506, 10295, 1450, 15042, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10244, 67, 27515, 12, 2890, 4672, 3536, 3813, 67, 10244, 67, 27515, 11051, 9330, 20984, 19622, 581, 87, 598, 21297, 25168, 18, 30794, 11148, 1779, 2780, 506, 10295, 1450, 15042, ...
else
else:
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 928) else quickfix.IntField.__init__(self, 928, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 6030, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 6030, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 27...
self.translate('atse_field_added', 'Field added'), fieldset=fieldset, field=R['name'])
self.translate('atse_field_added', 'Field added'), schemata=fieldset, field=R['name'])
def atse_update(self, fielddata, REQUEST, RESPONSE=None): """ update a single field"""
478cba9e74bf2d5182dfa403bd5ac0e13a4972be /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/478cba9e74bf2d5182dfa403bd5ac0e13a4972be/SchemaEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 622, 307, 67, 2725, 12, 2890, 16, 7314, 292, 449, 396, 16, 225, 12492, 16, 20645, 33, 7036, 4672, 3536, 1089, 279, 2202, 652, 8395, 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, 622, 307, 67, 2725, 12, 2890, 16, 7314, 292, 449, 396, 16, 225, 12492, 16, 20645, 33, 7036, 4672, 3536, 1089, 279, 2202, 652, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
inprogress = 0 if item.pk in tasks_pending: inprogress = 1
inprogress = int( (not thumb_ready) or (item.pk in tasks_pending))
def load_items(request, view_type=None, unlimited=False, ): from datetime import datetime try: user = User.objects.get(pk=request.session['_auth_user_id']) workspace_id = request.POST.get('workspace_id') if workspace_id: workspace = Workspace.objects.get(pk = workspace_id) else: workspace = request.session['workspace...
9880113893e01a40c1da1cabc2b1a63748143842 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4589/9880113893e01a40c1da1cabc2b1a63748143842/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 3319, 12, 2293, 16, 1476, 67, 723, 33, 7036, 16, 640, 21325, 33, 8381, 16, 262, 30, 628, 3314, 1930, 3314, 775, 30, 729, 273, 2177, 18, 6911, 18, 588, 12, 5465, 33, 2293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 3319, 12, 2293, 16, 1476, 67, 723, 33, 7036, 16, 640, 21325, 33, 8381, 16, 262, 30, 628, 3314, 1930, 3314, 775, 30, 729, 273, 2177, 18, 6911, 18, 588, 12, 5465, 33, 2293, ...
self.add_latex_line(r"\setlength{\%s}{\%s{%s}}"%(newlengthName(),dimension_name,tex_expression),"BEFORE_PSPICTURE")
self.add_latex_line(r"\setlength{\%s}{\%s{%s}}"%(newlengthName(),dimension_name,tex_expression),"BEFORE PSPICTURE")
def get_box_dimension(self,tex_expression,dimension_name): """ Return the dimension of the LaTeX box corresponding to the LaTeX expression tex_expression.
9d2efc3d6c32e84b237b0b8c846aa8aeaf38faf4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5111/9d2efc3d6c32e84b237b0b8c846aa8aeaf38faf4/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2147, 67, 11808, 12, 2890, 16, 21763, 67, 8692, 16, 11808, 67, 529, 4672, 3536, 2000, 326, 4968, 434, 326, 21072, 21575, 60, 3919, 4656, 358, 326, 21072, 21575, 60, 2652, 16573,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2147, 67, 11808, 12, 2890, 16, 21763, 67, 8692, 16, 11808, 67, 529, 4672, 3536, 2000, 326, 4968, 434, 326, 21072, 21575, 60, 3919, 4656, 358, 326, 21072, 21575, 60, 2652, 16573,...
- This function is based on Cliquer, [1]. REFERENCE: - [1] Sampo Niskanen and Patric R. J. Östergård, "Cliquer User's Guide, Version 1.0," Communications Laboratory, Helsinki University of Technology, Espoo, Finland, Tech. Rep. T48, 2003.
This function is based on Cliquer [NisOst2003]_.
def clique_maximum(self): """ Returns the vertex set of a maximal order complete subgraph.
1644d37e4f8e20b5c9168d90a5d10b62d68e496b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/1644d37e4f8e20b5c9168d90a5d10b62d68e496b/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31380, 67, 15724, 12, 2890, 4672, 3536, 2860, 326, 5253, 444, 434, 279, 943, 2840, 1353, 3912, 21469, 18, 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, 31380, 67, 15724, 12, 2890, 4672, 3536, 2860, 326, 5253, 444, 434, 279, 943, 2840, 1353, 3912, 21469, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
invoice = invoice_obj.browse(cursor, user, invoice_id)
invoice = invoice_obj.browse(cr, uid, invoice_id)
def action_invoice_create(self, cursor, user, ids, journal_id=False, group=False, type='out_invoice', context=None): '''Return ids of created invoices for the pickings''' invoice_obj = self.pool.get('account.invoice') invoice_line_obj = self.pool.get('account.invoice.line') invoices_group = {} res = {}
18be8e52469417aa8e0ec02e033c0942d0ad805f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/18be8e52469417aa8e0ec02e033c0942d0ad805f/stock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 16119, 67, 2640, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 13001, 67, 350, 33, 8381, 16, 1041, 33, 8381, 16, 618, 2218, 659, 67, 16119, 2187, 819, 33, 7036, 4672, 9163, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 16119, 67, 2640, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 13001, 67, 350, 33, 8381, 16, 1041, 33, 8381, 16, 618, 2218, 659, 67, 16119, 2187, 819, 33, 7036, 4672, 9163, 99...
return Integer(math.floor(x))
return Integer(int(math.floor(x)))
def __call__(self, x, maximum_bits=20000): try: return x.floor() except AttributeError: if isinstance(x, (float, int, long, complex)): return Integer(math.floor(x))
5a2223443ee7fde1df3c7bca3a868517796d36d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/5a2223443ee7fde1df3c7bca3a868517796d36d3/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 4207, 67, 6789, 33, 22, 2787, 4672, 775, 30, 327, 619, 18, 74, 5807, 1435, 1335, 6394, 30, 309, 1549, 12, 92, 16, 261, 5659, 16, 509, 16, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 4207, 67, 6789, 33, 22, 2787, 4672, 775, 30, 327, 619, 18, 74, 5807, 1435, 1335, 6394, 30, 309, 1549, 12, 92, 16, 261, 5659, 16, 509, 16, 15...
>>> ( nowUTC - nowLoc ) < datetime.timedelta( seconds = 5 )
>>> (nowUTC - nowLoc) < datetime.timedelta(seconds = 5)
def GetLocalTimeZone( ): """Returns the local time zone as defined by the operating system in the registry. Note that this will only work if the TimeZone in the registry has not been customized. It should have been selected from the Windows interface. >>> localTZ = GetLocalTimeZone() >>> nowLoc = datetime.datetime.now...
c68039a3f4004e3fe46621e4c6512fd2401398fc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/677/c68039a3f4004e3fe46621e4c6512fd2401398fc/win32timezone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2042, 16760, 12, 262, 30, 3536, 1356, 326, 1191, 813, 4157, 487, 2553, 635, 326, 16929, 2619, 316, 326, 4023, 18, 3609, 716, 333, 903, 1338, 1440, 309, 326, 16491, 316, 326, 4023, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2042, 16760, 12, 262, 30, 3536, 1356, 326, 1191, 813, 4157, 487, 2553, 635, 326, 16929, 2619, 316, 326, 4023, 18, 3609, 716, 333, 903, 1338, 1440, 309, 326, 16491, 316, 326, 4023, ...
if self.sig_changed_combo_id: child.disconnect(self.sig_changed_combo_id) self.sig_changed_combo_id = False
def sig_focus_out(self, widget, event, leave=False): if not self.focus_out: return child = self.widget_combo.get_child() if self.sig_changed_combo_id: child.disconnect(self.sig_changed_combo_id) self.sig_changed_combo_id = False self.changed = False value = self._view.modelfield.get_client(self._view.model)
c3d79bc389079ffc7a742deb642bc83fce7b14b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9151/c3d79bc389079ffc7a742deb642bc83fce7b14b0/reference.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 67, 13923, 67, 659, 12, 2890, 16, 3604, 16, 871, 16, 8851, 33, 8381, 4672, 309, 486, 365, 18, 13923, 67, 659, 30, 327, 1151, 273, 365, 18, 6587, 67, 25053, 18, 588, 67, 3624, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 67, 13923, 67, 659, 12, 2890, 16, 3604, 16, 871, 16, 8851, 33, 8381, 4672, 309, 486, 365, 18, 13923, 67, 659, 30, 327, 1151, 273, 365, 18, 6587, 67, 25053, 18, 588, 67, 3624, ...
def CopyAllHeaders(dir):
def CopyAllHeaders(dir, skip=[]):
def CopyAllHeaders(dir): # get a list of headers dirlist = os.listdir(dir) dirlist.sort() files = fnmatch.filter(dirlist,"*.h")+fnmatch.filter(dirlist,"*.I")+fnmatch.filter(dirlist,"*.T") # sanity check - do headers in directory match headers in CVS? cvsentries = ReadCvsEntries(dir) if (cvsentries != 0): cvsheaders = f...
a1a1bf8826ca0f4d0f41e04b2c8b5a6421d40ac7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/a1a1bf8826ca0f4d0f41e04b2c8b5a6421d40ac7/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 16, 2488, 33, 8526, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 16, 2488, 33, 8526, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, ...
dagFileName = 'SUPERDAG%stmp.dag' % tagString dagFID = file(dagFileName,'w')
def usage(): msg = """\
ed7063e568922674ae3ccffadb195aa6e603341c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/ed7063e568922674ae3ccffadb195aa6e603341c/fscanDriver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1234, 273, 3536, 64, 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, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1234, 273, 3536, 64, 225, 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, -1...
for key, value in dict.items():
for key, value in _readmodule(module, path or []).items():
def readmodule(module, path=[]): '''Backwards compatible interface. Call readmodule_ex() and then only keep Class objects from the resulting dictionary.''' dict = _readmodule(module, path) res = {} for key, value in dict.items(): if isinstance(value, Class): res[key] = value return res
4b228016f7248c15c1df2d1be731768fca57d0ca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/4b228016f7248c15c1df2d1be731768fca57d0ca/pyclbr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2978, 12, 2978, 16, 589, 33, 8526, 4672, 9163, 2711, 6397, 7318, 1560, 18, 225, 3049, 855, 2978, 67, 338, 1435, 471, 1508, 1338, 3455, 1659, 2184, 628, 326, 8156, 3880, 1093, 6309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2978, 12, 2978, 16, 589, 33, 8526, 4672, 9163, 2711, 6397, 7318, 1560, 18, 225, 3049, 855, 2978, 67, 338, 1435, 471, 1508, 1338, 3455, 1659, 2184, 628, 326, 8156, 3880, 1093, 6309, ...
button.appendChild(dvddom.createTextNode("{g2=" + "%s" % itemsonthispage + "; jump title %s;}" % itemnum))
button.appendChild(dvddom.createTextNode("{g2=" + "%s" % itemsonthispage + "; g5=0; jump title %s;}" % itemnum))
def createDVDAuthorXML(screensize, numberofitems): """Creates the xml file for dvdauthor to use the MythBurn menus.""" #Get the main menu node (we must only have 1) menunode=themeDOM.getElementsByTagName("menu") if menunode.length!=1: fatalError("Cannot find the menu element in the theme file") menunode=menunode[0] m...
ef81bda3449db8dd4fdb66f7059204462ad95fc8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13713/ef81bda3449db8dd4fdb66f7059204462ad95fc8/mythburn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 40, 21544, 3594, 4201, 12, 1017, 266, 773, 554, 16, 1300, 792, 3319, 4672, 3536, 2729, 326, 2025, 585, 364, 12494, 72, 4161, 358, 999, 326, 8005, 451, 38, 321, 21374, 12123, 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, 752, 40, 21544, 3594, 4201, 12, 1017, 266, 773, 554, 16, 1300, 792, 3319, 4672, 3536, 2729, 326, 2025, 585, 364, 12494, 72, 4161, 358, 999, 326, 8005, 451, 38, 321, 21374, 12123, 225, ...
return date.strftime(str(self.lang_obj.date_format))
return date.strftime(str(self.lang_obj.date_format))
def __str__(self): if self.val: if getattr(self,'name', None): date = datetime.strptime(self.name, DT_FORMAT) return date.strftime(str(self.lang_obj.date_format)) return self.val
55108bf3fb941900f68f8f9adf5db99861781ca9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/55108bf3fb941900f68f8f9adf5db99861781ca9/report_sxw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 309, 365, 18, 1125, 30, 309, 3869, 12, 2890, 11189, 529, 2187, 599, 4672, 1509, 273, 3314, 18, 701, 10650, 12, 2890, 18, 529, 16, 10696, 67, 7254, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 309, 365, 18, 1125, 30, 309, 3869, 12, 2890, 11189, 529, 2187, 599, 4672, 1509, 273, 3314, 18, 701, 10650, 12, 2890, 18, 529, 16, 10696, 67, 7254, 13, ...
WaitForSingleObject(self._handle, INFINITE) self.returncode = GetExitCodeProcess(self._handle)
_subprocess.WaitForSingleObject(self._handle, _subprocess.INFINITE) self.returncode = _subprocess.GetExitCodeProcess(self._handle)
def wait(self): """Wait for child process to terminate. Returns returncode attribute.""" if self.returncode is None: WaitForSingleObject(self._handle, INFINITE) self.returncode = GetExitCodeProcess(self._handle) return self.returncode
bfcbec5091d1f60c18c1f9c12171de7a06cc742c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/bfcbec5091d1f60c18c1f9c12171de7a06cc742c/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 4672, 3536, 5480, 364, 1151, 1207, 358, 10850, 18, 225, 2860, 18125, 1566, 12123, 309, 365, 18, 2463, 710, 353, 599, 30, 389, 1717, 2567, 18, 29321, 5281, 921, 12, 2890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 4672, 3536, 5480, 364, 1151, 1207, 358, 10850, 18, 225, 2860, 18125, 1566, 12123, 309, 365, 18, 2463, 710, 353, 599, 30, 389, 1717, 2567, 18, 29321, 5281, 921, 12, 2890, ...
buf = stdin.read(len) if len(buf) == 0:
buf = sys.stdin.read(len) if buf == "":
def writefile(pid, oid): len = 1 << 20 # 1 MB chunk size pos = 0 while True: buf = stdin.read(len) if len(buf) == 0: break command = OSDCommand() command.set_write(pid, oid, buf, pos) run(command) pos += len(buf)
beb971f1cc15ac8efdfeb47155988403683d415f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11094/beb971f1cc15ac8efdfeb47155988403683d415f/readfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 768, 12, 6610, 16, 7764, 4672, 562, 273, 404, 2296, 4200, 225, 468, 404, 17897, 2441, 963, 949, 273, 374, 1323, 1053, 30, 1681, 273, 2589, 18, 21772, 18, 896, 12, 1897, 13, 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, 1045, 768, 12, 6610, 16, 7764, 4672, 562, 273, 404, 2296, 4200, 225, 468, 404, 17897, 2441, 963, 949, 273, 374, 1323, 1053, 30, 1681, 273, 2589, 18, 21772, 18, 896, 12, 1897, 13, 309, ...
'it', 'he', 'jv', 'kl', 'pam', 'kn', 'kaa', 'kr', 'ka', 'ks', 'csb',
'it', 'he', 'jv', 'kl', 'pam', 'kn', 'kr', 'ka', 'ks', 'csb',
def __init__(self): self.name = None # Updated from http://meta.wikimedia.org/wiki/Interwiki_sorting_order self.alphabetic = [ 'aa', 'af', 'ak', 'als', 'am', 'ang', 'ab', 'ar', 'an', 'arc', 'roa-rup', 'frp', 'as', 'ast', 'gn', 'av', 'ay', 'az', 'bm', 'bn', 'zh-min-nan', 'map-bms', 'ba', 'be', 'be-x-old', 'bh', 'bcl', '...
7a97ff218516cb3eb852e1fd5d280f8434c472ce /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/7a97ff218516cb3eb852e1fd5d280f8434c472ce/family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 28...
newline = "%s: %s" % (headername, headervalue) ui.debug('imap', 'savemessage_addheader: newline = ' + repr(newline))
def savemessage_addheader(self, content, headername, headervalue): ui = UIBase.getglobalui() ui.debug('imap', 'savemessage_addheader: called to add %s: %s' % (headername, headervalue)) newline = "%s: %s" % (headername, headervalue) ui.debug('imap', 'savemessage_addheader: newline = ' + repr(newline))
35c7b668622c302359035198fd5d5bb9ae1d88ce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5335/35c7b668622c302359035198fd5d5bb9ae1d88ce/IMAP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4087, 351, 615, 67, 1289, 3374, 12, 2890, 16, 913, 16, 1446, 529, 16, 1446, 1132, 4672, 5915, 273, 6484, 2171, 18, 588, 10581, 700, 77, 1435, 5915, 18, 4148, 2668, 12161, 2187, 296, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4087, 351, 615, 67, 1289, 3374, 12, 2890, 16, 913, 16, 1446, 529, 16, 1446, 1132, 4672, 5915, 273, 6484, 2171, 18, 588, 10581, 700, 77, 1435, 5915, 18, 4148, 2668, 12161, 2187, 296, 87...
from itools.handlers import database mimetype = database.guess_mimetype(segment.name, resource) return database.get_handler(resource, mimetype)
def _get_handler(self, segment): if self.has_resource(segment.name): resource = self.get_resource(segment.name)
f27d97e6e95c4c5aa42f776af4fe70e2de29bcbd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/f27d97e6e95c4c5aa42f776af4fe70e2de29bcbd/Folder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 4176, 12, 2890, 16, 3267, 4672, 309, 365, 18, 5332, 67, 3146, 12, 9273, 18, 529, 4672, 1058, 273, 365, 18, 588, 67, 3146, 12, 9273, 18, 529, 13, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 588, 67, 4176, 12, 2890, 16, 3267, 4672, 309, 365, 18, 5332, 67, 3146, 12, 9273, 18, 529, 4672, 1058, 273, 365, 18, 588, 67, 3146, 12, 9273, 18, 529, 13, 2, -100, -100, -100, ...
self.type,
type,
def tobuf(self, posix=False): """Return a tar header block as a 512 byte string. """ parts = [ stn(self.name, 100), itn(self.mode & 07777, 8, posix), itn(self.uid, 8, posix), itn(self.gid, 8, posix), itn(self.size, 12, posix), itn(self.mtime, 12, posix), " ", # checksum field self.type, stn(self.linkname, 100), ...
46d1c177e7795bb80efefb14c12ab8864b4218e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/46d1c177e7795bb80efefb14c12ab8864b4218e1/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 4385, 12, 2890, 16, 16366, 33, 8381, 4672, 3536, 990, 279, 8232, 1446, 1203, 487, 279, 13908, 1160, 533, 18, 3536, 2140, 273, 306, 384, 82, 12, 2890, 18, 529, 16, 2130, 3631, 518,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 4385, 12, 2890, 16, 16366, 33, 8381, 4672, 3536, 990, 279, 8232, 1446, 1203, 487, 279, 13908, 1160, 533, 18, 3536, 2140, 273, 306, 384, 82, 12, 2890, 18, 529, 16, 2130, 3631, 518,...
if (not rframe is frame) and rcur:
if (rframe is frame) and rcur:
def trace_dispatch_exception(self, frame, t): rt, rtt, rct, rfn, rframe, rcur = self.cur if (not rframe is frame) and rcur: return self.trace_dispatch_return(rframe, t) return 0
59f9e909795e1fc86f9fe12c9c4fb6a65496ee9c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/59f9e909795e1fc86f9fe12c9c4fb6a65496ee9c/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2606, 67, 10739, 67, 4064, 12, 2890, 16, 2623, 16, 268, 4672, 8253, 16, 31525, 16, 436, 299, 16, 436, 4293, 16, 436, 3789, 16, 436, 1397, 273, 365, 18, 1397, 309, 261, 86, 3789, 353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2606, 67, 10739, 67, 4064, 12, 2890, 16, 2623, 16, 268, 4672, 8253, 16, 31525, 16, 436, 299, 16, 436, 4293, 16, 436, 3789, 16, 436, 1397, 273, 365, 18, 1397, 309, 261, 86, 3789, 353,...
'Server=%s' % keys.pop('host', ''),
'Server=%s%s' % (keys.pop('host', ''), port),
def make_connect_string(self, keys): if 'max_identifier_length' in keys: self.max_identifier_length = int(keys.pop('max_identifier_length')) if 'dsn' in keys: connectors = ['dsn=%s' % keys.pop('dsn')] else: connectors = ["DRIVER={%s}" % keys.pop('driver', 'SQL Server'), 'Server=%s' % keys.pop('host', ''), 'Database=%s'...
306bee4ecd1ddcab860f9b39866b2f57b6ec509a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1074/306bee4ecd1ddcab860f9b39866b2f57b6ec509a/mssql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 3612, 67, 1080, 12, 2890, 16, 1311, 4672, 309, 296, 1896, 67, 5644, 67, 2469, 11, 316, 1311, 30, 365, 18, 1896, 67, 5644, 67, 2469, 273, 509, 12, 2452, 18, 5120, 2668, 1896...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 3612, 67, 1080, 12, 2890, 16, 1311, 4672, 309, 296, 1896, 67, 5644, 67, 2469, 11, 316, 1311, 30, 365, 18, 1896, 67, 5644, 67, 2469, 273, 509, 12, 2452, 18, 5120, 2668, 1896...
if self.cdb is None: self.cdb = calibDatabase.CalibDB(self._policy.get("dbPath"))
def process(self): self.activeClipboard = self.inputQueue.getNextDataset()
83eea9f38860c2c3450ebebf413fa15e858aa696 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6526/83eea9f38860c2c3450ebebf413fa15e858aa696/IdentifyCalibrationProductsStage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 4672, 365, 18, 3535, 15339, 3752, 273, 365, 18, 2630, 3183, 18, 588, 2134, 10656, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 4672, 365, 18, 3535, 15339, 3752, 273, 365, 18, 2630, 3183, 18, 588, 2134, 10656, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
i += 1
i += 1
def axe_show_label(document): i = 0 while True: i = find_token(document.body, "\\begin_inset CharStyle", i) if i == -1: return if document.body[i + 1].find("show_label") != -1: if document.body[i + 1].find("true") != -1: document.body[i + 1] = "status open" del document.body[ i + 2] else: if document.body[i + 1].find("...
b100b0a4c4af53e13252097dde2f70ae7b8a583e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7514/b100b0a4c4af53e13252097dde2f70ae7b8a583e/lyx_1_6.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1740, 73, 67, 4500, 67, 1925, 12, 5457, 4672, 277, 273, 374, 1323, 1053, 30, 277, 273, 1104, 67, 2316, 12, 5457, 18, 3432, 16, 8422, 10086, 67, 267, 542, 3703, 2885, 3113, 277, 13, 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, 1740, 73, 67, 4500, 67, 1925, 12, 5457, 4672, 277, 273, 374, 1323, 1053, 30, 277, 273, 1104, 67, 2316, 12, 5457, 18, 3432, 16, 8422, 10086, 67, 267, 542, 3703, 2885, 3113, 277, 13, 3...
pass if days: days_text = gettext.ngettext('day', 'days', int(days)) if mins: if mins.startswith('0') and len(mins) > 1: mins = mins[1:] mins_text = gettext.ngettext('minute', 'minutes', int(mins)) if hours: if hours.startswith('0'): hours = hours[1:] hours_text = gettext.ngettext('hour', 'hours', int(hours)) songs_te...
def update_statusbar(self, updatingdb=False): if self.conn and self.status and self.show_statusbar: try: days = None hours = None mins = None total_time = convert_time(self.total_time) try: mins = total_time.split(":")[-2] hours = total_time.split(":")[-3] if int(hours) >= 24: days = str(int(hours)/24) hours = str(int(...
61a4cf756ed16d2acc2fe46c21464512226bc4c4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/61a4cf756ed16d2acc2fe46c21464512226bc4c4/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2327, 3215, 12, 2890, 16, 9702, 1966, 33, 8381, 4672, 309, 365, 18, 4646, 471, 365, 18, 2327, 471, 365, 18, 4500, 67, 2327, 3215, 30, 775, 30, 4681, 273, 599, 7507, 273, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2327, 3215, 12, 2890, 16, 9702, 1966, 33, 8381, 4672, 309, 365, 18, 4646, 471, 365, 18, 2327, 471, 365, 18, 4500, 67, 2327, 3215, 30, 775, 30, 4681, 273, 599, 7507, 273, 59...
self.doclist.Delete(created_entry.GetEditLink().href)
self.editClient.Delete(created_entry.GetEditLink().href)
def testCreateAndDeleteEmptyPresentation(self): self.new_entry.title = gdata.atom.Title(text=self.TITLE) self.new_entry.category[0].term = gdata.docs.service.PRESENTATION_KIND_TERM self.new_entry.category[0].label = 'presentation' created_entry = self.doclist.Post(self.new_entry, '/feeds/documents/private/full') self.d...
6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5609/6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 1876, 2613, 1921, 6351, 367, 12, 2890, 4672, 365, 18, 2704, 67, 4099, 18, 2649, 273, 314, 892, 18, 7466, 18, 4247, 12, 955, 33, 2890, 18, 14123, 13, 365, 18, 2704, 67, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1684, 1876, 2613, 1921, 6351, 367, 12, 2890, 4672, 365, 18, 2704, 67, 4099, 18, 2649, 273, 314, 892, 18, 7466, 18, 4247, 12, 955, 33, 2890, 18, 14123, 13, 365, 18, 2704, 67, 40...
elif o == '-D' : diffs = 0
def main(): import sys, getopt, time, string, socket try: opts, args = getopt.getopt(sys.argv[1:], "d:i:h:l:u:r:Rt:DL:", ["date", "indent", "hostname", "length", "user", "rlog_options", #### not yet supported "Recursive", #### not yet supported "tabwidth", "Diffs", #### not yet supported "Logfile"]) except ge...
42ecb661e06383ac8af5bf242e802c26a1bbfe5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/675/42ecb661e06383ac8af5bf242e802c26a1bbfe5f/cvs2log.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 2589, 16, 336, 3838, 16, 813, 16, 533, 16, 2987, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315, 72, 30, 77, 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, 2774, 13332, 1930, 2589, 16, 336, 3838, 16, 813, 16, 533, 16, 2987, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315, 72, 30, 77, 3...
elif values[0] == "VISIBLE_STRING":
elif values[0] in ["VISIBLE_STRING", "OCTET_STRING"]:
def GetNodeEntryValues(self, node, index): if node and node.IsEntry(index): entry_infos = node.GetEntryInfos(index) data = [] editors = [] values = node.GetEntry(index, compute = False) params = node.GetParamsEntry(index) if type(values) == ListType: for i, value in enumerate(values): data.append({"value" : value}) dat...
4d0c517aed03da7c73a9e6cf8e5a880ef5ac25d6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11017/4d0c517aed03da7c73a9e6cf8e5a880ef5ac25d6/nodemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 907, 1622, 1972, 12, 2890, 16, 756, 16, 770, 4672, 309, 756, 471, 756, 18, 2520, 1622, 12, 1615, 4672, 1241, 67, 18227, 273, 756, 18, 967, 1622, 7655, 12, 1615, 13, 501, 273, 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, 968, 907, 1622, 1972, 12, 2890, 16, 756, 16, 770, 4672, 309, 756, 471, 756, 18, 2520, 1622, 12, 1615, 4672, 1241, 67, 18227, 273, 756, 18, 967, 1622, 7655, 12, 1615, 13, 501, 273, 53...
`L` is the Galois closure of `K`:
`L` is the Galois closure of `K`::
def automorphisms(self): r""" Compute all Galois automorphisms of self.
7de0672ca0412f239ca94a754c0c353989159a01 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/7de0672ca0412f239ca94a754c0c353989159a01/number_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18472, 7657, 23749, 12, 2890, 4672, 436, 8395, 8155, 777, 611, 287, 19606, 18472, 7657, 23749, 434, 365, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 18472, 7657, 23749, 12, 2890, 4672, 436, 8395, 8155, 777, 611, 287, 19606, 18472, 7657, 23749, 434, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
"""Calls the named method of the given object with the provided arguments.
"""Calls the named method of the given object with the provided arguments.
def call_method(self, object, method_name, *args): """Calls the named method of the given object with the provided arguments. The possible return value from the method is returned and can be assigned to a variable. Keyword fails both if the object does not have a method with the given name or if executing the method r...
dfa75ac2320d3c97bf00a5f0b376db63803b6c8e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6988/dfa75ac2320d3c97bf00a5f0b376db63803b6c8e/BuiltIn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 67, 2039, 12, 2890, 16, 733, 16, 707, 67, 529, 16, 380, 1968, 4672, 3536, 10125, 326, 4141, 707, 434, 326, 864, 733, 598, 326, 2112, 1775, 18, 225, 1021, 3323, 327, 460, 628, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 67, 2039, 12, 2890, 16, 733, 16, 707, 67, 529, 16, 380, 1968, 4672, 3536, 10125, 326, 4141, 707, 434, 326, 864, 733, 598, 326, 2112, 1775, 18, 225, 1021, 3323, 327, 460, 628, 32...
styledoc = libxml2.parseFile(os.path.join(tools.config['root_path'],self.xsl))
styledoc = libxml2.parseDoc(tools.file_open( os.path.join(tools.config['root_path'], self.xsl)).read())
def create_rml(self, cr, xml, uid, context=None): if not context: context={} service = netsvc.LocalService("object_proxy")
c79aeecda70e2f13b1993d0e833be795a016e962 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12853/c79aeecda70e2f13b1993d0e833be795a016e962/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 86, 781, 12, 2890, 16, 4422, 16, 2025, 16, 4555, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 1156, 273, 21954, 4227, 18, 25635, 2932, 1612, 67, 5656, 7923, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 86, 781, 12, 2890, 16, 4422, 16, 2025, 16, 4555, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 1156, 273, 21954, 4227, 18, 25635, 2932, 1612, 67, 5656, 7923, 2, -1...
return (elt.text or '') + ''.join(etree.tostring(child) for child in elt)
try: return (elt.text or '') + ''.join( etree.tostring(child) for child in elt) except UnicodeError: return u''
def lxml_inner_html(elt): return (elt.text or '') + ''.join(etree.tostring(child) for child in elt)
1e48ccfc8a4ea6e42bda144b1299ba39b1d282cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12246/1e48ccfc8a4ea6e42bda144b1299ba39b1d282cd/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 2902, 67, 7872, 67, 2620, 12, 20224, 4672, 775, 30, 327, 261, 20224, 18, 955, 578, 28707, 397, 875, 18, 5701, 12, 12031, 18, 14627, 371, 12, 3624, 13, 364, 1151, 316, 11572, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 2902, 67, 7872, 67, 2620, 12, 20224, 4672, 775, 30, 327, 261, 20224, 18, 955, 578, 28707, 397, 875, 18, 5701, 12, 12031, 18, 14627, 371, 12, 3624, 13, 364, 1151, 316, 11572, 13, ...
msg = httplib.response[http_status]
msg = httplib.responses[http_status]
def send_request(self, method, req_params=None, auth_params=None): '''Make an HTTP request to a server method.
35a1ba79b98e50c8450ac8825e30b312c8903ea9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9952/35a1ba79b98e50c8450ac8825e30b312c8903ea9/proxyclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 2293, 12, 2890, 16, 707, 16, 1111, 67, 2010, 33, 7036, 16, 1357, 67, 2010, 33, 7036, 4672, 9163, 6464, 392, 2239, 590, 358, 279, 1438, 707, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 2293, 12, 2890, 16, 707, 16, 1111, 67, 2010, 33, 7036, 16, 1357, 67, 2010, 33, 7036, 4672, 9163, 6464, 392, 2239, 590, 358, 279, 1438, 707, 18, 2, -100, -100, -100, -100, -...