rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self.expandTimer.stop()
self._expandTimer.stop()
def stopSearch(self): """Stops the current search (i.e., the QTimer)."""
65254bc446b7c353066fe806e0424030a38d558d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/65254bc446b7c353066fe806e0424030a38d558d/tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 2979, 12, 2890, 4672, 3536, 20044, 326, 783, 1623, 261, 77, 18, 73, 12990, 326, 2238, 6777, 13, 12123, 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, 2132, 2979, 12, 2890, 4672, 3536, 20044, 326, 783, 1623, 261, 77, 18, 73, 12990, 326, 2238, 6777, 13, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
this = apply(_quickfix.new_LegTimeUnit, args)
this = _quickfix.new_LegTimeUnit(*args)
def __init__(self, *args): this = apply(_quickfix.new_LegTimeUnit, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 950, 2802, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 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, 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, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 950, 2802, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...
options.runchandler[mode] = [os.path.join(options.chandlerHome, mode, chandlerBinaries[mode])]
options.runchandler[mode] = [os.path.join(options.chandlerHome, chandlerBinaries[mode])]
def checkOptions(options): """ Sanity check options. Some options may be changed, and some combinations will be warned about while some combinations will result in program exit. >>> options = parseOptions() >>> checkOptions(options) >>> d = eval(str(options)) >>> keys = d.keys() >>> keys.sort() >>> for key in keys: .....
3cfe0edbb4472540b7981f01e630988fd54b6221 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/3cfe0edbb4472540b7981f01e630988fd54b6221/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1320, 12, 2116, 4672, 3536, 23123, 866, 702, 18, 10548, 702, 2026, 506, 3550, 16, 471, 2690, 17265, 903, 506, 1894, 329, 2973, 1323, 2690, 17265, 903, 563, 316, 5402, 2427, 18, 225,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1320, 12, 2116, 4672, 3536, 23123, 866, 702, 18, 10548, 702, 2026, 506, 3550, 16, 471, 2690, 17265, 903, 506, 1894, 329, 2973, 1323, 2690, 17265, 903, 563, 316, 5402, 2427, 18, 225,...
self.data_id = 'dbw.%s.' % dataset.data_id
self.unqual_data_id = 'dbw.%s.' % dataset.data_id self.data_id = self.request.formatter.qualify_id(self.unqual_data_id)
def setData(self, dataset): """ Sets the data for the browser (see MoinMoin.util.dataset).
f669b401f04fa817118d01a02c97d031835ba0d5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/888/f669b401f04fa817118d01a02c97d031835ba0d5/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7929, 12, 2890, 16, 3709, 4672, 3536, 11511, 326, 501, 364, 326, 4748, 261, 5946, 490, 885, 49, 885, 18, 1367, 18, 8682, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7929, 12, 2890, 16, 3709, 4672, 3536, 11511, 326, 501, 364, 326, 4748, 261, 5946, 490, 885, 49, 885, 18, 1367, 18, 8682, 2934, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.cr.addInterest(self.getDoId(), zoneId, note, event)
return self.cr.addInterest(self.getDoId(), zoneId, note, event) def removeInterest(self, handle, event=None): return self.cr.removeInterest(handle, event)
def addInterest(self, zoneId, note="", event=None): self.cr.addInterest(self.getDoId(), zoneId, note, event)
288373299d42d8045aaa9e7eb49f0ac5568055a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/288373299d42d8045aaa9e7eb49f0ac5568055a3/DistributedObject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 29281, 12, 2890, 16, 29939, 16, 4721, 1546, 3113, 871, 33, 7036, 4672, 365, 18, 3353, 18, 1289, 29281, 12, 2890, 18, 588, 3244, 548, 9334, 29939, 16, 4721, 16, 871, 13, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 29281, 12, 2890, 16, 29939, 16, 4721, 1546, 3113, 871, 33, 7036, 4672, 365, 18, 3353, 18, 1289, 29281, 12, 2890, 18, 588, 3244, 548, 9334, 29939, 16, 4721, 16, 871, 13, 2, -100, ...
'''Return the number of obervations (same for each variable).'''
'''Return the number of obervations (same for each attribute).'''
def numObs(self): '''Return the number of obervations (same for each variable).''' if self._numObs == None: return 1 else: return self._numObs
45268ff49ddb4f963530947d7202a5e0642e2fda /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/45268ff49ddb4f963530947d7202a5e0642e2fda/storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 818, 27637, 12, 2890, 4672, 9163, 990, 326, 1300, 434, 320, 744, 16882, 261, 14307, 364, 1517, 1566, 14851, 6309, 309, 365, 6315, 2107, 27637, 422, 599, 30, 327, 404, 469, 30, 327, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 818, 27637, 12, 2890, 4672, 9163, 990, 326, 1300, 434, 320, 744, 16882, 261, 14307, 364, 1517, 1566, 14851, 6309, 309, 365, 6315, 2107, 27637, 422, 599, 30, 327, 404, 469, 30, 327, 365, ...
class DbEvaluation(db.Model): who = db.ReferenceProperty(DbUser)
class AppEngineDbEvaluation(db.Model): who = db.ReferenceProperty(AppEngineDbUser)
def __init__(self): bulkloader.Exporter.__init__(self, 'DbIssue', [ ('__key__', lambda x: x.to_path()[1], None), ('bugPattern', str, None), ('priority', str, None), ('primaryClass', str, None), ('firstSeen', str, None), ('lastSeen', str, 0), ('bugLink', str, '') ])
f52986380d28d283aa7e99a55fe860d0af45b9b6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10256/f52986380d28d283aa7e99a55fe860d0af45b9b6/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 8280, 6714, 18, 22305, 16186, 2738, 972, 12, 2890, 16, 296, 4331, 12956, 2187, 306, 7707, 972, 856, 972, 2187, 3195, 619, 30, 619, 18, 869, 67, 803, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 8280, 6714, 18, 22305, 16186, 2738, 972, 12, 2890, 16, 296, 4331, 12956, 2187, 306, 7707, 972, 856, 972, 2187, 3195, 619, 30, 619, 18, 869, 67, 803, 14...
'AND ( planned_date >= %s)) '\
'AND ( planned_date >= %s OR planned_date IS NULL)) '\
def products_by_location(self, cursor, user, location_ids, product_ids=None, with_childs=False, skip_zero=True, context=None): """ Compute for each location and product the stock quantity in the default uom of the product.
7ab3b82e6f58a12964fd87ef8b59f86539498063 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9298/7ab3b82e6f58a12964fd87ef8b59f86539498063/product.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10406, 67, 1637, 67, 3562, 12, 2890, 16, 3347, 16, 729, 16, 2117, 67, 2232, 16, 3017, 67, 2232, 33, 7036, 16, 598, 67, 3624, 87, 33, 8381, 16, 2488, 67, 7124, 33, 5510, 16, 819, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10406, 67, 1637, 67, 3562, 12, 2890, 16, 3347, 16, 729, 16, 2117, 67, 2232, 16, 3017, 67, 2232, 33, 7036, 16, 598, 67, 3624, 87, 33, 8381, 16, 2488, 67, 7124, 33, 5510, 16, 819, 33...
result = t
result = t
def _findCombinations(a): result = [[]] for x in a: t = [] for y in x: for i in result: t.append(i+[y]) result = t return result
e3364bd2416dfe75fd85aeea0ded427372ef3d08 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5718/e3364bd2416dfe75fd85aeea0ded427372ef3d08/generator2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 24107, 1012, 12, 69, 4672, 563, 273, 306, 8526, 65, 225, 364, 619, 316, 279, 30, 268, 273, 5378, 364, 677, 316, 619, 30, 364, 277, 316, 563, 30, 268, 18, 6923, 12, 77, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 4720, 24107, 1012, 12, 69, 4672, 563, 273, 306, 8526, 65, 225, 364, 619, 316, 279, 30, 268, 273, 5378, 364, 677, 316, 619, 30, 364, 277, 316, 563, 30, 268, 18, 6923, 12, 77, 1...
self.sendCode(250, '%s Hello %s, nice to meet you' % (self.host, peer))
self.sendCode(250, '%s Hello %s, nice to meet you' % (self.host, host))
def do_HELO(self, rest): peer = self.transport.getPeer() try: host = peer.host except AttributeError: host = str(peer) self._helo = (rest, host) self._from = None self._to = [] self.sendCode(250, '%s Hello %s, nice to meet you' % (self.host, peer))
1fabffd4cb782b18e01fc9fc530aec3e72dafbf4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/1fabffd4cb782b18e01fc9fc530aec3e72dafbf4/smtp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3900, 1502, 12, 2890, 16, 3127, 4672, 4261, 273, 365, 18, 13049, 18, 588, 6813, 1435, 775, 30, 1479, 273, 4261, 18, 2564, 1335, 6394, 30, 1479, 273, 609, 12, 12210, 13, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3900, 1502, 12, 2890, 16, 3127, 4672, 4261, 273, 365, 18, 13049, 18, 588, 6813, 1435, 775, 30, 1479, 273, 4261, 18, 2564, 1335, 6394, 30, 1479, 273, 609, 12, 12210, 13, 365, ...
def create_pool(self, max_size = 1, max_idle = 10, max_age = 10, connect_timeout= 0.5, module=None):
def create_pool(self, max_size=1, max_idle=10, max_age=10, connect_timeout=0.5, module=None):
def create_pool(self, max_size = 1, max_idle = 10, max_age = 10, connect_timeout= 0.5, module=None): if module is None: module = self._dbmodule return db_pool.RawConnectionPool(module, min_size=0, max_size=max_size, max_idle=max_idle, max_age=max_age, connect_timeout=connect_timeout, **self._auth)
219a396ff68b5a6189a9ddc5ecd846a4dd5db09d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10078/219a396ff68b5a6189a9ddc5ecd846a4dd5db09d/db_pool_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6011, 12, 2890, 16, 943, 67, 1467, 33, 21, 16, 943, 67, 20390, 33, 2163, 16, 943, 67, 410, 33, 2163, 16, 3077, 67, 4538, 33, 20, 18, 25, 16, 1605, 33, 7036, 4672, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6011, 12, 2890, 16, 943, 67, 1467, 33, 21, 16, 943, 67, 20390, 33, 2163, 16, 943, 67, 410, 33, 2163, 16, 3077, 67, 4538, 33, 20, 18, 25, 16, 1605, 33, 7036, 4672, 309, 1...
hmm, chmm,
hmm, chmm,
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
12aff705aa1e2b2dc6e401b763fe2e9e51bdf02d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/12aff705aa1e2b2dc6e401b763fe2e9e51bdf02d/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
if (sup_on_time, product_supplier.sequence) < (on_time, seq):
if not on_time and sup_on_time:
def compute_request(self, cursor, user, product, location_id, shortage_date, product_quantity, company, order_point=None, context=None): """ Return the value of the purchase request which will answer to the needed quantity at the given date. I.e: the latest purchase date, the expected supply date and the prefered suppl...
5a0bdd237e903b8e3ce5975b80b199b906a85fc3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12480/5a0bdd237e903b8e3ce5975b80b199b906a85fc3/purchase_request.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 67, 2293, 12, 2890, 16, 3347, 16, 729, 16, 3017, 16, 2117, 67, 350, 16, 3025, 410, 67, 712, 16, 3017, 67, 16172, 16, 9395, 16, 1353, 67, 1153, 33, 7036, 16, 819, 33, 7036, 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, 3671, 67, 2293, 12, 2890, 16, 3347, 16, 729, 16, 3017, 16, 2117, 67, 350, 16, 3025, 410, 67, 712, 16, 3017, 67, 16172, 16, 9395, 16, 1353, 67, 1153, 33, 7036, 16, 819, 33, 7036, 46...
def doctree(self, tree, modname, parent=None, prefix=''):
def formattree(self, tree, modname, parent=None, prefix=''):
def doctree(self, tree, modname, parent=None, prefix=''): """Render in text a class tree as returned by inspect.getclasstree().""" result = '' for entry in tree: if type(entry) is type(()): cl, bases = entry result = result + prefix + classname(cl, modname) if bases and bases != (parent,): parents = map(lambda cl, m=mo...
54a838fe1421d6e6829cabc42e7f398722140804 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/54a838fe1421d6e6829cabc42e7f398722140804/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 3413, 12, 2890, 16, 2151, 16, 16037, 16, 982, 33, 7036, 16, 1633, 2218, 11, 4672, 3536, 3420, 316, 977, 279, 667, 2151, 487, 2106, 635, 5334, 18, 588, 830, 345, 334, 992, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 3413, 12, 2890, 16, 2151, 16, 16037, 16, 982, 33, 7036, 16, 1633, 2218, 11, 4672, 3536, 3420, 316, 977, 279, 667, 2151, 487, 2106, 635, 5334, 18, 588, 830, 345, 334, 992, 1435, ...
of `pi`.
of `\pi`.
sage: def maple_leaf(t):
4bf203f4b6fbaee8c9a3c4a15f10b47ff3fc396f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/4bf203f4b6fbaee8c9a3c4a15f10b47ff3fc396f/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 852, 298, 67, 12070, 12, 88, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 852, 298, 67, 12070, 12, 88, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if entry.doc and entry.doc[1]: print '
if entry.doc and entry.doc[1]: print '
print '#\tdef ' + methName + '(self' + build.BuildCallList(fdesc, entry.names, "defaultNamedOptArg", "defaultNamedNotOptArg","defaultUnnamedArg") + '):'
fc7c4a40b1a15437f860084a735f7062a566af8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/fc7c4a40b1a15437f860084a735f7062a566af8a/genpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1172, 2946, 64, 88, 536, 296, 397, 7917, 461, 397, 7747, 2890, 11, 397, 1361, 18, 3116, 1477, 682, 12, 74, 5569, 16, 1241, 18, 1973, 16, 315, 1886, 7604, 6179, 4117, 3113, 315, 1886, 7604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 2946, 64, 88, 536, 296, 397, 7917, 461, 397, 7747, 2890, 11, 397, 1361, 18, 3116, 1477, 682, 12, 74, 5569, 16, 1241, 18, 1973, 16, 315, 1886, 7604, 6179, 4117, 3113, 315, 1886, 7604, ...
remote = os.path.join(folder,remote)
def retrieve(target=None,source=None,env=None): "Fetch data from the web" top = env.get('top') folder = top + os.sep +env['dir'] private = env.get('private') if private: login = private['login'] password = private['password'] server = private['server'] try: session = ftplib.FTP(server,login,password) session.cwd(folder...
e69aee9a3898cefd51b267eacc4260b92c63dd8c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3143/e69aee9a3898cefd51b267eacc4260b92c63dd8c/rsfproj.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4614, 12, 3299, 33, 7036, 16, 3168, 33, 7036, 16, 3074, 33, 7036, 4672, 315, 5005, 501, 628, 326, 3311, 6, 1760, 273, 1550, 18, 588, 2668, 3669, 6134, 3009, 273, 1760, 397, 1140, 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, 4614, 12, 3299, 33, 7036, 16, 3168, 33, 7036, 16, 3074, 33, 7036, 4672, 315, 5005, 501, 628, 326, 3311, 6, 1760, 273, 1550, 18, 588, 2668, 3669, 6134, 3009, 273, 1760, 397, 1140, 18, ...
key = item.copy (parent = self.findPath('//userdata'), cloudAlias="default")
key = ItemCollection.ItemCollection (view=self.itsView) key._rule = item._rule key._inclusions = item._inclusions key._exclusions = item._exclusions key.displayName = item.displayName + u" filtered by " + filterKind.displayName
def _mapItemToCacheKeyItem(self, item): key = item if isinstance (item, ItemCollection.ItemCollection): filterKind = Block.Block.findBlockByName ("Sidebar").filterKind if not filterKind is None: tupleKey = (item.itsUUID, filterKind.itsUUID) try: key = self.itemTupleKeyToCacheKey [tupleKey] except KeyError: """ We need ...
c9e9bb0d49b602b2807c791bcc3b4991121c422e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/c9e9bb0d49b602b2807c791bcc3b4991121c422e/SideBar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1458, 1180, 774, 15554, 1180, 12, 2890, 16, 761, 4672, 498, 273, 761, 309, 1549, 261, 1726, 16, 4342, 2532, 18, 1180, 2532, 4672, 1034, 5677, 273, 3914, 18, 1768, 18, 4720, 1768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1458, 1180, 774, 15554, 1180, 12, 2890, 16, 761, 4672, 498, 273, 761, 309, 1549, 261, 1726, 16, 4342, 2532, 18, 1180, 2532, 4672, 1034, 5677, 273, 3914, 18, 1768, 18, 4720, 1768, ...
- arbitrary power series in q
- arbitrary power series in `q`
def __call__(self, input): r""" Create an element of this space. Allowable inputs are: - elements of compatible spaces of modular forms or overconvergent modular forms - arbitrary power series in q - lists of elements of the base ring (interpreted as vectors in the basis given by self.gens()).
b526c3d210b712e2659f9ba0fab589c5ff5e9564 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/b526c3d210b712e2659f9ba0fab589c5ff5e9564/genus0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 810, 4672, 436, 8395, 1788, 392, 930, 434, 333, 3476, 18, 7852, 429, 4540, 854, 30, 225, 300, 2186, 434, 7318, 7292, 434, 681, 2490, 10138, 578, 1879, 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, 1001, 1991, 972, 12, 2890, 16, 810, 4672, 436, 8395, 1788, 392, 930, 434, 333, 3476, 18, 7852, 429, 4540, 854, 30, 225, 300, 2186, 434, 7318, 7292, 434, 681, 2490, 10138, 578, 1879, 59...
return "<%s tests=%s>" % (self.__class__, self._tests)
return "<%s tests=%s>" % (_strclass(self.__class__), self._tests)
def __repr__(self): return "<%s tests=%s>" % (self.__class__, self._tests)
354caa7b7fd7762f667ff41d2bbe285b693c40dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/354caa7b7fd7762f667ff41d2bbe285b693c40dc/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 3532, 9, 87, 7434, 5095, 87, 2984, 738, 261, 2890, 16186, 1106, 972, 16, 365, 6315, 16341, 13, 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, 1001, 12715, 972, 12, 2890, 4672, 327, 3532, 9, 87, 7434, 5095, 87, 2984, 738, 261, 2890, 16186, 1106, 972, 16, 365, 6315, 16341, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
for arg in wikipedia.handleArgs():
for arg in pywikibot.handleArgs():
def main(): username = password = None sysop = False logall = False forceLogin = False verbose = False clean = False testonly = False for arg in wikipedia.handleArgs(): if arg.startswith("-pass"): if len(arg) == 5: password = wikipedia.input(u'Password for all accounts:', password = True) else: password = arg[6:] elif...
608981a1811e769d811dd6211e35a67e7339add5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/608981a1811e769d811dd6211e35a67e7339add5/login.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2718, 273, 2201, 273, 599, 2589, 556, 273, 1083, 613, 454, 273, 1083, 2944, 5358, 273, 1083, 3988, 273, 1083, 2721, 273, 1083, 1842, 3700, 273, 1083, 225, 364, 1501, 316, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2718, 273, 2201, 273, 599, 2589, 556, 273, 1083, 613, 454, 273, 1083, 2944, 5358, 273, 1083, 3988, 273, 1083, 2721, 273, 1083, 1842, 3700, 273, 1083, 225, 364, 1501, 316, 23...
variables = namespace.variables postional, named = self._arguments.set_to(variables, arguments) self._tracelog_args(output, postional, named)
try: return self._run(output, namespace, arguments) finally: namespace.end_user_keyword() def _run(self, output, namespace, arguments): positional, named = self._arguments.set_to(namespace.variables, arguments) self._tracelog_args(output, positional, named)
def run(self, output, namespace, arguments): namespace.start_user_keyword(self) variables = namespace.variables postional, named = self._arguments.set_to(variables, arguments) self._tracelog_args(output, postional, named) self._verify_keyword_is_valid() self.timeout.start() self._run_kws(output, namespace) ret = self._...
db8e63d691c1499bfe25704c20d36783cfe0c631 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6988/db8e63d691c1499bfe25704c20d36783cfe0c631/userkeyword.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 876, 16, 1981, 16, 1775, 4672, 1981, 18, 1937, 67, 1355, 67, 11041, 12, 2890, 13, 775, 30, 327, 365, 6315, 2681, 12, 2844, 16, 1981, 16, 1775, 13, 3095, 30, 1981,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 876, 16, 1981, 16, 1775, 4672, 1981, 18, 1937, 67, 1355, 67, 11041, 12, 2890, 13, 775, 30, 327, 365, 6315, 2681, 12, 2844, 16, 1981, 16, 1775, 13, 3095, 30, 1981,...
all_outputs = []
all_inputs = set() all_outputs = set()
def _GenerateExternalRules(p, rules, output_dir, spec, config_name, c_data, sources, options, actions_to_add): """Generate an external makefile to do a set of rules. Arguments: p: the target project rules: the list of rules to include output_dir: path containing project and gyp files spec: project specification data c...
376ee900655bc7ad9db17d44ace38a060ad4d58b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6220/376ee900655bc7ad9db17d44ace38a060ad4d58b/msvs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4625, 6841, 4478, 12, 84, 16, 2931, 16, 876, 67, 1214, 16, 857, 16, 642, 67, 529, 16, 276, 67, 892, 16, 5550, 16, 702, 16, 4209, 67, 869, 67, 1289, 4672, 3536, 4625, 392, 3903...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4625, 6841, 4478, 12, 84, 16, 2931, 16, 876, 67, 1214, 16, 857, 16, 642, 67, 529, 16, 276, 67, 892, 16, 5550, 16, 702, 16, 4209, 67, 869, 67, 1289, 4672, 3536, 4625, 392, 3903...
progress = ProgressBar( widgets=['Entries: ', Percentage(), Bar()], maxval=len(root.findall('//valsi'))) for element in progress(root.getiterator('valsi')): process_entries(element)
with dbopen('affixes', 'n', writeback=True) as affixes: progress = ProgressBar( widgets=['Entries: ', Percentage(), Bar()], maxval=len(root.findall('//valsi'))) for element in progress(root.getiterator('valsi')): process_entries(element)
def process_entries(element): entry = Entry(u(element.get('word')), u(element.get('type'))) for subelement in element: case = lambda tag: subelement.tag == tag
9e0587fba07937933c2d46e1e83aab97377f2c09 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14853/9e0587fba07937933c2d46e1e83aab97377f2c09/jbo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 8219, 12, 2956, 4672, 1241, 273, 3841, 12, 89, 12, 2956, 18, 588, 2668, 1095, 6134, 3631, 582, 12, 2956, 18, 588, 2668, 723, 11, 20349, 364, 720, 2956, 316, 930, 30, 648, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 8219, 12, 2956, 4672, 1241, 273, 3841, 12, 89, 12, 2956, 18, 588, 2668, 1095, 6134, 3631, 582, 12, 2956, 18, 588, 2668, 723, 11, 20349, 364, 720, 2956, 316, 930, 30, 648, 2...
def generatedAccessor(self, **kw): """Default Accessor.""" if kw.has_key('schema'): schema = kw['schema'] else: schema = self.Schema() kw['schema'] = schema return schema[name].get(self, **kw) method = generatedAccessor
method = lambda self, field=field.getName(), **kw: \ self.Schema()[field].get(self, **kw)
def generatedAccessor(self, **kw): """Default Accessor.""" if kw.has_key('schema'): schema = kw['schema'] else: schema = self.Schema() kw['schema'] = schema return schema[name].get(self, **kw)
32203e1b1de0c1244dd931df27856fa3c337e722 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/32203e1b1de0c1244dd931df27856fa3c337e722/ClassGen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4374, 8235, 12, 2890, 16, 2826, 9987, 4672, 3536, 1868, 5016, 280, 12123, 309, 5323, 18, 5332, 67, 856, 2668, 4821, 11, 4672, 1963, 273, 5323, 3292, 4821, 3546, 469, 30, 1963, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4374, 8235, 12, 2890, 16, 2826, 9987, 4672, 3536, 1868, 5016, 280, 12123, 309, 5323, 18, 5332, 67, 856, 2668, 4821, 11, 4672, 1963, 273, 5323, 3292, 4821, 3546, 469, 30, 1963, 273, 365, ...
len(groups) - 1
len(thousands_sep) * (len(groups) - 1)
def _group(s, monetary=False): conv = localeconv() thousands_sep = conv[monetary and 'mon_thousands_sep' or 'thousands_sep'] grouping = conv[monetary and 'mon_grouping' or 'grouping'] if not grouping: return (s, 0) result = "" seps = 0 if s[-1] == ' ': stripped = s.rstrip() right_spaces = s[len(stripped):] s = stripped...
7523719055a5213ccd472c3f9d900bf670f23c6f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/7523719055a5213ccd472c3f9d900bf670f23c6f/locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1655, 12, 87, 16, 31198, 33, 8381, 4672, 6292, 273, 1191, 17181, 90, 1435, 286, 24810, 67, 10814, 273, 6292, 63, 2586, 14911, 471, 296, 2586, 67, 451, 24810, 67, 10814, 11, 578, 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, 1655, 12, 87, 16, 31198, 33, 8381, 4672, 6292, 273, 1191, 17181, 90, 1435, 286, 24810, 67, 10814, 273, 6292, 63, 2586, 14911, 471, 296, 2586, 67, 451, 24810, 67, 10814, 11, 578, 2...
def select_subtitle_file(self, path): pass class AudioRenderer(Renderer): pass
def select_subtitle_file(self, iteminfo, sub_path): total_time = self.get_duration() def handle_ok(): app.playback_manager.emit('will-play', total_time) self.play() app.playback_manager.emit('did-start-playing') def handle_err(): app.playback_manager.stop() app.playback_manager.emit('will-pause') self.select_file(itemi...
def select_subtitle_file(self, path): pass
408cbef61fa2e462355ba48311f7bbb6475c06f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/408cbef61fa2e462355ba48311f7bbb6475c06f6/gstreamerrenderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 67, 1717, 2649, 67, 768, 12, 2890, 16, 589, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 2027, 67, 1717, 2649, 67, 768, 12, 2890, 16, 589, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
try: mode = os.stat(in_file).st_mode except AttributeError: pass in_file = open(in_file, 'rb') if out_file == '-': out_file = sys.stdout.buffer elif isinstance(out_file, str): out_file = open(out_file, 'wb') if name is None: name = '-' if mode is None: mode = 0o666 out_file.write(('begin %o %s\n' % ((mode & 0o...
mode = 0o666 out_file.write(('begin %o %s\n' % ((mode & 0o777), name)).encode("ascii"))
def encode(in_file, out_file, name=None, mode=None): """Uuencode file""" # # If in_file is a pathname open it and change defaults # if in_file == '-': in_file = sys.stdin.buffer elif isinstance(in_file, str): if name is None: name = os.path.basename(in_file) if mode is None: try: mode = os.stat(in_file).st_mode except ...
bfa3470b85960c35b916ddb14189a5867a344103 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/bfa3470b85960c35b916ddb14189a5867a344103/uu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 12, 267, 67, 768, 16, 596, 67, 768, 16, 508, 33, 7036, 16, 1965, 33, 7036, 4672, 3536, 57, 89, 3015, 585, 8395, 468, 468, 971, 316, 67, 768, 353, 279, 9806, 1696, 518, 471, 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, 2017, 12, 267, 67, 768, 16, 596, 67, 768, 16, 508, 33, 7036, 16, 1965, 33, 7036, 4672, 3536, 57, 89, 3015, 585, 8395, 468, 468, 971, 316, 67, 768, 353, 279, 9806, 1696, 518, 471, 2...
data.append((filename, int(mo.group(2)), float(mo.group(3)), 1))
data.append((filename, offset, len, line[0]))
def read_data(filename): open_pattern = re.compile(r'open\("([^"]*)", .*\) = ([0-9]+) <([0-9.]+)>$') llseek_pattern = re.compile(r'_llseek\(([0-9]+), ([0-9]+), .*\) = 0 <([0-9.]+)>$') read_pattern = re.compile(r'read\(([0-9]+), .*, ([0-9]+)\) = .* <([0-9.]+)>$') pread64_pattern = re.compile(r'pread64\(([0-9]+), .*, 819...
a362ceadc5a40e2ed0c330beecacaead3075b487 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/569/a362ceadc5a40e2ed0c330beecacaead3075b487/draw_positions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 892, 12, 3459, 4672, 1696, 67, 4951, 273, 283, 18, 11100, 12, 86, 11, 3190, 64, 2932, 8178, 6, 5772, 2225, 16, 263, 12174, 13, 273, 23265, 20, 17, 29, 7941, 411, 3816, 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, 855, 67, 892, 12, 3459, 4672, 1696, 67, 4951, 273, 283, 18, 11100, 12, 86, 11, 3190, 64, 2932, 8178, 6, 5772, 2225, 16, 263, 12174, 13, 273, 23265, 20, 17, 29, 7941, 411, 3816, 20, ...
filenameOnCommons = match.group('filename') or localImagePage.titleWithoutNamespace()
def run(self): commons = wikipedia.Site('commons', 'commons') comment = wikipedia.translate(self.site, nowCommonsMessage) for page in self.getPageGenerator(): # Show the title of the image page. # Highlight the title in purple. colors = [None] * 5 + [13] * len(page.title()) + [None] * 4 wikipedia.output(u'\n\n>> %s <<\...
2394a0ac4617f33654dc4fe7081565760d8eac26 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/2394a0ac4617f33654dc4fe7081565760d8eac26/nowcommons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 24021, 273, 21137, 18, 4956, 2668, 6054, 87, 2187, 296, 6054, 87, 6134, 2879, 273, 21137, 18, 13929, 12, 2890, 18, 4256, 16, 2037, 6517, 87, 1079, 13, 364, 1363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 24021, 273, 21137, 18, 4956, 2668, 6054, 87, 2187, 296, 6054, 87, 6134, 2879, 273, 21137, 18, 13929, 12, 2890, 18, 4256, 16, 2037, 6517, 87, 1079, 13, 364, 1363, ...
print 'Compiling client %s' % project_client
logging.info('Compiling client %s', project_client)
def compile_and_install_client(project_client, extra_args='', install_client=True): """Compile the client into a temporary directory, if successful call install_completed_client to install the new client. @param project_client: project.client pair e.g. autotest.AfeClient @param install_client: Boolean, if True install ...
960b4266dd655a3bcc82646dfdaa0f6c22d16859 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12268/960b4266dd655a3bcc82646dfdaa0f6c22d16859/compile_gwt_clients.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 67, 464, 67, 5425, 67, 2625, 12, 4406, 67, 2625, 16, 2870, 67, 1968, 2218, 2187, 3799, 67, 2625, 33, 5510, 4672, 3536, 9937, 326, 1004, 1368, 279, 6269, 1867, 16, 309, 6873, 745,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 67, 464, 67, 5425, 67, 2625, 12, 4406, 67, 2625, 16, 2870, 67, 1968, 2218, 2187, 3799, 67, 2625, 33, 5510, 4672, 3536, 9937, 326, 1004, 1368, 279, 6269, 1867, 16, 309, 6873, 745,...
cache_stats['CACHE_HAZARD_EVICT'] = Stat([], 'pages not evicted because of a hazard reference')
def __init__(self, config, str): self.config = config self.str = str
937daaee20daf0bdf6904461122c695980a4d4ef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11841/937daaee20daf0bdf6904461122c695980a4d4ef/stat_class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 16, 609, 4672, 365, 18, 1425, 273, 642, 365, 18, 701, 273, 609, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 16, 609, 4672, 365, 18, 1425, 273, 642, 365, 18, 701, 273, 609, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
active_cat = Category.objects.active().get(id=id)
try: active_cat = Category.objects.active().get(id=id) except Category.DoesNotExist: pass
def category_tree(id=None): """ Creates an unnumbered list of the categories. Example:: <ul> <li>Books <ul> <li>Science Fiction <ul> <li>Space stories</li> <li>Robot stories</li> </ul> </li> <li>Non-fiction</li> </ul> </ul> """ active_cat = None if id: active_cat = Category.objects.active().get(id=id) root = Element(...
8c4b5104587e74b72054614dd22db36f19337718 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13656/8c4b5104587e74b72054614dd22db36f19337718/satchmo_category.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3150, 67, 3413, 12, 350, 33, 7036, 4672, 3536, 10210, 392, 640, 2696, 329, 666, 434, 326, 6477, 18, 225, 5090, 2866, 225, 411, 332, 34, 411, 549, 34, 9084, 87, 411, 332, 34, 411, 549...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3150, 67, 3413, 12, 350, 33, 7036, 4672, 3536, 10210, 392, 640, 2696, 329, 666, 434, 326, 6477, 18, 225, 5090, 2866, 225, 411, 332, 34, 411, 549, 34, 9084, 87, 411, 332, 34, 411, 549...
'return_checking_func' : allow_return_string},
'return_checking_func' : allow_return_string},
def allow_args_emulated_file_writelines(fileobj, lines): _require_emulated_file(fileobj) _require_list_of_strings(lines)
21f3c0e95b7b1702eeb6283f53d4f9d7960179d0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7263/21f3c0e95b7b1702eeb6283f53d4f9d7960179d0/namespace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1699, 67, 1968, 67, 351, 11799, 67, 768, 67, 5363, 14567, 12, 768, 2603, 16, 2362, 4672, 389, 6528, 67, 351, 11799, 67, 768, 12, 768, 2603, 13, 389, 6528, 67, 1098, 67, 792, 67, 1021...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1699, 67, 1968, 67, 351, 11799, 67, 768, 67, 5363, 14567, 12, 768, 2603, 16, 2362, 4672, 389, 6528, 67, 351, 11799, 67, 768, 12, 768, 2603, 13, 389, 6528, 67, 1098, 67, 792, 67, 1021...
os.renames(old_dir, new_dir)
atexit.register(os.renames, old_dir, new_dir)
def moveCollectedTorrents(self, old_dir, new_dir): #physical move old_dir = os.path.join(old_dir, 'collected_torrent_files') new_dir = os.path.join(new_dir, 'collected_torrent_files') os.renames(old_dir, new_dir) old_dir = os.path.join(old_dir, 'collected_subtitles_files') new_dir = os.path.join(new_dir, 'collected_su...
6ec2fda1ea91397aad70681809c0e0a9781bc1e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9686/6ec2fda1ea91397aad70681809c0e0a9781bc1e5/settingsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 10808, 329, 27266, 547, 87, 12, 2890, 16, 1592, 67, 1214, 16, 394, 67, 1214, 4672, 468, 20441, 3635, 1592, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 1673, 67, 1214, 16, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 10808, 329, 27266, 547, 87, 12, 2890, 16, 1592, 67, 1214, 16, 394, 67, 1214, 4672, 468, 20441, 3635, 1592, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 1673, 67, 1214, 16, 296, ...
protection = dbmodels.SmallIntegerField(null=False,
protection = dbmodels.SmallIntegerField(null=False, blank=True,
def __str__(self): return self.login
e943a069cdd9c6b57afc3685988dc77b76c69a60 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/e943a069cdd9c6b57afc3685988dc77b76c69a60/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 5819, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 5819, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if fn.startswith(self.fnprefix) and fn.endswith(self.fnsuffix):
if fn.startswith(self.fnprefix):
def clear(self): for fn in os.listdir(self.location): if os.path.isdir(fn): continue if fn.startswith(self.fnprefix) and fn.endswith(self.fnsuffix): log.debug('deleted: %s', fn) os.remove(os.path.join(self.location, fn))
f087fb750fd2521d3c44094c4209bcbf27e0a853 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1242/f087fb750fd2521d3c44094c4209bcbf27e0a853/cache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 364, 2295, 316, 1140, 18, 1098, 1214, 12, 2890, 18, 3562, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 4293, 4672, 1324, 309, 2295, 18, 17514, 1918, 12, 2890, 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, 2424, 12, 2890, 4672, 364, 2295, 316, 1140, 18, 1098, 1214, 12, 2890, 18, 3562, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 4293, 4672, 1324, 309, 2295, 18, 17514, 1918, 12, 2890, 18,...
if self.debug: log.msg('_createActiveDTP')
log.debug('_createActiveDTP')
def _createActiveDTP(self): if self.debug: log.msg('_createActiveDTP') raise NotImplementedError()
cdcaf038ab7a8d9d6eba20fa49c93c98c9d905a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/cdcaf038ab7a8d9d6eba20fa49c93c98c9d905a0/jdftp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 3896, 9081, 52, 12, 2890, 4672, 613, 18, 4148, 2668, 67, 2640, 3896, 9081, 52, 6134, 1002, 11206, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2640, 3896, 9081, 52, 12, 2890, 4672, 613, 18, 4148, 2668, 67, 2640, 3896, 9081, 52, 6134, 1002, 11206, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def writen(fd, data):
def _writen(fd, data):
def writen(fd, data): """Write all the data to a descriptor.""" while data != '': n = os.write(fd, data) data = data[n:]
66206c752a864c32589d0cd603b1ba6b5c963680 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/66206c752a864c32589d0cd603b1ba6b5c963680/pty.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5363, 275, 12, 8313, 16, 501, 4672, 3536, 3067, 777, 326, 501, 358, 279, 4950, 12123, 1323, 501, 480, 875, 30, 290, 273, 1140, 18, 2626, 12, 8313, 16, 501, 13, 501, 273, 501, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5363, 275, 12, 8313, 16, 501, 4672, 3536, 3067, 777, 326, 501, 358, 279, 4950, 12123, 1323, 501, 480, 875, 30, 290, 273, 1140, 18, 2626, 12, 8313, 16, 501, 13, 501, 273, 501, 63...
print "Cannot extract L33:\n ", rec, file_name
format_err("Cannot extract L33.", file_name, rec)
def extract_tls_parameters(remark_3_records, file_name = ""):
750096ae523db6b885cc59e3cbd10e2c8a7b6c55 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/696/750096ae523db6b885cc59e3cbd10e2c8a7b6c55/remark_3_interpretation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 17116, 67, 3977, 12, 2764, 1313, 67, 23, 67, 7094, 16, 585, 67, 529, 273, 1408, 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, ...
[ 1, 1, 1, 1, 1, 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, 2608, 67, 17116, 67, 3977, 12, 2764, 1313, 67, 23, 67, 7094, 16, 585, 67, 529, 273, 1408, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
for elem in nm: if 'navpoint' in getattr(elem, 'name', ''): process_navpoint(elem, self)
nm = nm[0] for child in np_path(nm): process_navpoint(child, self)
def process_navpoint(np, dest): play_order = np.get('playOrder', None) if play_order is None: play_order = int(np.get('playorder', 1)) href = fragment = text = None nl = np.find(re.compile('navlabel')) if nl is not None: text = u'' for txt in nl.findAll(re.compile('text')): text += u''.join([unicode(s) for s in txt.fin...
c2d0a57a4187bf32de5b669e922f1efc9c6c2907 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/c2d0a57a4187bf32de5b669e922f1efc9c6c2907/toc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 11589, 1153, 12, 6782, 16, 1570, 4672, 6599, 67, 1019, 273, 1130, 18, 588, 2668, 1601, 2448, 2187, 599, 13, 309, 6599, 67, 1019, 353, 599, 30, 6599, 67, 1019, 273, 509, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 11589, 1153, 12, 6782, 16, 1570, 4672, 6599, 67, 1019, 273, 1130, 18, 588, 2668, 1601, 2448, 2187, 599, 13, 309, 6599, 67, 1019, 353, 599, 30, 6599, 67, 1019, 273, 509, 12, ...
set2 = set([codon[1] for codon in codons]) set3 = set([codon[2] for codon in codons]) candidates = set([c1+c2+c3 for c1 in c1_list for c2 in c2_list for c3 in c3_list]) candidates.difference_update(codons)
candidates = [] for c1 in c1_list : for c2 in c2_list : for c3 in c3_list : codon = c1+c2+c3 if codon not in candidates and codon not in codons : candidates.append(codon)
def list_ambiguous_codons(codons, ambiguous_nucleotide_values): """Extends a codon list to include all possible ambigous codons. e.g. ['TAG', 'TAA'] -> ['TAG', 'TAA', 'TAR'] ['UAG', 'UGA'] -> ['UAG', 'UGA', 'URA'] Note that ['TAG', 'TGA'] -> ['TAG', 'TGA'], this does not add 'TRR'. Thus only two more codons are added...
076c3cad992f30dabd99a110460e5ab053164b3b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7167/076c3cad992f30dabd99a110460e5ab053164b3b/CodonTable.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2536, 10623, 67, 1559, 7008, 12, 1559, 7008, 16, 20399, 67, 13053, 23165, 67, 2372, 4672, 3536, 19581, 279, 25349, 666, 358, 2341, 777, 3323, 13232, 360, 1481, 11012, 7008, 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, 666, 67, 2536, 10623, 67, 1559, 7008, 12, 1559, 7008, 16, 20399, 67, 13053, 23165, 67, 2372, 4672, 3536, 19581, 279, 25349, 666, 358, 2341, 777, 3323, 13232, 360, 1481, 11012, 7008, 18, ...
nanny.tattle_quantity('netrecv',64) nanny.tattle_quantity('netsend',128)
if self.on_loopback: nanny.tattle_quantity('looprecv',64) nanny.tattle_quantity('loopsend',128) else: nanny.tattle_quantity('netrecv',64) nanny.tattle_quantity('netsend',128)
def close(self): """ <Purpose> Closes a socket. Pending remote recv() calls will return with the remaining information. Local recv / send calls will fail after this.
d4ee8209e162b6ccd341f8d349a90df0a51e60af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7280/d4ee8209e162b6ccd341f8d349a90df0a51e60af/emulcomm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 3536, 411, 10262, 4150, 34, 22442, 2420, 279, 2987, 18, 282, 16034, 2632, 10665, 1435, 4097, 903, 327, 598, 326, 4463, 1779, 18, 282, 3566, 10665, 342, 1366, 4097, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 3536, 411, 10262, 4150, 34, 22442, 2420, 279, 2987, 18, 282, 16034, 2632, 10665, 1435, 4097, 903, 327, 598, 326, 4463, 1779, 18, 282, 3566, 10665, 342, 1366, 4097, ...
filename = "sandbox/dummy.txt" open(filename, "w").close()
file_to_trash=File("sandbox/dummy.txt") file_to_trash.touch()
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, ...
def __cookNotificationTargetInfo(snmpEngine, notificationName, paramsName):
def __cookNotificationTargetInfo(snmpEngine, notificationName, paramsName, filterSubtree=None):
def __cookNotificationTargetInfo(snmpEngine, notificationName, paramsName): snmpNotifyEntry, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('SNMP-NOTIFICATION-MIB', 'snmpNotifyEntry') tblIdx1 = snmpNotifyEntry.getInstIdFromIndices( notificationName ) snmpNotifyFilterProfileEntry, = snmpEngine....
7dfad80e5e6161ff385f2a932b0de0b0bc82af59 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/587/7dfad80e5e6161ff385f2a932b0de0b0bc82af59/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 29854, 4386, 2326, 966, 12, 26527, 4410, 16, 3851, 461, 16, 859, 461, 16, 1034, 18615, 33, 7036, 4672, 15366, 9168, 1622, 16, 273, 15366, 4410, 18, 3576, 1876, 52, 2544, 40, 1752, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29854, 4386, 2326, 966, 12, 26527, 4410, 16, 3851, 461, 16, 859, 461, 16, 1034, 18615, 33, 7036, 4672, 15366, 9168, 1622, 16, 273, 15366, 4410, 18, 3576, 1876, 52, 2544, 40, 1752, ...
l = MPolynomialIdeal(self.ring(), self.groebner_basis()).reduced_basis() r = MPolynomialIdeal(self.ring(),other.groebner_basis()).reduced_basis()
l = self.groebner_basis() r = other.groebner_basis()
def __cmp__(self, other): # Groebner basis determine equality since ideals are in the # same ring with same term order #c = cmp(self.gens(), other.gens()) #if c == 0: # return c l = MPolynomialIdeal(self.ring(), self.groebner_basis()).reduced_basis() r = MPolynomialIdeal(self.ring(),other.groebner_basis()).reduced_...
f8f6405d17a0a31b4a329117787910ae7f78d19e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/f8f6405d17a0a31b4a329117787910ae7f78d19e/multi_polynomial_ideal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 468, 611, 303, 24008, 1224, 10853, 4199, 14958, 3241, 10572, 1031, 854, 316, 326, 468, 1967, 9221, 598, 1967, 2481, 1353, 225, 468, 71, 273, 94...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9625, 972, 12, 2890, 16, 1308, 4672, 468, 611, 303, 24008, 1224, 10853, 4199, 14958, 3241, 10572, 1031, 854, 316, 326, 468, 1967, 9221, 598, 1967, 2481, 1353, 225, 468, 71, 273, 94...
'[0-9 ]+Views', '', re.sub( '[–]', '-',
u'[–]', '-',
def get_plot(self): self.plot = re.sub( '[0-9 ]+Views', '', re.sub( '[–]', '-', re.sub( '[\x93„]', '"', gutils.regextrim(self.page, 'showcover.php[^>]*>', '</td>'))))
4e79410ce5d887cd424c1c433596d3849bfd1dba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2687/4e79410ce5d887cd424c1c433596d3849bfd1dba/PluginMovieDVDPalace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4032, 12, 2890, 4672, 365, 18, 4032, 273, 283, 18, 1717, 12, 582, 11, 63, 131, 249, 65, 2187, 2400, 2187, 283, 18, 1717, 12, 5271, 64, 92, 11180, 131, 231, 65, 2187, 2119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4032, 12, 2890, 4672, 365, 18, 4032, 273, 283, 18, 1717, 12, 582, 11, 63, 131, 249, 65, 2187, 2400, 2187, 283, 18, 1717, 12, 5271, 64, 92, 11180, 131, 231, 65, 2187, 2119, ...
if rpm.readHeader(rpmsigtag, hdrtags, keepdata):
if not nodigest or payload: headerend = None if rpm.readHeader(rpmsigtag, hdrtags, keepdata, headerend=headerend):
def verifyRpm(filename, verify, strict, payload, nodigest, hdrtags, keepdata): """Read in a complete rpm and verify its integrity.""" rpm = ReadRpm(filename, verify, strict=strict, nodigest=nodigest) if rpm.readHeader(rpmsigtag, hdrtags, keepdata): return None if payload: rpm.readPayload(rpm.verifyCpio) rpm.closeFd() r...
13be26721e21a4e961a8227db7d74cd35a0477dd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/13be26721e21a4e961a8227db7d74cd35a0477dd/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 54, 7755, 12, 3459, 16, 3929, 16, 5490, 16, 2385, 16, 14003, 360, 395, 16, 7723, 4156, 16, 3455, 892, 4672, 3536, 1994, 316, 279, 3912, 25228, 471, 3929, 2097, 24425, 12123, 25228,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 54, 7755, 12, 3459, 16, 3929, 16, 5490, 16, 2385, 16, 14003, 360, 395, 16, 7723, 4156, 16, 3455, 892, 4672, 3536, 1994, 316, 279, 3912, 25228, 471, 3929, 2097, 24425, 12123, 25228,...
if file.endswith(ext): return file[:-1*ext.__len__()] else: return file
end=file.__len__() try: end=file.rindex(ext) except ValueError: pass return file[begin:end]
def get_root_name(file): """Determine the root of the filename assuming that it either ends with '.xml' or is already a root""" ext=".xml" if file.endswith(ext): return file[:-1*ext.__len__()] else: return file
82526e82ee0e07c3a5659f3d7a248bfe759121b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7515/82526e82ee0e07c3a5659f3d7a248bfe759121b9/NXformat_dfn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3085, 67, 529, 12, 768, 4672, 3536, 8519, 326, 1365, 434, 326, 1544, 15144, 716, 518, 3344, 3930, 598, 2418, 2902, 11, 578, 353, 1818, 279, 1365, 8395, 1110, 1546, 18, 2902, 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, 336, 67, 3085, 67, 529, 12, 768, 4672, 3536, 8519, 326, 1365, 434, 326, 1544, 15144, 716, 518, 3344, 3930, 598, 2418, 2902, 11, 578, 353, 1818, 279, 1365, 8395, 1110, 1546, 18, 2902, 6...
configuration = self.projectInfo("MODULES")[module]["configuration"]
configuration = [] if module: configuration = self.projectInfo("MODULES")[module]["configuration"]
def configurations(self, module): """ Returns the configuration for the selected module. """ configuration = self.projectInfo("MODULES")[module]["configuration"] if len(configuration) > 0: return self.projectInfo("CONFIGURATIONS")[configuration] else: return {}
73f82b82397a1fa0eae5c45af01f2363aa1c20ca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9114/73f82b82397a1fa0eae5c45af01f2363aa1c20ca/BModulePage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10459, 12, 2890, 16, 1605, 4672, 3536, 2860, 326, 1664, 364, 326, 3170, 1605, 18, 3536, 1664, 273, 5378, 309, 1605, 30, 565, 1664, 273, 365, 18, 4406, 966, 2932, 12194, 55, 7923, 63, 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, 10459, 12, 2890, 16, 1605, 4672, 3536, 2860, 326, 1664, 364, 326, 3170, 1605, 18, 3536, 1664, 273, 5378, 309, 1605, 30, 565, 1664, 273, 365, 18, 4406, 966, 2932, 12194, 55, 7923, 63, 2...
article_text = unicode(article_text, 'utf8')
def getRawArticle(self, title): # Retrieve article text, recursively following #redirects. while True: # Capitalize the first letter of the article -- Trac #6991. title = title[0].capitalize() + title[1:] # Replace underscores with spaces in title. title = title.replace("_", " ") article_text = wp.wp_load_article(title...
ebf8fe65e3a3d9ad9a0c126dcc3d490fbcd106a4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6694/ebf8fe65e3a3d9ad9a0c126dcc3d490fbcd106a4/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10547, 7880, 12, 2890, 16, 2077, 4672, 468, 10708, 7559, 977, 16, 8536, 3751, 468, 22715, 18, 1323, 1053, 30, 468, 11200, 7053, 554, 326, 1122, 9471, 434, 326, 7559, 1493, 2197, 71, 468,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10547, 7880, 12, 2890, 16, 2077, 4672, 468, 10708, 7559, 977, 16, 8536, 3751, 468, 22715, 18, 1323, 1053, 30, 468, 11200, 7053, 554, 326, 1122, 9471, 434, 326, 7559, 1493, 2197, 71, 468,...
def build_qhcp(self, outdir, outname): self.info('writing collection project file...') f = codecs.open(path.join(outdir, outname+'.qhcp'), 'w', 'utf-8') try: f.write(collection_template % {'outname': outname}) finally: f.close()
def handle_finish(self): self.build_qhcp(self.outdir, self.config.qthelp_basename) self.build_qhp(self.outdir, self.config.qthelp_basename)
c3c6bba21450a9eb3149320e34b1e1ced08eea3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5532/c3c6bba21450a9eb3149320e34b1e1ced08eea3b/qthelp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 13749, 12, 2890, 4672, 365, 18, 3510, 67, 85, 76, 4057, 12, 2890, 18, 659, 1214, 16, 365, 18, 1425, 18, 85, 451, 1992, 67, 13909, 13, 365, 18, 3510, 67, 85, 15373, 12, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 13749, 12, 2890, 4672, 365, 18, 3510, 67, 85, 76, 4057, 12, 2890, 18, 659, 1214, 16, 365, 18, 1425, 18, 85, 451, 1992, 67, 13909, 13, 365, 18, 3510, 67, 85, 15373, 12, 28...
for item in fles.framelist: print item.type, item.z
def general_save(filename, filetype): global fles # Normally empty if draw for item in fles.framelist: print item.type, item.z fles.z_reinit() print "general_save : ", filename, " type ",filetype if filetype == None: filetype = filename.split('.')[-1] if (filetype in ['image/svg+xml+javascript','image/svg+xml']): an...
0f71000645566dbe734440e44a39b9a57c6972bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11306/0f71000645566dbe734440e44a39b9a57c6972bd/anim.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7470, 67, 5688, 12, 3459, 16, 18902, 4672, 2552, 284, 1040, 225, 468, 24773, 1230, 1008, 309, 3724, 74, 1040, 18, 94, 67, 266, 2738, 1435, 225, 1172, 315, 12259, 67, 5688, 294, 3104, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7470, 67, 5688, 12, 3459, 16, 18902, 4672, 2552, 284, 1040, 225, 468, 24773, 1230, 1008, 309, 3724, 74, 1040, 18, 94, 67, 266, 2738, 1435, 225, 1172, 315, 12259, 67, 5688, 294, 3104, 1...
if (tl and tr) or (bl and br): self.speed = (self.speed[0], -self.speed[1]) elif (tl and bl) or (tr and br): self.speed = (-self.speed[0], self.speed[1])
if self.lastMoveHitEdge: print ' STUCK!', tl, tr, bl, br self.state == 2 else: if (tl and tr) or (bl and br): self.speed = (self.speed[0], -self.speed[1]) if (tl and bl) or (tr and br): self.speed = (-self.speed[0], self.speed[1]) self.lastMoveHitEdge = True else: self.lastMoveHitEdge = False
def update(self): '''Move image around the screen. If we hit the side of the screen, reverse direction.'''
960e03efa2085fce6026de894f327f6dbaf34e1c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4911/960e03efa2085fce6026de894f327f6dbaf34e1c/lettergame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 9163, 7607, 1316, 6740, 326, 5518, 18, 225, 971, 732, 6800, 326, 4889, 434, 326, 5518, 16, 4219, 4068, 1093, 6309, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 1089, 12, 2890, 4672, 9163, 7607, 1316, 6740, 326, 5518, 18, 225, 971, 732, 6800, 326, 4889, 434, 326, 5518, 16, 4219, 4068, 1093, 6309, 2, -100, -100, -100, -100, -100, -100, -100, -100...
except Unauthorized, vv:
except 'Unauthorized', vv:
def __getitem__(self,index):
afb0beb00ba813cff48fdf0ea19af5e4f3d75908 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/afb0beb00ba813cff48fdf0ea19af5e4f3d75908/Zope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 1615, 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, 1001, 31571, 972, 12, 2890, 16, 1615, 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, -10...
If $m$ is the input length of this S-box then the extension field is of degree $m$.
If ``m`` is the input length of this S-box then the extension field is of degree ``m``.
def interpolation_polynomial(self, k=None): r""" Return a univariate polynomial over an extension field representing this S-box.
722300ff09b8199db5acea36fda4b2778a4c12e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/722300ff09b8199db5acea36fda4b2778a4c12e9/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12851, 67, 3915, 13602, 12, 2890, 16, 417, 33, 7036, 4672, 436, 8395, 2000, 279, 640, 27693, 16991, 1879, 392, 2710, 652, 5123, 333, 348, 17, 2147, 18, 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, 12851, 67, 3915, 13602, 12, 2890, 16, 417, 33, 7036, 4672, 436, 8395, 2000, 279, 640, 27693, 16991, 1879, 392, 2710, 652, 5123, 333, 348, 17, 2147, 18, 2, -100, -100, -100, -100, -100, ...
``a_invs``, which is a list of `\leq 5` \emph{integers} `a_1`, `a_2`, `a_3`, `a_4`, and `a_`$. If strictly less than 5 invariants are given, then the first ones are set to 0, so, e.g., ``[3,4] means `a_1=a_2=a_3=0` and `a_4=3`, `a_6=4`. INPUT: - `ainvs` (list or tuple) -- a list of <= 5 integers, the coefficients o...
``ainvs``, which is a list of 5 or less *integers* `a_1`, `a_2`, `a_3`, `a_4`, and `a_5`. See the docstring of this class for full documentation.
def __init__(self, ainvs, verbose=False): r""" Create the mwrank elliptic curve with invariants ``a_invs``, which is a list of `\leq 5` \emph{integers} `a_1`, `a_2`, `a_3`, `a_4`, and `a_`$.
1cc4edc9aafb88d044d853b60331d1432546cf60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/1cc4edc9aafb88d044d853b60331d1432546cf60/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 279, 5768, 87, 16, 3988, 33, 8381, 4672, 436, 8395, 1788, 326, 14721, 11500, 415, 549, 21507, 8882, 598, 316, 15886, 12176, 69, 67, 5768, 87, 68, 9191, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 279, 5768, 87, 16, 3988, 33, 8381, 4672, 436, 8395, 1788, 326, 14721, 11500, 415, 549, 21507, 8882, 598, 316, 15886, 12176, 69, 67, 5768, 87, 68, 9191, 1...
dragToItemObjNodePath = dragToItemObj[OG.OBJ_NP] objNodePath.wrtReparentTo(dragToItemObjNodePath)
if dragToItemObj is None: objNodePath.wrtReparentTo(render) else: objNodePath.wrtReparentTo(dragToItemObj[OG.OBJ_NP])
def changeHierarchy(self, data, x, y): print "Changing hierarchy for %s..." % repr(data)
018dc2f3a19f43f863b8a1cd816cbdb4591b1bce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/018dc2f3a19f43f863b8a1cd816cbdb4591b1bce/SceneGraphUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 12074, 12, 2890, 16, 501, 16, 619, 16, 677, 4672, 1172, 315, 782, 18183, 9360, 364, 738, 87, 7070, 738, 8480, 12, 892, 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, 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, 2549, 12074, 12, 2890, 16, 501, 16, 619, 16, 677, 4672, 1172, 315, 782, 18183, 9360, 364, 738, 87, 7070, 738, 8480, 12, 892, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tool.configure_kupu(linkbyuid=True,
tool.configure_kupu(
def typefilter(types): all_meta_types = dict([ (t.id, 1) for t in typetool.listTypeInfo()]) return [ t for t in types if t in all_meta_types ]
ab28fefa2d8ae8cc2d865f5650973b54986df1e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10193/ab28fefa2d8ae8cc2d865f5650973b54986df1e8/sample-kupu-customisation-policy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 618, 2188, 12, 2352, 4672, 777, 67, 3901, 67, 2352, 273, 2065, 3816, 261, 88, 18, 350, 16, 404, 13, 364, 268, 316, 3815, 278, 1371, 18, 1098, 17305, 1435, 5717, 327, 306, 268, 364, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 618, 2188, 12, 2352, 4672, 777, 67, 3901, 67, 2352, 273, 2065, 3816, 261, 88, 18, 350, 16, 404, 13, 364, 268, 316, 3815, 278, 1371, 18, 1098, 17305, 1435, 5717, 327, 306, 268, 364, 2...
err = self.readAnswer() if err: print err
if not self.readAnswer():
def mainLoop(self): while True: # Read command from user try: command = raw_input("command? ").strip() except (EOFError, KeyboardInterrupt): # CTRL+C or CTRL+D print "quit" command = "quit" if command == '': continue
e8424057361c5db604be73b03c0ba96b98511066 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10929/e8424057361c5db604be73b03c0ba96b98511066/command.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 6452, 12, 2890, 4672, 1323, 1053, 30, 468, 2720, 1296, 628, 729, 775, 30, 1296, 273, 1831, 67, 2630, 2932, 3076, 35, 315, 2934, 6406, 1435, 1335, 261, 12706, 668, 16, 19424, 4672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 6452, 12, 2890, 4672, 1323, 1053, 30, 468, 2720, 1296, 628, 729, 775, 30, 1296, 273, 1831, 67, 2630, 2932, 3076, 35, 315, 2934, 6406, 1435, 1335, 261, 12706, 668, 16, 19424, 4672, ...
print>>sys.__stderr__, "** __file__: ", __file__
def view_readme(self, event=None): print>>sys.__stderr__, "** __file__: ", __file__ fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'README.txt') textView.TextViewer(self.top,'IDLEfork - README',fn)
e0dcea4576a4a5ba38687902e45d2982971b7327 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e0dcea4576a4a5ba38687902e45d2982971b7327/EditorWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 67, 896, 3501, 12, 2890, 16, 871, 33, 7036, 4672, 2295, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 13, 3631,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 67, 896, 3501, 12, 2890, 16, 871, 33, 7036, 4672, 2295, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 12287, 12, 972, 768, 972, 13, 3631,...
""" fl_create_scrollbar(type, x, y, w, h, label) -> object ref.
""" fl_create_scrollbar(type, x, y, w, h, label) -> object
def fl_create_scrollbar(type, x, y, w, h, label): """ fl_create_scrollbar(type, x, y, w, h, label) -> object ref. """ retval = _fl_create_scrollbar(type, x, y, w, h, label) return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 12033, 3215, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 12033, 3215, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 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, 1183, 67, 2640, 67, 12033, 3215, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 12033, 3215, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16...
file.Write(" cmd.header.size * 4);\n")
file.Write(" cmd.header.size * 4u);\n") file.Write(" EXPECT_EQ(static_cast<char*>(next_cmd),\n") file.Write(" reinterpret_cast<char*>(&cmd) + sizeof(cmd));\n");
def WriteImmediateFormatTest(self, func, file): """Overrriden from TypeHandler.""" file.Write("TEST(GLES2FormatTest, %s) {\n" % func.name) file.Write(" int8 buf[256] = { 0, };\n") file.Write(" %s& cmd = *static_cast<%s*>(static_cast<void*>(&buf));\n" % (func.name, func.name)) file.Write(" static const char* const te...
022e207e0d45ad5354bd7230d48c4691f72f7e10 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/022e207e0d45ad5354bd7230d48c4691f72f7e10/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 22651, 1630, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 2932, 16961, 12, 43, 11386, 22, 1630, 4709, 16, 738, 87, 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, 2598, 22651, 1630, 4709, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 585, 18, 3067, 2932, 16961, 12, 43, 11386, 22, 1630, 4709, 16, 738, 87, 13, ...
shutil.copytree('Filters', filters_folder, False)
filter_orig = os.path.join(dist_src_folder, 'Filters') shutil.copytree(filter_orig, filters_folder, False)
def create_bin_folders(dest_folder): """Creates binary distribution folders.""" cur_path = os.getcwd() exp_folder = os.path.join(dist_folder, dest_folder) os.chdir(exp_folder) bin_folder = os.path.join(exp_folder, dest_folder + '-exe') os.mkdir(bin_folder) os.chdir(bin_folder) lang_folder = os.path.join(bin_folder, '...
6a82135d57e76d11e14e9c34a27a449f6ea5d2d1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5857/6a82135d57e76d11e14e9c34a27a449f6ea5d2d1/create_release.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 4757, 67, 16064, 12, 10488, 67, 5609, 4672, 3536, 2729, 3112, 7006, 9907, 12123, 225, 662, 67, 803, 273, 1140, 18, 588, 11089, 1435, 1329, 67, 5609, 273, 1140, 18, 803, 18, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 4757, 67, 16064, 12, 10488, 67, 5609, 4672, 3536, 2729, 3112, 7006, 9907, 12123, 225, 662, 67, 803, 273, 1140, 18, 588, 11089, 1435, 1329, 67, 5609, 273, 1140, 18, 803, 18, 57...
self.setBGFreq()
def addMatrix(self, arglist): "Arguments: filelist\nreads matrices from files" for filestring in arglist:
e9d3eda98587d0c3f5ebab9fa726e40036538fcb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11674/e9d3eda98587d0c3f5ebab9fa726e40036538fcb/Commandline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 4635, 12, 2890, 16, 31805, 4672, 315, 4628, 30, 26204, 64, 82, 11904, 16415, 628, 1390, 6, 364, 1390, 371, 316, 31805, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 4635, 12, 2890, 16, 31805, 4672, 315, 4628, 30, 26204, 64, 82, 11904, 16415, 628, 1390, 6, 364, 1390, 371, 316, 31805, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
VPanel('Animated slideshow options', HPanel('', _slide_transition, HPanel('', _slide_border, _slide_frame), ), ),
def strip_all(filename): return ''
57f7ede24ccc303d0bd836afc7219e8843ece0d6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4675/57f7ede24ccc303d0bd836afc7219e8843ece0d6/todisc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2569, 67, 454, 12, 3459, 4672, 327, 875, 282, 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, ...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2569, 67, 454, 12, 3459, 4672, 327, 875, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"Log commands and responses passing through the command channel"
"""Log commands and responses passing through the command channel."""
def logline(msg): "Log commands and responses passing through the command channel" print msg
367a95e4363ae8b7515230480fff6ef354b95226 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/367a95e4363ae8b7515230480fff6ef354b95226/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 1369, 12, 3576, 4672, 3536, 1343, 4364, 471, 7220, 9588, 3059, 326, 1296, 1904, 12123, 1172, 1234, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 1369, 12, 3576, 4672, 3536, 1343, 4364, 471, 7220, 9588, 3059, 326, 1296, 1904, 12123, 1172, 1234, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
passwdMgr = self.BasicPasswordManager()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) if url.user: url.passwd = url.passwd or '' passwdMgr = self.BasicPasswordManager() passwdMgr.add_password(url.user, url.passwd) opener.add_handler( urllib2.HTTPBasicAuthHandler(passwdMgr))
def _fetchUrl(self, url, headers): if isinstance(url,str): url = laUrl(url)
b657130cf1c67f6da5b037b3909be8003264d29d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8747/b657130cf1c67f6da5b037b3909be8003264d29d/lookaside.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5754, 1489, 12, 2890, 16, 880, 16, 1607, 4672, 309, 1549, 12, 718, 16, 701, 4672, 880, 273, 7125, 1489, 12, 718, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 5754, 1489, 12, 2890, 16, 880, 16, 1607, 4672, 309, 1549, 12, 718, 16, 701, 4672, 880, 273, 7125, 1489, 12, 718, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if debug_dragstuff: print "enter: ok = %r" % ok
def contentsDragEnterEvent(self, event): # warning: for unknown reasons, this is sometimes called twice when i'd expect it to be called once. if debug_dragstuff: print_compact_stack("contentsDragEnterEvent stack (fyi): ") ok = QTextDrag.canDecode(event) # this code is duplicated elsewhere event.accept(ok) self.last_dra...
8e76c375339a6ae063e685fcb0b4bee3c03d78cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/8e76c375339a6ae063e685fcb0b4bee3c03d78cd/TreeWidget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2939, 11728, 10237, 1133, 12, 2890, 16, 871, 4672, 468, 3436, 30, 364, 5917, 14000, 16, 333, 353, 16594, 2566, 13605, 1347, 277, 14271, 4489, 518, 358, 506, 2566, 3647, 18, 309, 1198, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2939, 11728, 10237, 1133, 12, 2890, 16, 871, 4672, 468, 3436, 30, 364, 5917, 14000, 16, 333, 353, 16594, 2566, 13605, 1347, 277, 14271, 4489, 518, 358, 506, 2566, 3647, 18, 309, 1198, 67...
if l[:2] == '
if l[:2] == '
def make(filename, outfile): ID = 1 STR = 2 # Compute .mo name from .po name and arguments if filename.endswith('.po'): infile = filename else: infile = filename + '.po' if outfile is None: outfile = os.path.splitext(infile)[0] + '.mo' try: lines = open(infile).readlines() except IOError, msg: print >> sys.stderr, ms...
0f73b7ad799270a4e9478dc956a2749c4eec1d07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0f73b7ad799270a4e9478dc956a2749c4eec1d07/msgfmt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 12, 3459, 16, 8756, 4672, 1599, 273, 404, 7128, 273, 576, 225, 468, 8155, 263, 8683, 508, 628, 263, 1631, 508, 471, 1775, 309, 1544, 18, 5839, 1918, 2668, 18, 1631, 11, 4672, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 3459, 16, 8756, 4672, 1599, 273, 404, 7128, 273, 576, 225, 468, 8155, 263, 8683, 508, 628, 263, 1631, 508, 471, 1775, 309, 1544, 18, 5839, 1918, 2668, 18, 1631, 11, 4672, 145...
self.cache.clear()
if self.doCache: self.cache.clear()
def clear(self): self.cache.clear() self.expiredCache.clear()
fed98434274604acfd46a4d84999a1fd666ea33e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8798/fed98434274604acfd46a4d84999a1fd666ea33e/cache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 309, 365, 18, 2896, 1649, 30, 365, 18, 2493, 18, 8507, 1435, 365, 18, 15820, 1649, 18, 8507, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 2424, 12, 2890, 4672, 309, 365, 18, 2896, 1649, 30, 365, 18, 2493, 18, 8507, 1435, 365, 18, 15820, 1649, 18, 8507, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
this class for later rewriting. Returns true on success, false on failure. """
this class for later rewriting. if doProcessing is true, it may massage the file and the directory contents in preparation for building patches. Returns true on success, false on failure. """
def readDescFile(self): """ Reads the existing package.xml file and stores it in this class for later rewriting. Returns true on success, false on failure. """
2c81597aa70b8307a2253b59ef1df0354b72a056 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/2c81597aa70b8307a2253b59ef1df0354b72a056/PatchMaker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 4217, 812, 12, 2890, 4672, 3536, 29185, 326, 2062, 2181, 18, 2902, 585, 471, 9064, 518, 316, 333, 667, 364, 5137, 283, 14345, 18, 225, 2860, 638, 603, 2216, 16, 629, 603, 5166, 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, 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, 855, 4217, 812, 12, 2890, 4672, 3536, 29185, 326, 2062, 2181, 18, 2902, 585, 471, 9064, 518, 316, 333, 667, 364, 5137, 283, 14345, 18, 225, 2860, 638, 603, 2216, 16, 629, 603, 5166, 18...
v = nc.createVariable('ExternalDipolePotential','d') v.setValue(value)
v = nc.createVariable('ExternalDipolePotential','d',()) v.assignValue(value)
def set_external_dipole(self, value, position=None): ''' Externally imposed dipole potential. This option overwrites DipoleCorrection if set.
54a8389c54f9a7928c36ef60f4d33d7bb5950de6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5735/54a8389c54f9a7928c36ef60f4d33d7bb5950de6/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 9375, 67, 24953, 790, 12, 2890, 16, 460, 16, 1754, 33, 7036, 4672, 9163, 1312, 798, 1230, 709, 7423, 24408, 790, 8555, 18, 1220, 1456, 28151, 463, 625, 790, 20884, 309, 444, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 67, 9375, 67, 24953, 790, 12, 2890, 16, 460, 16, 1754, 33, 7036, 4672, 9163, 1312, 798, 1230, 709, 7423, 24408, 790, 8555, 18, 1220, 1456, 28151, 463, 625, 790, 20884, 309, 444, 1...
ct_len = 0
st_len = 0
def _repo_match(repo, patterns): rid = repo.id.lower() rnm = repo.name.lower() for pat in patterns: if fnmatch.fnmatch(rid, pat): return True if fnmatch.fnmatch(rnm, pat): return True return False
ac8eed8587a347dddf827efd1c0d7ab8674b2a79 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5445/ac8eed8587a347dddf827efd1c0d7ab8674b2a79/yumcommands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7422, 67, 1916, 12, 7422, 16, 6884, 4672, 10911, 273, 3538, 18, 350, 18, 8167, 1435, 436, 15094, 273, 3538, 18, 529, 18, 8167, 1435, 364, 9670, 316, 6884, 30, 309, 18764, 18, 4293...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7422, 67, 1916, 12, 7422, 16, 6884, 4672, 10911, 273, 3538, 18, 350, 18, 8167, 1435, 436, 15094, 273, 3538, 18, 529, 18, 8167, 1435, 364, 9670, 316, 6884, 30, 309, 18764, 18, 4293...
new_mod = SubmitModule(loaded_module)
new_mod = SubmitModule(self.fault_tolerance,loaded_module)
def load(self): CONST_FILE_IND = 0; CONST_PATH_IND = 1 CONST_DESC_IND = 2 self.loaded_submit_modules = [] for mod_path in self.search_path_descriptor: for module in mod_path: module_desc = imp.find_module(module["name"]) # Catch any exceptions thrown by loading the module try: print "Attempting to load module: %s" % mo...
535a260d736c97ae967159645b5294d2f2e7e0c2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/635/535a260d736c97ae967159645b5294d2f2e7e0c2/submitmoduleloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 12, 2890, 4672, 23399, 67, 3776, 67, 2356, 273, 374, 31, 23399, 67, 4211, 67, 2356, 273, 404, 23399, 67, 10964, 67, 2356, 273, 576, 365, 18, 4230, 67, 9297, 67, 6400, 273, 5378, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 4672, 23399, 67, 3776, 67, 2356, 273, 374, 31, 23399, 67, 4211, 67, 2356, 273, 404, 23399, 67, 10964, 67, 2356, 273, 576, 365, 18, 4230, 67, 9297, 67, 6400, 273, 5378, ...
def __init__(self, Obj, BuildComamnd, Target, Dependency, WorkingDir="."):
def __init__(self, Obj, BuildCommand, Target, Dependency, WorkingDir="."):
def __init__(self, Obj, BuildComamnd, Target, Dependency, WorkingDir="."): self.BuildObject = Obj self.Dependency = Dependency self.WorkingDir = WorkingDir self.Target = Target self.BuildCommand = BuildComamnd if BuildCommand == None or len(BuildCommand) == 0: EdkLogger.error("build", OPTION_MISSING, "No build command ...
dc2350126d13ff5c0a79c5fcd99da7957f8e6d46 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/914/dc2350126d13ff5c0a79c5fcd99da7957f8e6d46/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 18760, 16, 3998, 2189, 16, 5916, 16, 11993, 16, 22732, 1621, 1546, 1199, 4672, 365, 18, 3116, 921, 273, 18760, 365, 18, 7787, 273, 11993, 365, 18, 14836, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 18760, 16, 3998, 2189, 16, 5916, 16, 11993, 16, 22732, 1621, 1546, 1199, 4672, 365, 18, 3116, 921, 273, 18760, 365, 18, 7787, 273, 11993, 365, 18, 14836, ...
if obj.windowClassName not in ["MozillaWindowClass","MozillaContentWindowClass","MozillaUIWindowClass","MozillaDialogClass"]:
if not obj.windowClassName.startswith('Mozilla'):
def processGeckoDescription(obj): if obj.windowClassName not in ["MozillaWindowClass","MozillaContentWindowClass","MozillaUIWindowClass","MozillaDialogClass"]: return rawDescription=obj.description if not isinstance(rawDescription,basestring): return if rawDescription.startswith('Description: '): obj.description=rawDes...
ee52a7e5d211e0dd8b5a1099b547accec0aaf244 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/ee52a7e5d211e0dd8b5a1099b547accec0aaf244/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 43, 31319, 3291, 12, 2603, 4672, 309, 486, 1081, 18, 5668, 3834, 18, 17514, 1918, 2668, 49, 11142, 10745, 11, 4672, 327, 1831, 3291, 33, 2603, 18, 3384, 309, 486, 1549, 12, 1899, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 43, 31319, 3291, 12, 2603, 4672, 309, 486, 1081, 18, 5668, 3834, 18, 17514, 1918, 2668, 49, 11142, 10745, 11, 4672, 327, 1831, 3291, 33, 2603, 18, 3384, 309, 486, 1549, 12, 1899, ...
old_values = eval(old_values)
if old_values == None: old_values = {} else: old_values = eval(old_values)
def import_record(self, cursor, user, model, module, values, fs_id):
5ad40d33b6c5e9e597210b8ee5e2c4549ec79fb8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/5ad40d33b6c5e9e597210b8ee5e2c4549ec79fb8/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 67, 3366, 12, 2890, 16, 3347, 16, 729, 16, 938, 16, 1605, 16, 924, 16, 2662, 67, 350, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 67, 3366, 12, 2890, 16, 3347, 16, 729, 16, 938, 16, 1605, 16, 924, 16, 2662, 67, 350, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
def output(text, decoder = None, newline=True):
def output(text, decoder = None, newline = True):
def output(text, decoder = None, newline=True): if decoder: text = unicode(text, decoder) if newline: print text.encode(config.console_encoding, 'replace') else: # comma means 'don't print newline after question' print text.encode(config.console_encoding, 'replace'),
c098a1a8be54d8108a48e0033752eee7b524eb84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/c098a1a8be54d8108a48e0033752eee7b524eb84/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 876, 12, 955, 16, 8320, 273, 599, 16, 9472, 273, 1053, 4672, 309, 8320, 30, 977, 273, 5252, 12, 955, 16, 8320, 13, 309, 9472, 30, 1172, 977, 18, 3015, 12, 1425, 18, 8698, 67, 5999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 876, 12, 955, 16, 8320, 273, 599, 16, 9472, 273, 1053, 4672, 309, 8320, 30, 977, 273, 5252, 12, 955, 16, 8320, 13, 309, 9472, 30, 1172, 977, 18, 3015, 12, 1425, 18, 8698, 67, 5999, ...
m_time = m.group("time") m_pid = m.group("pid") m_msg = m.group("msg") m_dur = m.group("dur")
m_time = m.group('time') m_pid = m.group('pid') m_msg = m.group('msg') if(testrun[testidx].cgformat): m_param3 = m.group('dur') else: m_param3 = 'traceevent'
def analyzeTraceLog(): global sysvals, data # the ftrace data is tied to the dmesg data if(not data.usedmesg): return # read through the ftrace and parse the data data.vprint("Analyzing the ftrace data...") ftrace_line_fmt = r"^ *(?P<time>[0-9\.]*) *\| *(?P<cpu>[0-9]*)\)"+\ " *(?P<proc>.*)-(?P<pid>[0-9]*) *\|"+\ "[ +...
0c52bda8f6c5785b5982bc3636b627b4ccd59c3f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5327/0c52bda8f6c5785b5982bc3636b627b4ccd59c3f/analyze_suspend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12375, 3448, 1343, 13332, 2552, 2589, 4524, 16, 501, 225, 468, 326, 284, 5129, 501, 353, 268, 2092, 358, 326, 9113, 281, 75, 501, 309, 12, 902, 501, 18, 3668, 26244, 75, 4672, 327, 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, 12375, 3448, 1343, 13332, 2552, 2589, 4524, 16, 501, 225, 468, 326, 284, 5129, 501, 353, 268, 2092, 358, 326, 9113, 281, 75, 501, 309, 12, 902, 501, 18, 3668, 26244, 75, 4672, 327, 225...
for line in lines[1:]: if line.startswith('PATH='): path = line[5:] MSVC_PATH = path.split(';') elif line.startswith('INCLUDE='): MSVC_INCDIR = [i for i in line[8:].split(';') if i] elif line.startswith('LIB='): MSVC_LIBDIR = [i for i in line[4:].split(';') if i]
def get_msvc_version(conf, compiler, version, target, vcvars): debug('msvc: get_msvc_version: ' + compiler + ' ' + version + ' ' + target + ' ...') batfile = os.path.join(conf.blddir, "waf-print-msvc.bat") f = open(batfile, 'w') f.write("""@echo off
05495af483649bfc6f90e3fef7d4b6f6cdb27e4d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7302/05495af483649bfc6f90e3fef7d4b6f6cdb27e4d/msvc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 959, 4227, 67, 1589, 12, 3923, 16, 5274, 16, 1177, 16, 1018, 16, 12802, 4699, 4672, 1198, 2668, 959, 4227, 30, 336, 67, 959, 4227, 67, 1589, 30, 296, 397, 5274, 397, 296, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 959, 4227, 67, 1589, 12, 3923, 16, 5274, 16, 1177, 16, 1018, 16, 12802, 4699, 4672, 1198, 2668, 959, 4227, 30, 336, 67, 959, 4227, 67, 1589, 30, 296, 397, 5274, 397, 296, 29...
"""Runs the given keyword with the given arguments, if all critical tests passed.
"""Runs the given keyword with the given arguments, if all critical tests passed.
def run_keyword_if_all_critical_tests_passed(self, name, *args): """Runs the given keyword with the given arguments, if all critical tests passed. This keyword can only be used in suite teardown. Trying to use it in any other place will result in an error. Otherwise, this keyword works exactly like 'Run Keyword', see...
ef8b3c513c2fbfbe39dbbc410ee472d3b6ab88a2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/ef8b3c513c2fbfbe39dbbc410ee472d3b6ab88a2/BuiltIn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 11041, 67, 430, 67, 454, 67, 28000, 67, 16341, 67, 23603, 12, 2890, 16, 508, 16, 380, 1968, 4672, 3536, 9361, 326, 864, 4932, 598, 326, 864, 1775, 16, 309, 777, 11239, 7434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 11041, 67, 430, 67, 454, 67, 28000, 67, 16341, 67, 23603, 12, 2890, 16, 508, 16, 380, 1968, 4672, 3536, 9361, 326, 864, 4932, 598, 326, 864, 1775, 16, 309, 777, 11239, 7434, ...
print "success"
def submit(self, username, password, server=None): """Submit the files to archive.org"""
f16f73dc2de6484cc7d5bd238fb8d110538074dd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2607/f16f73dc2de6484cc7d5bd238fb8d110538074dd/submission.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 16, 2718, 16, 2201, 16, 1438, 33, 7036, 4672, 3536, 11620, 326, 1390, 358, 5052, 18, 3341, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 16, 2718, 16, 2201, 16, 1438, 33, 7036, 4672, 3536, 11620, 326, 1390, 358, 5052, 18, 3341, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 882) else quickfix.DoubleField.__init__(self, 882, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 11149, 13, 469, 9549, 904, 18, 5265, 974, 16186, 2738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 11149, 13, 469, 9549, 904, 18, 5265, 974, 16186, 2738,...
def subdiagonalize_bfs(self, bfs):
def subdiagonalize_bfs(self, bfs, apply=False):
def subdiagonalize_bfs(self, bfs): self.initialize() bfs = np.array(bfs) p = self.input_parameters h_mm = p['h'] s_mm = p['s'] ht_mm, st_mm, c_mm, e_m = subdiagonalize(h_mm, s_mm, bfs) # Rotate coupling between lead and central region for alpha, sigma in enumerate(self.selfenergies): p['hc%i' % (alpha+1)] = np.dot(sigm...
ef890adfaa8593c6614008950d2d54dc72b975c9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5572/ef890adfaa8593c6614008950d2d54dc72b975c9/calculators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 720, 30130, 554, 67, 70, 2556, 12, 2890, 16, 324, 2556, 16, 2230, 33, 8381, 4672, 365, 18, 11160, 1435, 324, 2556, 273, 1130, 18, 1126, 12, 70, 2556, 13, 293, 273, 365, 18, 2630, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 720, 30130, 554, 67, 70, 2556, 12, 2890, 16, 324, 2556, 16, 2230, 33, 8381, 4672, 365, 18, 11160, 1435, 324, 2556, 273, 1130, 18, 1126, 12, 70, 2556, 13, 293, 273, 365, 18, 2630, 67,...
if candidates == 0: self.unresolved.append((name, Reference(fn,n+1)))
if candidates == 0: self.unresolved.append((name, Reference(fn,n+1)))
print "%s: unbalanced #undef on %s" \ % (Reference(filename, n+1), name)
dc3703711cd038637f2553fec2ce8411ba317bfb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9355/dc3703711cd038637f2553fec2ce8411ba317bfb/wmltools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1172, 2213, 87, 30, 640, 12296, 72, 468, 318, 536, 603, 738, 87, 6, 521, 738, 261, 2404, 12, 3459, 16, 290, 15, 21, 3631, 508, 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, 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, 1172, 2213, 87, 30, 640, 12296, 72, 468, 318, 536, 603, 738, 87, 6, 521, 738, 261, 2404, 12, 3459, 16, 290, 15, 21, 3631, 508, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def getEntry(self, item, withFiles):
def getEntry(self, item, withFiles, withFileContents):
def getEntry(self, item, withFiles): (name, (oldVersion, oldFlavor), (newVersion, newFlavor), absolute) = \ item
c1fb30ff97c24803d5cb35db4bc1d6376529b6fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/c1fb30ff97c24803d5cb35db4bc1d6376529b6fa/netserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15428, 12, 2890, 16, 761, 16, 598, 2697, 16, 598, 812, 6323, 4672, 261, 529, 16, 261, 1673, 1444, 16, 1592, 2340, 9444, 3631, 261, 2704, 1444, 16, 394, 2340, 9444, 3631, 4967, 13, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15428, 12, 2890, 16, 761, 16, 598, 2697, 16, 598, 812, 6323, 4672, 261, 529, 16, 261, 1673, 1444, 16, 1592, 2340, 9444, 3631, 261, 2704, 1444, 16, 394, 2340, 9444, 3631, 4967, 13, 273,...
return None Executor.__init__( self, 'hmmpfam', catch_out=1, args=' %s %s'%(hmmdb, self.fName), **kw )
def __init__( self, target, hmmdb, noSearch=None, verbose=1, **kw ): """ @param target: sequence @type target: PDBModel or fasta file @param hmmdb: Pfam hmm database @type hmmdb: str @param noSearch: don't perform a seach @type noSearch: 1 OR None """ self.hmmdb = hmmdb self.target = target self.fastaID = '' self.f...
532a977b37e0744945827ba27e3f206f4854f2fc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/532a977b37e0744945827ba27e3f206f4854f2fc/Hmmer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 1018, 16, 16349, 27574, 16, 1158, 2979, 33, 7036, 16, 3988, 33, 21, 16, 2826, 9987, 262, 30, 3536, 632, 891, 1018, 30, 3102, 632, 723, 225, 1018, 30, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 1018, 16, 16349, 27574, 16, 1158, 2979, 33, 7036, 16, 3988, 33, 21, 16, 2826, 9987, 262, 30, 3536, 632, 891, 1018, 30, 3102, 632, 723, 225, 1018, 30, 21...
x^6 + a*x^5 + (a + 1)*x^4 + (a^2 + a + 1)*x^3 \ + (a^2 + 1)*x^2 + (a + 1)*x + a^2 + a + 1
x^6 + a*x^5 + (a + 1)*x^4 + (a^2 + a + 1)*x^3 + (a^2 + 1)*x^2 + (a + 1)*x + a^2 + a + 1
def interpolation_polynomial(self, k=None): r""" Return an univariate polynomial over an extension field representing this S-box.
70cd8088997efdbaf53741e6a5a24061bfe490e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/70cd8088997efdbaf53741e6a5a24061bfe490e8/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12851, 67, 3915, 13602, 12, 2890, 16, 417, 33, 7036, 4672, 436, 8395, 2000, 392, 640, 27693, 16991, 1879, 392, 2710, 652, 5123, 333, 348, 17, 2147, 18, 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, 12851, 67, 3915, 13602, 12, 2890, 16, 417, 33, 7036, 4672, 436, 8395, 2000, 392, 640, 27693, 16991, 1879, 392, 2710, 652, 5123, 333, 348, 17, 2147, 18, 2, -100, -100, -100, -100, -100, ...
def dep_parse(depstring): "Evaluates a dependency string" myusesplit=string.split(getsetting("USE")) mysplit=string.split(depstring) mysplit=dep_parenreduce(mysplit) mysplit=dep_opconvert(mysplit,myusesplit) if mysplit==None: return [0,"Parse Error (parenthesis mismatch or || abuse?)"] mysplit2=mysplit[:] mysplit2=d...
def dep_parse(depstring): "Evaluates a dependency string" myusesplit=string.split(getsetting("USE")) mysplit=string.split(depstring) #convert parenthesis to sublists mysplit=dep_parenreduce(mysplit) #mysplit can't be None here, so we don't need to check mysplit=dep_opconvert(mysplit,myusesplit) #if mysplit==None, then ...
00bfd0a3e9504697a875434d6d9200fdc7cc6702 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9957/00bfd0a3e9504697a875434d6d9200fdc7cc6702/portage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 2670, 12, 15037, 1080, 4672, 315, 23533, 279, 4904, 533, 6, 3399, 6117, 1127, 33, 1080, 18, 4939, 12, 588, 8920, 2932, 8001, 6, 3719, 312, 1900, 1127, 33, 1080, 18, 4939, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 2670, 12, 15037, 1080, 4672, 315, 23533, 279, 4904, 533, 6, 3399, 6117, 1127, 33, 1080, 18, 4939, 12, 588, 8920, 2932, 8001, 6, 3719, 312, 1900, 1127, 33, 1080, 18, 4939, 12,...
return os.path.join(base, "%s-%s-%s" % (self.db, version, filename))
return join(base, "%s-%s-%s" % (self.db, version, filename))
def buildPath(self, base, version, filename): return os.path.join(base, "%s-%s-%s" % (self.db, version, filename))
c1e41d0df268fd361b14ee90cb5a928232b4e8fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9870/c1e41d0df268fd361b14ee90cb5a928232b4e8fb/WikiBackup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 743, 12, 2890, 16, 1026, 16, 1177, 16, 1544, 4672, 327, 1233, 12, 1969, 16, 2213, 87, 6456, 87, 6456, 87, 6, 738, 261, 2890, 18, 1966, 16, 1177, 16, 1544, 3719, 225, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 743, 12, 2890, 16, 1026, 16, 1177, 16, 1544, 4672, 327, 1233, 12, 1969, 16, 2213, 87, 6456, 87, 6456, 87, 6, 738, 261, 2890, 18, 1966, 16, 1177, 16, 1544, 3719, 225, 2, -100, ...
_fl_set_idle_delta = cfuncproto(so_libforms, "fl_set_idle_delta", None, [cty.c_long],
_fl_set_idle_delta = cfuncproto(so_libforms, "fl_set_idle_delta", None, [cty.c_long],
def fl_remove_selected_xevent(win, mask): """ fl_remove_selected_xevent(win, mask) -> num. """ retval = _fl_remove_selected_xevent(win, mask) 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, 4479, 67, 8109, 67, 92, 2575, 12, 8082, 16, 3066, 4672, 3536, 1183, 67, 4479, 67, 8109, 67, 92, 2575, 12, 8082, 16, 3066, 13, 317, 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, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 4479, 67, 8109, 67, 92, 2575, 12, 8082, 16, 3066, 4672, 3536, 1183, 67, 4479, 67, 8109, 67, 92, 2575, 12, 8082, 16, 3066, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242,...
task = self.loadTask(job['taskId'], False)
task = self.loadTask(job['taskId'])
def getTaskFromJob( self, job): """ retrieve Task object from Job object and perform association """
0676c74dde238761e8560e3513a58d0ff5c7ba76 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/0676c74dde238761e8560e3513a58d0ff5c7ba76/BossLiteAPI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11478, 1265, 2278, 12, 365, 16, 1719, 4672, 3536, 4614, 3837, 733, 628, 3956, 733, 471, 3073, 6384, 3536, 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, 11478, 1265, 2278, 12, 365, 16, 1719, 4672, 3536, 4614, 3837, 733, 628, 3956, 733, 471, 3073, 6384, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if datatype is None:
if dtype is None:
def ndpointer(datatype=None, ndim=None, shape=None, flags=None): if datatype is not None: datatype = dtype(datatype) num = None if flags is not None: if isinstance(flags, str): flags = flags.split(',') elif isinstance(flags, (int, integer)): num = flags flags = _flags_fromnum(flags) if num is None: flags = [x.strip().u...
7aa30aee6bae9a2c28539b06331225efbd3f5370 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/7aa30aee6bae9a2c28539b06331225efbd3f5370/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5346, 10437, 12, 21540, 33, 7036, 16, 9209, 33, 7036, 16, 2179, 33, 7036, 16, 2943, 33, 7036, 4672, 309, 11172, 353, 486, 599, 30, 11172, 273, 3182, 12, 21540, 13, 818, 273, 599, 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, 5346, 10437, 12, 21540, 33, 7036, 16, 9209, 33, 7036, 16, 2179, 33, 7036, 16, 2943, 33, 7036, 4672, 309, 11172, 353, 486, 599, 30, 11172, 273, 3182, 12, 21540, 13, 818, 273, 599, 309, ...
"state_vec_map": "int_4s", "insertion_time": "int_4s"
"state_vec_map": "int_4s"
def set_band(self, band): self.central_freq = (band[0] + band[1])/2.0 self.bandwidth = band.duration()
c723e949bb20546b085e262ee944f5eebe05ac57 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/c723e949bb20546b085e262ee944f5eebe05ac57/lsctables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 12752, 12, 2890, 16, 8937, 4672, 365, 18, 71, 12839, 67, 10212, 273, 261, 12752, 63, 20, 65, 397, 8937, 63, 21, 5717, 19, 22, 18, 20, 365, 18, 29750, 273, 8937, 18, 8760, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 67, 12752, 12, 2890, 16, 8937, 4672, 365, 18, 71, 12839, 67, 10212, 273, 261, 12752, 63, 20, 65, 397, 8937, 63, 21, 5717, 19, 22, 18, 20, 365, 18, 29750, 273, 8937, 18, 8760, ...
ziplines = zipfp.open(TESTFN).readlines()
with zipfp.open(TESTFN) as zipopen: ziplines = zipopen.readlines()
def zip_readlines_test(self, f, compression): self.make_test_archive(f, compression)
df64e4ebf884a9041c9514c1c88905dd4793c799 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/df64e4ebf884a9041c9514c1c88905dd4793c799/test_zipfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3144, 67, 896, 3548, 67, 3813, 12, 2890, 16, 284, 16, 9154, 4672, 365, 18, 6540, 67, 3813, 67, 10686, 12, 74, 16, 9154, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3144, 67, 896, 3548, 67, 3813, 12, 2890, 16, 284, 16, 9154, 4672, 365, 18, 6540, 67, 3813, 67, 10686, 12, 74, 16, 9154, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
setup(name="pyasn1", version="0.0.11a", description="ASN.1 library for Python", author="Ilya Etingof", author_email="ilya@glas.net ", url="http://sourceforge.net/projects/pyasn1/",
setup(name = 'pyasn1', version = '0.0.11a', description = 'ASN.1 types and codecs', author = 'Ilya Etingof', author_email = 'ilya@glas.net', url = 'http://sourceforge.net/projects/pyasn1/', license = 'BSD',
def howto_install_setuptools(): print """Error: You need setuptools Python package!
a863b43b7cdfaf34d47395ad3c2e8488a87d3ff0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8754/a863b43b7cdfaf34d47395ad3c2e8488a87d3ff0/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3661, 869, 67, 5425, 67, 542, 30693, 13332, 1172, 3536, 668, 30, 4554, 1608, 444, 30693, 6600, 2181, 5, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3661, 869, 67, 5425, 67, 542, 30693, 13332, 1172, 3536, 668, 30, 4554, 1608, 444, 30693, 6600, 2181, 5, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
temp = line[91:].strip().split() for i in range(1,len(temp),2): mosyms.append(self.normalisesym(temp[i])) line = inputfile.next() assert len(mosyms) == self.nmo
if decomposition: temp = line[91:].strip().split() for i in range(1,len(temp),2): mosyms.append(self.normalisesym(temp[i])) else: temp = line[25:30].strip() mosyms.append(self.normalisesym(temp)) line = inputfile.next() assert len(mosyms) == self.nmo, "mosyms: %d but nmo: %d" % (len(mosyms), self.nmo)
def parse(self, fupdate=0.05, cupdate=0.002): """Extract information from the logfile.""" inputfile = open(self.filename, "r") if self.progress: inputfile.seek(0, 2) #go to end of file nstep = inputfile.tell() inputfile.seek(0) self.progress.initialize(nstep) oldstep = 0
8e850041a0914ec3e7b9e0cbb256947272a2065b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8167/8e850041a0914ec3e7b9e0cbb256947272a2065b/gamessukparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 284, 2725, 33, 20, 18, 6260, 16, 276, 2725, 33, 20, 18, 24908, 4672, 3536, 4976, 1779, 628, 326, 15204, 12123, 810, 768, 273, 1696, 12, 2890, 18, 3459, 16, 315, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 284, 2725, 33, 20, 18, 6260, 16, 276, 2725, 33, 20, 18, 24908, 4672, 3536, 4976, 1779, 628, 326, 15204, 12123, 810, 768, 273, 1696, 12, 2890, 18, 3459, 16, 315, 8...
sage: p.coeffs()
sage: p.coefficients()
def coeffs(self, x=None): r""" Coefficients of \code{self} as a polynomial in x.
2e32b7247af3731db881ec5bd651880a8fc8c790 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2e32b7247af3731db881ec5bd651880a8fc8c790/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16530, 12, 2890, 16, 619, 33, 7036, 4672, 436, 8395, 7695, 73, 12344, 434, 521, 710, 95, 2890, 97, 487, 279, 16991, 316, 619, 18, 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, 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, 16530, 12, 2890, 16, 619, 33, 7036, 4672, 436, 8395, 7695, 73, 12344, 434, 521, 710, 95, 2890, 97, 487, 279, 16991, 316, 619, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Register the current process and params to an XML document. Any additional keyword arguments are passed to append_process(). Returns the new row from the process table.
Register the current process and params to an XML document. program is the name of the program. paramdict is a dictionary of name/value pairs that will be used to populate the process_params table (the LIGO Light Weight type string for each param will be deduced from the Python type of the param). Any additional keyw...
def register_to_xmldoc(xmldoc, program, paramdict, **kwargs): """ Register the current process and params to an XML document. Any additional keyword arguments are passed to append_process(). Returns the new row from the process table. """ process = append_process(xmldoc, program = program, **kwargs) append_process_par...
92e12511496fe2174d79c671b4b26c787d1be4f3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3589/92e12511496fe2174d79c671b4b26c787d1be4f3/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 869, 67, 2902, 2434, 12, 2902, 2434, 16, 5402, 16, 579, 1576, 16, 2826, 4333, 4672, 3536, 5433, 326, 783, 1207, 471, 859, 358, 392, 3167, 1668, 18, 5402, 353, 326, 508, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 869, 67, 2902, 2434, 12, 2902, 2434, 16, 5402, 16, 579, 1576, 16, 2826, 4333, 4672, 3536, 5433, 326, 783, 1207, 471, 859, 358, 392, 3167, 1668, 18, 5402, 353, 326, 508, 434, ...