rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if res:
if res:
def onSuccess(result): if type(result) == dict and "faultCode" in result: self.logger.warning('Imaging: While processing result for %s : %s' % (MACAddress, result['faultTraceback'])) return False try: if result[0]: self.myUUIDCache.set(result[1]['uuid'], MACAddress, result[1]['shortname'], result[1]['fqdn']) self.logge...
9243f98ba17d3c22702ab69f4700cc04c9ed9c91 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/9243f98ba17d3c22702ab69f4700cc04c9ed9c91/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20613, 12, 2088, 4672, 309, 618, 12, 2088, 13, 422, 2065, 471, 315, 643, 1085, 6, 316, 563, 30, 365, 18, 4901, 18, 8551, 2668, 1170, 5755, 30, 21572, 4929, 563, 364, 738, 87, 294, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20613, 12, 2088, 4672, 309, 618, 12, 2088, 13, 422, 2065, 471, 315, 643, 1085, 6, 316, 563, 30, 365, 18, 4901, 18, 8551, 2668, 1170, 5755, 30, 21572, 4929, 563, 364, 738, 87, 294, 73...
print "len:", cantdata
def server(evt): serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serv.settimeout(3) serv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) serv.bind(("", 9093)) serv.listen(5) try: conn, addr = serv.accept() conn.send("1 Hola mundo\n") cantdata = 0 while cantdata < 13: print "len:", cantdata data = conn.re...
10a865efe0f8d1aac32c1fb87ce2fe92475fef61 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/10a865efe0f8d1aac32c1fb87ce2fe92475fef61/test_urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1438, 12, 73, 11734, 4672, 13515, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 13515, 18, 542, 4538, 12, 23, 13, 13515, 18, 4424, 27844,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1438, 12, 73, 11734, 4672, 13515, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 13515, 18, 542, 4538, 12, 23, 13, 13515, 18, 4424, 27844,...
(self.imageWidth, self.imageHeight) = self._img.getSize()
img = self._img if img: self.imageWidth, self.imageHeight = img.getSize()
def _setup_inner(self): width = self._width height = self._height kind = self._kind (self.imageWidth, self.imageHeight) = self._img.getSize() if self._lazy>=2: del self._img if kind in ['direct','absolute']: self.drawWidth = width or self.imageWidth self.drawHeight = height or self.imageHeight elif kind in ['percentage...
a629ef0836e01b3b76eac570c0a5221b4436b1e6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/a629ef0836e01b3b76eac570c0a5221b4436b1e6/flowables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8401, 67, 7872, 12, 2890, 4672, 1835, 273, 365, 6315, 2819, 2072, 273, 365, 6315, 4210, 3846, 273, 365, 6315, 9224, 3774, 273, 365, 6315, 6081, 309, 3774, 30, 365, 18, 2730, 2384, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8401, 67, 7872, 12, 2890, 4672, 1835, 273, 365, 6315, 2819, 2072, 273, 365, 6315, 4210, 3846, 273, 365, 6315, 9224, 3774, 273, 365, 6315, 6081, 309, 3774, 30, 365, 18, 2730, 2384, ...
m.kind = name
m.kind = name[:-5]
def makeMarker(name): if Marker._attrMap['kind'].validate(name): m = Marker() m.kind = name elif Flag._attrMap['kind'].validate(name): m = Flag() m.kind = name m.size = 10 else: raise ValueError, "Invalid marker name %s" % name return m
a77c0498a33204c6e4648a002751383ee882429f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/a77c0498a33204c6e4648a002751383ee882429f/markers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 7078, 12, 529, 4672, 309, 14742, 6315, 1747, 863, 3292, 9224, 29489, 5662, 12, 529, 4672, 312, 273, 14742, 1435, 312, 18, 9224, 273, 508, 10531, 17, 25, 65, 1327, 9960, 6315, 1747,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7078, 12, 529, 4672, 309, 14742, 6315, 1747, 863, 3292, 9224, 29489, 5662, 12, 529, 4672, 312, 273, 14742, 1435, 312, 18, 9224, 273, 508, 10531, 17, 25, 65, 1327, 9960, 6315, 1747,...
self.assertEqual(unicode('+3ADYAA-', 'utf-7', 'replace'), u'\ufffd') self.assertRaises(UnicodeDecodeError, '+\xc1'.decode, 'utf-7')
self.assertEqual(unicode('+3ADYAA-', 'utf-7', 'replace'), u'\ufffd\ufffd') set_d = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?" set_o = '!" for c in set_d: self.assertEqual(c.encode('utf7'), c.encode('ascii')) self.assertEqual(c.encode('ascii').decode('utf7'), c) for c in set_o: self.ass...
def test_codecs_utf7(self): utfTests = [ (u'A\u2262\u0391.', 'A+ImIDkQ.'), # RFC2152 example (u'Hi Mom -\u263a-!', 'Hi Mom -+Jjo--!'), # RFC2152 example (u'\u65E5\u672C\u8A9E', '+ZeVnLIqe-'), # RFC2152 example (u'Item 3 is \u00a31.', 'Item 3 is +AKM-1.'), # RFC2152 example (u'+', '+-'), (u'+-', '...
653dece278ca0e836651de290aaf22335dd476b0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/653dece278ca0e836651de290aaf22335dd476b0/test_unicode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 710, 2143, 67, 3158, 27, 12, 2890, 4672, 7718, 14650, 273, 306, 261, 89, 11, 37, 64, 89, 3787, 8898, 64, 89, 4630, 12416, 1093, 16, 296, 37, 15, 1170, 734, 79, 53, 1093, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 710, 2143, 67, 3158, 27, 12, 2890, 4672, 7718, 14650, 273, 306, 261, 89, 11, 37, 64, 89, 3787, 8898, 64, 89, 4630, 12416, 1093, 16, 296, 37, 15, 1170, 734, 79, 53, 1093, ...
for name, label in strings.items(): id = 'menuitem-%s' % name.replace('_', '-') frontend.jsBridge.updateLabel(id, label)
def onSelectedTabChange(self, strings, actionGroups, guideURL, videoFilename): app.controller.setGuideURL(guideURL) if videoFilename is not None: frontend.jsBridge.updateVideoFilename(os.path.basename(videoFilename)) else: frontend.jsBridge.updateVideoFilename('') frontend.currentVideoPath = videoFilename for group, en...
361de5c737651687b7aefc36a73aa2a67b47f027 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12354/361de5c737651687b7aefc36a73aa2a67b47f027/MainFrame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 7416, 5661, 3043, 12, 2890, 16, 2064, 16, 1301, 3621, 16, 7343, 1785, 16, 6191, 5359, 4672, 595, 18, 5723, 18, 542, 17424, 1785, 12, 12118, 1785, 13, 309, 6191, 5359, 353, 486, 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, 603, 7416, 5661, 3043, 12, 2890, 16, 2064, 16, 1301, 3621, 16, 7343, 1785, 16, 6191, 5359, 4672, 595, 18, 5723, 18, 542, 17424, 1785, 12, 12118, 1785, 13, 309, 6191, 5359, 353, 486, 59...
0.9092974
0.90929741
def function_call(self, function, args=None, kwds=None): """ Calls the Lisp function with given args and kwds. For Lisp functions, the kwds are ignored.
b632467e5ca0a0b91320f57f8c4c3d90b498427e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/b632467e5ca0a0b91320f57f8c4c3d90b498427e/lisp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 33, 7036, 16, 17149, 33, 7036, 4672, 3536, 23665, 326, 511, 23831, 445, 598, 864, 833, 471, 17149, 18, 2457, 511, 23831, 4186, 16, 326, 17149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 33, 7036, 16, 17149, 33, 7036, 4672, 3536, 23665, 326, 511, 23831, 445, 598, 864, 833, 471, 17149, 18, 2457, 511, 23831, 4186, 16, 326, 17149...
lostUnits
lostUnits, Full_coi, COMM_CATEGORY_CODE, COMM_CODE, PCKKCODE, ALLCODE, QUALITY
def write_receipt_waybill_compas(self,waybill_id): db = cx_Oracle.Connection(u'TESTJERX001/TESTJERX001@//10.11.216.4:1521/JERX001') cursor = db.cursor()#connections['compas'].cursor() self.ErrorMessages = '' self.ErrorCodes = '' the_waybill = Waybill.objects.get(id=waybill_id) lineItems = the_waybill.loadingdetail_set...
fd2d935abe7610a5b62b8224fdcc7e805967c5bc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12559/fd2d935abe7610a5b62b8224fdcc7e805967c5bc/compas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 8606, 8138, 67, 1888, 17240, 67, 2919, 345, 12, 2890, 16, 1888, 17240, 67, 350, 4672, 1319, 273, 9494, 67, 23601, 18, 1952, 12, 89, 11, 16961, 46, 654, 60, 11664, 19, 16961, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 8606, 8138, 67, 1888, 17240, 67, 2919, 345, 12, 2890, 16, 1888, 17240, 67, 350, 4672, 1319, 273, 9494, 67, 23601, 18, 1952, 12, 89, 11, 16961, 46, 654, 60, 11664, 19, 16961, ...
print "TSFT cannot be read"
print >> sys.stderr, "TSFT cannot be read"
def main(): # Import the Configuration File into config # Import the Configuration File into config if(len(sys.argv) < 2): print "Insufficient command line arguments " print " Usage is ",sys.argv[0]," <ConfigFile> {Job Number} " print " Exiting ........." sys.exit(1) try: config = __import__(sys.argv[1]); except: pri...
9f242671e9d0d7238a0ede41c485e14209156b6b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/9f242671e9d0d7238a0ede41c485e14209156b6b/multiresamp_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 468, 6164, 326, 4659, 1387, 1368, 642, 468, 6164, 326, 4659, 1387, 1368, 642, 309, 12, 1897, 12, 9499, 18, 19485, 13, 411, 576, 4672, 1172, 315, 5048, 11339, 1296, 980,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 468, 6164, 326, 4659, 1387, 1368, 642, 468, 6164, 326, 4659, 1387, 1368, 642, 309, 12, 1897, 12, 9499, 18, 19485, 13, 411, 576, 4672, 1172, 315, 5048, 11339, 1296, 980,...
return HEADER_SIZE + (max_block+1) * self.sector_size
else: return HEADER_SIZE + (max_block+1) * self.sector_size
def createContentSize(self): max_block = -1 for fat in self.array("bbfat"): for entry in fat: block = entry.value if 0 < block: max_block = max(block, max_block) if max_block < 0: return None return HEADER_SIZE + (max_block+1) * self.sector_size
2a6ddc4a37c6f267f96bd90dd03c7762f903e2f2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9327/2a6ddc4a37c6f267f96bd90dd03c7762f903e2f2/ole2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 1350, 1225, 12, 2890, 4672, 943, 67, 2629, 273, 300, 21, 364, 284, 270, 316, 365, 18, 1126, 2932, 9897, 74, 270, 6, 4672, 364, 1241, 316, 284, 270, 30, 1203, 273, 1241, 18, 1132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1350, 1225, 12, 2890, 4672, 943, 67, 2629, 273, 300, 21, 364, 284, 270, 316, 365, 18, 1126, 2932, 9897, 74, 270, 6, 4672, 364, 1241, 316, 284, 270, 30, 1203, 273, 1241, 18, 1132...
self.only_registered = tf2bool(row[2]) self.only_admin = tf2bool(row[3]) self.only_sysadmin = tf2bool(row[4])
self.only_dynamic = tf2bool(row[2]) self.only_registered = tf2bool(row[3]) self.only_admin = tf2bool(row[4]) self.only_sysadmin = tf2bool(row[5]) self.dynamic_count = int(db.read_value('SELECT COUNT(*) FROM page WHERE only_dynamic'))
def load(self, row): self.code = trim(row[0]) self.sort_order = safeint(row[1]) self.only_registered = tf2bool(row[2]) self.only_admin = tf2bool(row[3]) self.only_sysadmin = tf2bool(row[4]) self.registered_count = int(db.read_value('SELECT COUNT(*) FROM page WHERE only_registered or only_admin or...
076b15b1c97d57e9f42e83a3568b1d2350396f3e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6947/076b15b1c97d57e9f42e83a3568b1d2350396f3e/WebLayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 12, 2890, 16, 1027, 4672, 365, 18, 710, 1082, 1377, 273, 2209, 12, 492, 63, 20, 5717, 365, 18, 3804, 67, 1019, 4202, 273, 4183, 474, 12, 492, 63, 21, 5717, 365, 18, 3700, 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, 1262, 12, 2890, 16, 1027, 4672, 365, 18, 710, 1082, 1377, 273, 2209, 12, 492, 63, 20, 5717, 365, 18, 3804, 67, 1019, 4202, 273, 4183, 474, 12, 492, 63, 21, 5717, 365, 18, 3700, 67, ...
parent.job().get_pegasus_exec_dir(), dax_basename + '_0') )
parent.job().get_pegasus_exec_dir(), dax_basename + '_0.cache') )
def recurse_pfn_cache(node,caches=[]): for parent in node._CondorDAGNode__parents: if isinstance(parent.job(), CondorDAGManJob): if parent.job().get_dax() is None: pass else: caches = recurse_pfn_cache(parent,caches) dax_name = os.path.basename(parent.job().get_dax()) dax_basename = '.'.join(dax_name.split('.')[0:-1]) ...
444df41c387b572f8d1af98af9fe7770169ad36d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/444df41c387b572f8d1af98af9fe7770169ad36d/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11502, 67, 84, 4293, 67, 2493, 12, 2159, 16, 17703, 281, 33, 8526, 4672, 364, 982, 316, 756, 6315, 12441, 280, 40, 1781, 907, 972, 12606, 30, 309, 1549, 12, 2938, 18, 4688, 9334, 735, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11502, 67, 84, 4293, 67, 2493, 12, 2159, 16, 17703, 281, 33, 8526, 4672, 364, 982, 316, 756, 6315, 12441, 280, 40, 1781, 907, 972, 12606, 30, 309, 1549, 12, 2938, 18, 4688, 9334, 735, ...
}, -2)
}, -2)
def __init__(self, session): Screen.__init__(self, session) HelpableScreen.__init__(self) self.backupNameserverList = iNetwork.getNameserverList()[:] print "backup-list:", self.backupNameserverList self["ButtonGreentext"] = Label(_("Add")) self["ButtonYellowtext"] = Label(_("Delete")) self["ButtonRedtext"] = Label(_("...
18dcac668d46858377cc8c1ac55fc72fa62ecc0e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/18dcac668d46858377cc8c1ac55fc72fa62ecc0e/NetworkSetup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 11288, 429, 7956, 16186, 2738, 972, 12, 2890, 13, 365, 18, 9572, 1557, 12330, 682, 273, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 11288, 429, 7956, 16186, 2738, 972, 12, 2890, 13, 365, 18, 9572, 1557, 12330, 682, 273, 277, ...
"PRUint32 count, const nsID **iids);\n"
"PRUint32 count, const nsID **iids);\n\n" "void " + name + "_MarkInterfaces();\n\n" "void " + name + "_ClearInterfaces();\n\n"
"#ifndef " + headerMacro + "\n"
b10cc8d19e2aa919583f608bf70ff0b7f0fa915b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11102/b10cc8d19e2aa919583f608bf70ff0b7f0fa915b/qsgen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6619, 430, 82, 536, 315, 397, 1446, 17392, 397, 1548, 82, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6619, 430, 82, 536, 315, 397, 1446, 17392, 397, 1548, 82, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.remote_branch_label = local_branch.get_parent().replace("%7E", "~") self.local_extra, self.remote_extra = find_unmerged(local_branch, remote_branch) if len(self.local_extra) <> 0: if int(self.local_extra[len(self.local_extra) - 1][0]) > self.local_branch_: self.actually_changed = True self.write_cache_file() if ...
if remote_branch: self.remote_branch_label = local_branch.get_parent().replace("%7E", "~") self.local_extra, self.remote_extra = find_unmerged(local_branch, remote_branch) if len(self.local_extra) <> 0: if int(self.local_extra[len(self.local_extra) - 1][0]) > self.local_branch_: self.actually_changed = True self.write...
def check(self): """ See if a folder's contents were modified or created. """ try: self.read_cache_file() local_branch = Branch.open_containing(self.folder)[0] remote_branch = Branch.open_containing(local_branch.get_parent())[0] self.remote_branch_label = local_branch.get_parent().replace("%7E", "~") self.local_extra, ...
cce299b9580f75ae6b3e26a27e82367cfb0d5d5c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10818/cce299b9580f75ae6b3e26a27e82367cfb0d5d5c/watch_vc_bazaar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 3536, 2164, 309, 279, 3009, 1807, 2939, 4591, 4358, 578, 2522, 18, 3536, 775, 30, 365, 18, 896, 67, 2493, 67, 768, 1435, 1191, 67, 7500, 273, 15449, 18, 3190, 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, 866, 12, 2890, 4672, 3536, 2164, 309, 279, 3009, 1807, 2939, 4591, 4358, 578, 2522, 18, 3536, 775, 30, 365, 18, 896, 67, 2493, 67, 768, 1435, 1191, 67, 7500, 273, 15449, 18, 3190, 67, ...
raise ValueError("illegal content-type")
raise ValueError("illegal content-type: %s" % value)
def __new__(cls, value): if value == '*': return value try: type, subtype = value.split('/') except ValueError: raise ValueError("illegal content-type") else: if type == '*': raise ValueError("illegal content-type") return value
afe0134b526dece313862cedf05d57e9ef79a33c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/afe0134b526dece313862cedf05d57e9ef79a33c/datatypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 460, 4672, 309, 460, 422, 5306, 30, 327, 460, 775, 30, 618, 16, 12308, 273, 460, 18, 4939, 2668, 2473, 13, 1335, 2068, 30, 1002, 2068, 2932, 31751, 913, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 460, 4672, 309, 460, 422, 5306, 30, 327, 460, 775, 30, 618, 16, 12308, 273, 460, 18, 4939, 2668, 2473, 13, 1335, 2068, 30, 1002, 2068, 2932, 31751, 913, ...
def mergeUniquePackages(collapse_group, parts, packages):
def mergeUniquePackages(collapse_group, parts, packages, seen_targets):
def mergeUniquePackages(collapse_group, parts, packages): self._console.debug("collapsing unique packages...") self._console.indent() for part in collapse_group: for packId in reversed(part.packages): # start with "smallest" package package = packages[packId] if isUnique(package, collapse_group): self._mergePackage1(...
bcd212c02162ed0bc1637834a9115f4b6d533a0d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/bcd212c02162ed0bc1637834a9115f4b6d533a0d/PartBuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2691, 6303, 11425, 12, 21405, 67, 1655, 16, 2140, 16, 5907, 16, 5881, 67, 11358, 4672, 365, 6315, 8698, 18, 4148, 2932, 1293, 3762, 2470, 3089, 5907, 7070, 13, 365, 6315, 8698, 18, 9355,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2691, 6303, 11425, 12, 21405, 67, 1655, 16, 2140, 16, 5907, 16, 5881, 67, 11358, 4672, 365, 6315, 8698, 18, 4148, 2932, 1293, 3762, 2470, 3089, 5907, 7070, 13, 365, 6315, 8698, 18, 9355,...
self.on_qToolButton_nextStream_clicked(0)
self.on_qToolButton_nextStream_clicked()
def __mpl_keyPressEvent(self, ev): if self.widgets.qToolButton_showMap.isChecked(): return keys = self.keys phase_type = str(self.widgets.qComboBox_phaseType.currentText()) dict = self.dicts[self.stPt] st = self.streams[self.stPt] ####################################################################### # Start of key e...
30a4a1a67243731364c367eb9b25d014d6034ac3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/30a4a1a67243731364c367eb9b25d014d6034ac3/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10514, 67, 856, 11840, 1133, 12, 2890, 16, 2113, 4672, 309, 365, 18, 18148, 18, 85, 6364, 3616, 67, 4500, 863, 18, 291, 11454, 13332, 327, 1311, 273, 365, 18, 2452, 6855, 67, 723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10514, 67, 856, 11840, 1133, 12, 2890, 16, 2113, 4672, 309, 365, 18, 18148, 18, 85, 6364, 3616, 67, 4500, 863, 18, 291, 11454, 13332, 327, 1311, 273, 365, 18, 2452, 6855, 67, 723...
result = codec_search_cache.get(encoding,None)
result = codec_search_cache.get(encoding, None)
def codec_lookup(encoding): """lookup(encoding) -> (encoder, decoder, stream_reader, stream_writer) Looks up a codec tuple in the Python codec registry and returns a tuple of functions. """ result = codec_search_cache.get(encoding,None) if not result: if codec_need_encodings: import encodings if len(codec_search_path)...
16ed2024742360e02d96bf99f8cb5ce4527577cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/16ed2024742360e02d96bf99f8cb5ce4527577cd/app_codecs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9196, 67, 8664, 12, 5999, 4672, 3536, 8664, 12, 5999, 13, 317, 261, 16480, 16, 8320, 16, 1407, 67, 10530, 16, 1407, 67, 6299, 13, 10176, 87, 731, 279, 9196, 3193, 316, 326, 6600, 9196,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9196, 67, 8664, 12, 5999, 4672, 3536, 8664, 12, 5999, 13, 317, 261, 16480, 16, 8320, 16, 1407, 67, 10530, 16, 1407, 67, 6299, 13, 10176, 87, 731, 279, 9196, 3193, 316, 326, 6600, 9196,...
try: conn.send("lssyscfg -r lpar -m " + options["-s"] + " -F name:state\n") conn.log_expect(options, options["-c"], POWER_TIMEOUT)
if options["-H"] == "3": try: conn.send("query_partition_names -m " + options["-s"] + "\n") conn.log_expect(options, options["-c"], POWER_TIMEOUT)
def get_lpar_list(conn, options): outlets = { } try: conn.send("lssyscfg -r lpar -m " + options["-s"] + " -F name:state\n") conn.log_expect(options, options["-c"], POWER_TIMEOUT) ## We have to remove first line (command) and last line (part of new prompt) #### res = re.search("^.+?\n(.*)\n.*$", conn.before, re.S) if ...
96e27b8d2247d64abc53633ba81cc0cff474d668 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6868/96e27b8d2247d64abc53633ba81cc0cff474d668/fence_lpar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 80, 1065, 67, 1098, 12, 4646, 16, 702, 4672, 596, 17307, 273, 288, 289, 309, 702, 9614, 17, 44, 11929, 422, 315, 23, 6877, 775, 30, 1487, 18, 4661, 2932, 2271, 67, 10534, 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, 336, 67, 80, 1065, 67, 1098, 12, 4646, 16, 702, 4672, 596, 17307, 273, 288, 289, 309, 702, 9614, 17, 44, 11929, 422, 315, 23, 6877, 775, 30, 1487, 18, 4661, 2932, 2271, 67, 10534, 67...
y = np.asarray(y)**2
y = np.asarray(y)
def run(self, y, x, idx=None, split=None, drop=None, alternative='increasing', attach=True): '''see class docstring''' x = np.asarray(x) y = np.asarray(y)**2 nobs, nvars = x.shape if split is None: split = nobs//2 elif (0<split) and (split<1): split = int(nobs*split) if drop is None: start2 = split elif (0<split) and (...
65242e05db93602342fa77d2579bc8cae0fd6ea0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12658/65242e05db93602342fa77d2579bc8cae0fd6ea0/stattools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 677, 16, 619, 16, 2067, 33, 7036, 16, 1416, 33, 7036, 16, 3640, 33, 7036, 16, 10355, 2218, 267, 1793, 11730, 2187, 3306, 33, 5510, 4672, 9163, 5946, 667, 14525, 264...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 677, 16, 619, 16, 2067, 33, 7036, 16, 1416, 33, 7036, 16, 3640, 33, 7036, 16, 10355, 2218, 267, 1793, 11730, 2187, 3306, 33, 5510, 4672, 9163, 5946, 667, 14525, 264...
from setuptools_build_ext import build_ext as setuptools_build_ext from setuptools_extension import Extension etree_c = os.path.join(self.tmp_dir, 'lxml.etree.c') etree_ext = Extension('lxml.etree', [etree_c]) dist = Distribution({'name': 'lxml', 'ext_modules': [etree_ext]}) cmd = setuptools_build_ext(dist) cmd.ensure...
import distutils.core, distutils.extension, distutils.command.build_ext saved_ext = distutils.extension.Extension try: from setuptools_build_ext import build_ext as setuptools_build_ext from setuptools_extension import Extension etree_c = os.path.join(self.tmp_dir, 'lxml.etree.c') etree_ext = Extension('lxml.etree', ...
def test_setuptools_compat(self): from setuptools_build_ext import build_ext as setuptools_build_ext from setuptools_extension import Extension
14b60886a63fde43197e72d21b7c4c01c4a37db3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/14b60886a63fde43197e72d21b7c4c01c4a37db3/test_build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 542, 30693, 67, 16239, 12, 2890, 4672, 628, 444, 30693, 67, 3510, 67, 408, 1930, 1361, 67, 408, 487, 444, 30693, 67, 3510, 67, 408, 628, 444, 30693, 67, 6447, 1930, 10021, 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, 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, 542, 30693, 67, 16239, 12, 2890, 4672, 628, 444, 30693, 67, 3510, 67, 408, 1930, 1361, 67, 408, 487, 444, 30693, 67, 3510, 67, 408, 628, 444, 30693, 67, 6447, 1930, 10021, 2,...
port=port, ssh_key=key, post_upload_command=post_upload_command,
port=port, ssh_key=key, upload_to_temp_dir=upload_to_temp_dir, post_upload_command=post_upload_command,
def UploadFiles(user, host, path, files, verbose=False, port=None, ssh_key=None, base_path=None, post_upload_command=None): """Upload each file in the list files to user@host:path. Optionally pass port and ssh_key to the ssh commands. If base_path is not None, upload files including their path relative to base_path. If...
cc16eafcdbcfbf03ef9bbe4d97328c8a833578ae /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11102/cc16eafcdbcfbf03ef9bbe4d97328c8a833578ae/upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 2697, 12, 1355, 16, 1479, 16, 589, 16, 1390, 16, 3988, 33, 8381, 16, 1756, 33, 7036, 16, 7056, 67, 856, 33, 7036, 16, 1026, 67, 803, 33, 7036, 16, 1603, 67, 6327, 67, 3076, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 2697, 12, 1355, 16, 1479, 16, 589, 16, 1390, 16, 3988, 33, 8381, 16, 1756, 33, 7036, 16, 7056, 67, 856, 33, 7036, 16, 1026, 67, 803, 33, 7036, 16, 1603, 67, 6327, 67, 3076, 3...
paths.insert(0, self._webkit_baseline_path(self._name))
paths.insert(0, self._webkit_baseline_path( 'google-chrome-linux64'))
def baseline_search_path(self): paths = chromium_linux.ChromiumLinuxPort.baseline_search_path( self) paths.insert(0, self._webkit_baseline_path(self._name)) return paths
d7f4bb42307e56dedf9654922fe4662cc2ac9e67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/d7f4bb42307e56dedf9654922fe4662cc2ac9e67/google_chrome.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14243, 67, 3072, 67, 803, 12, 2890, 4672, 2953, 273, 8123, 5077, 67, 20132, 18, 30761, 5077, 19475, 2617, 18, 27818, 67, 3072, 67, 803, 12, 365, 13, 2953, 18, 6387, 12, 20, 16, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14243, 67, 3072, 67, 803, 12, 2890, 4672, 2953, 273, 8123, 5077, 67, 20132, 18, 30761, 5077, 19475, 2617, 18, 27818, 67, 3072, 67, 803, 12, 365, 13, 2953, 18, 6387, 12, 20, 16, 365, ...
def __init__(self, api, slice_id_or_name_list = None):
def __init__(self, api, slice_id_or_name_list = None, expires = int(time.time())):
def __init__(self, api, slice_id_or_name_list = None): self.api = api
e15691dd2f64530a2f1ef1a8636d443ae47fe0ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/e15691dd2f64530a2f1ef1a8636d443ae47fe0ae/Slices.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1536, 16, 2788, 67, 350, 67, 280, 67, 529, 67, 1098, 273, 599, 16, 7368, 273, 509, 12, 957, 18, 957, 1435, 3719, 30, 365, 18, 2425, 273, 1536, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1536, 16, 2788, 67, 350, 67, 280, 67, 529, 67, 1098, 273, 599, 16, 7368, 273, 509, 12, 957, 18, 957, 1435, 3719, 30, 365, 18, 2425, 273, 1536, 2, -10...
def test_AuthorizedAsChan12(self): self.doTestAndCheck12(conn_chan)
def test_AuthorizedAsChan12(self): self.doTestAndCheck12(conn_chan)
091168d98667491ee6176464a27d5a3e2a269f75 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6226/091168d98667491ee6176464a27d5a3e2a269f75/cftest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 15341, 1463, 6255, 2138, 12, 2890, 4672, 365, 18, 2896, 4709, 31151, 2138, 12, 4646, 67, 7472, 13, 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, 1842, 67, 15341, 1463, 6255, 2138, 12, 2890, 4672, 365, 18, 2896, 4709, 31151, 2138, 12, 4646, 67, 7472, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
for delimiter in _DELIMITERS_WORDS: if len(delimiter) > len(longest[1]) and word.endswith(delimiter): word = word.rpartition(delimiter) longest = (word[0], word[1])
def test_paragraph_mean(self): self.assertEquals(self.generator.paragraph_mean, 2)
def _get_word_info(word): longest = (word, "") for delimiter in _DELIMITERS_WORDS: if len(delimiter) > len(longest[1]) and word.endswith(delimiter): word = word.rpartition(delimiter) longest = (word[0], word[1]) return (len(longest[0]), longest[1])
fa9e6662a1f30cb272942f25e233798ee7edac45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3480/fa9e6662a1f30cb272942f25e233798ee7edac45/testlipsum.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1095, 67, 1376, 12, 1095, 4672, 12163, 273, 261, 1095, 16, 1408, 13, 225, 1652, 1842, 67, 22445, 67, 7079, 12, 2890, 4672, 365, 18, 11231, 8867, 12, 2890, 18, 8812, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1095, 67, 1376, 12, 1095, 4672, 12163, 273, 261, 1095, 16, 1408, 13, 225, 1652, 1842, 67, 22445, 67, 7079, 12, 2890, 4672, 365, 18, 11231, 8867, 12, 2890, 18, 8812, 18, ...
if event.state != gtk.gdk.SHIFT_MASK and event.state != gtk.gdk.CONTROL_MASK and event.state != gtk.gdk.MOD1_MASK and event.state != gtk.gdk.CONTROL_MASK | gtk.gdk.MOD2_MASK:
if event.state != gtk.gdk.SHIFT_MASK and event.state != gtk.gdk.CONTROL_MASK and event.state != gtk.gdk.MOD1_MASK and event.state != gtk.gdk.CONTROL_MASK | gtk.gdk.MOD2_MASK and event.state != gtk.gdk.LOCK_MASK | gtk.gdk.CONTROL_MASK:
def topwindow_keypress(self, widget, event): if event.state != gtk.gdk.SHIFT_MASK and event.state != gtk.gdk.CONTROL_MASK and event.state != gtk.gdk.MOD1_MASK and event.state != gtk.gdk.CONTROL_MASK | gtk.gdk.MOD2_MASK: if event.keyval == 65361: # Left arrow
1c17d458f65b213687f9e04befcc4d29dbae7a76 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/1c17d458f65b213687f9e04befcc4d29dbae7a76/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1760, 5668, 67, 856, 1028, 12, 2890, 16, 3604, 16, 871, 4672, 309, 871, 18, 2019, 480, 22718, 18, 75, 2883, 18, 23191, 67, 11704, 471, 871, 18, 2019, 480, 22718, 18, 75, 2883, 18, 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, 1760, 5668, 67, 856, 1028, 12, 2890, 16, 3604, 16, 871, 4672, 309, 871, 18, 2019, 480, 22718, 18, 75, 2883, 18, 23191, 67, 11704, 471, 871, 18, 2019, 480, 22718, 18, 75, 2883, 18, 18...
else
else:
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 864) else quickfix.IntField.__init__(self, 864, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 19663, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 19663, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 9...
pth = os.path.join(self.path, nm)
pth = os.path.join(self.fspath, nm) pth=pth.replace('.', '/')
def getmod(self, nm, getsuffixes=imp.get_suffixes, loadco=marshal.loads, newmod=imp.new_module): # this is taken almost verbatim from # Gordon McMillan's iu.DirOwner.getmod, # except that vfs methods are used pth = os.path.join(self.path, nm) possibles = [(pth, 0, None)] if self.fs.isdir(pth): possibles.insert(0, (os....
a3726ade43a8d62cf09a127a6b7142e87249157d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5832/a3726ade43a8d62cf09a127a6b7142e87249157d/importer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1711, 12, 2890, 16, 8442, 16, 5571, 2609, 281, 33, 14532, 18, 588, 67, 8477, 281, 16, 1262, 2894, 33, 3108, 18, 17135, 16, 394, 1711, 33, 14532, 18, 2704, 67, 2978, 4672, 468, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1711, 12, 2890, 16, 8442, 16, 5571, 2609, 281, 33, 14532, 18, 588, 67, 8477, 281, 16, 1262, 2894, 33, 3108, 18, 17135, 16, 394, 1711, 33, 14532, 18, 2704, 67, 2978, 4672, 468, 3...
self.HandleViewRequest(jabber_id)
self.HandleViewRequest(jabberID)
def PermissionsChanged(self, view): for jabberID in self.openPeers.keys(): if self.openPeers[jabberID] == 1: self.HandleViewRequest(jabber_id)
60aa9aa211cac0941cc271415a00ce1fe66a023f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/60aa9aa211cac0941cc271415a00ce1fe66a023f/ChandlerJabber.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15684, 5033, 12, 2890, 16, 1476, 4672, 364, 525, 378, 744, 734, 316, 365, 18, 3190, 14858, 18, 2452, 13332, 309, 365, 18, 3190, 14858, 63, 78, 378, 744, 734, 65, 422, 404, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15684, 5033, 12, 2890, 16, 1476, 4672, 364, 525, 378, 744, 734, 316, 365, 18, 3190, 14858, 18, 2452, 13332, 309, 365, 18, 3190, 14858, 63, 78, 378, 744, 734, 65, 422, 404, 30, 365, 1...
return sys.modules[fqname]
module = sys.modules[fqname] module.__name__ = fqname return module
def _process_result(self, (ispkg, code, values), fqname): # did get_code() return an actual module? (rather than a code object) is_module = isinstance(code, _ModuleType)
5941609e5f6f556fdefdcdbc388260bc31e27972 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5941609e5f6f556fdefdcdbc388260bc31e27972/imputil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2088, 12, 2890, 16, 261, 291, 10657, 16, 981, 16, 924, 3631, 8508, 529, 4672, 468, 5061, 336, 67, 710, 1435, 327, 392, 3214, 1605, 35, 261, 86, 4806, 2353, 279, 981, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2088, 12, 2890, 16, 261, 291, 10657, 16, 981, 16, 924, 3631, 8508, 529, 4672, 468, 5061, 336, 67, 710, 1435, 327, 392, 3214, 1605, 35, 261, 86, 4806, 2353, 279, 981, 7...
self.builder.reset()
SGMLParser.reset(self)
def reset(self): Tag.__init__(self, self, self.ROOT_TAG_NAME) self.hidden = 1 self.builder.reset() self.currentData = [] self.currentTag = None self.tagStack = [] self.quoteStack = [] self.pushTag(self)
7300e101f39b7a1a436c6765d140c987cbc58a45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/7300e101f39b7a1a436c6765d140c987cbc58a45/BeautifulSoup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 12, 2890, 4672, 4034, 16186, 2738, 972, 12, 2890, 16, 365, 16, 365, 18, 9185, 67, 7927, 67, 1985, 13, 365, 18, 6345, 273, 404, 348, 43, 1495, 2678, 18, 6208, 12, 2890, 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, 2715, 12, 2890, 4672, 4034, 16186, 2738, 972, 12, 2890, 16, 365, 16, 365, 18, 9185, 67, 7927, 67, 1985, 13, 365, 18, 6345, 273, 404, 348, 43, 1495, 2678, 18, 6208, 12, 2890, 13, 365,...
admin, admin, 'Unexpected Mailman error',
admin, admin, _('Unexpected Mailman error'),
def ParseMailCommands(self, msg): # Break any infloops. If this has come from a Mailman server then # it'll have this header. It's still possible to infloop between two # servers because there's no guaranteed way to know it came from a # bot. if msg['x-beenthere'] or msg['list-id']: return # check the autoresponse st...
fd50f6ba3c52ce475f91f07aef2835cffeada335 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/fd50f6ba3c52ce475f91f07aef2835cffeada335/MailCommandHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2884, 6759, 9127, 12, 2890, 16, 1234, 4672, 468, 17030, 1281, 8286, 383, 4473, 18, 225, 971, 333, 711, 12404, 628, 279, 11542, 4728, 1438, 1508, 468, 518, 5614, 1240, 333, 1446, 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, 2884, 6759, 9127, 12, 2890, 16, 1234, 4672, 468, 17030, 1281, 8286, 383, 4473, 18, 225, 971, 333, 711, 12404, 628, 279, 11542, 4728, 1438, 1508, 468, 518, 5614, 1240, 333, 1446, 18, 225,...
return render_to_response("datarequests/view_datarequest.html", { "datarequest": datarequest, "form": form, },
return render_to_response('datarequests/view_datarequest.html', {'datarequest': datarequest, 'form': form},
def view_datarequest(request, item_id, slug): datarequest = get_object_or_404(DataRequest, pk=item_id) form = PostCommentForm() user = request.user return render_to_response("datarequests/view_datarequest.html", { # This required that view_datarequest MUST NOT pass # in any template arguments but datarequest, user # a...
9f1623add3022da9be49b013fe49ed4f616818c3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2706/9f1623add3022da9be49b013fe49ed4f616818c3/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 67, 892, 2293, 12, 2293, 16, 761, 67, 350, 16, 4959, 4672, 501, 2293, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 751, 691, 16, 2365, 33, 1726, 67, 350, 13, 646, 273, 5616, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 67, 892, 2293, 12, 2293, 16, 761, 67, 350, 16, 4959, 4672, 501, 2293, 273, 336, 67, 1612, 67, 280, 67, 11746, 12, 751, 691, 16, 2365, 33, 1726, 67, 350, 13, 646, 273, 5616, 4...
kwargs = {} if builddir: kwargs['replace_dir'] = map(self.get_build_dir_for, self.src_path) else: kwargs['replace_dir'] = self.src_path sources = rutils.DeepGlob(
return self.get_files( self.src_path,
def get_sources(self, builddir = True): """Returns CXX source files of the project""" kwargs = {} if builddir: kwargs['replace_dir'] = map(self.get_build_dir_for, self.src_path) else: kwargs['replace_dir'] = self.src_path
f6169e5c580d05b718b9c78d8460b56c8efcf9aa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8002/f6169e5c580d05b718b9c78d8460b56c8efcf9aa/project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 10141, 12, 2890, 16, 25666, 330, 449, 481, 273, 1053, 4672, 3536, 1356, 385, 5619, 1084, 1390, 434, 326, 1984, 8395, 1205, 273, 2618, 309, 25666, 330, 449, 481, 30, 1205, 3292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 10141, 12, 2890, 16, 25666, 330, 449, 481, 273, 1053, 4672, 3536, 1356, 385, 5619, 1084, 1390, 434, 326, 1984, 8395, 1205, 273, 2618, 309, 25666, 330, 449, 481, 30, 1205, 3292, ...
mc = make_conf_source( source='/etc/make.conf')
mc = source.create_source(make_conf_source, source='/etc/make.conf')
def post_conf(self, inhibitor_state): super(BaseStage, self).post_conf(inhibitor_state)
d61d312fbaa024a816b78a716f1e46b883e80de3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13627/d61d312fbaa024a816b78a716f1e46b883e80de3/stage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 67, 3923, 12, 2890, 16, 316, 15769, 1811, 67, 2019, 4672, 2240, 12, 2171, 8755, 16, 365, 2934, 2767, 67, 3923, 12, 267, 15769, 1811, 67, 2019, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 67, 3923, 12, 2890, 16, 316, 15769, 1811, 67, 2019, 4672, 2240, 12, 2171, 8755, 16, 365, 2934, 2767, 67, 3923, 12, 267, 15769, 1811, 67, 2019, 13, 2, -100, -100, -100, -100, -100...
if node.position[0] <= x <= (node.position[0] + node.size[0]) and \ node.position[1] <= y <= (node.position[1] + node.size[1]): if isPress: self.lastPressedNode = node elif isRelease: self.lastReleasedNode = node break
try: if node.position: if node.position[0] <= x <= (node.position[0] + node.size[0]) and \ node.position[1] <= y <= (node.position[1] + node.size[1]): if isPress: self.lastPressedNode = node elif isRelease: self.lastReleasedNode = node break except AttributeError: pass
def onMouseButton(self, event): #logEvent(event) isPress = isRelease = False if "mouse:button:1" not in event.type: return elif event.type == "mouse:button:1p": isPress = True elif event.type == "mouse:button:1r": isRelease = True # The source node is always "main" - which sucks. # sourceNode = dogtail.tree.Node(even...
7ca1dced869b8341bac22f59f9225a7baceb4b3f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10139/7ca1dced869b8341bac22f59f9225a7baceb4b3f/recorder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21000, 3616, 12, 2890, 16, 871, 4672, 468, 1330, 1133, 12, 2575, 13, 225, 353, 11840, 273, 353, 7391, 273, 1083, 309, 315, 11697, 30, 5391, 30, 21, 6, 486, 316, 871, 18, 723, 30, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21000, 3616, 12, 2890, 16, 871, 4672, 468, 1330, 1133, 12, 2575, 13, 225, 353, 11840, 273, 353, 7391, 273, 1083, 309, 315, 11697, 30, 5391, 30, 21, 6, 486, 316, 871, 18, 723, 30, 327...
if self.interrupted: raise KeyboardInterrupt()
def wait(self, seconds=None): if self.interrupted: raise KeyboardInterrupt() timer = event.timeout(seconds, lambda: None) timer.add()
179b6851abd130cf0e0f6e40d6d4d7f96a416448 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/179b6851abd130cf0e0f6e40d6d4d7f96a416448/libeventhub.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 3974, 33, 7036, 4672, 5441, 273, 871, 18, 4538, 12, 7572, 16, 3195, 30, 599, 13, 5441, 18, 1289, 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, 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, 2529, 12, 2890, 16, 3974, 33, 7036, 4672, 5441, 273, 871, 18, 4538, 12, 7572, 16, 3195, 30, 599, 13, 5441, 18, 1289, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Translate 2d plot options into 3d plot options.
Translate 2D plot options into 3D plot options.
def _plot3d_options(self, options=None): """ Translate 2d plot options into 3d plot options.
c71626951366337c05394cc4062fa8695d550d57 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/c71626951366337c05394cc4062fa8695d550d57/primitive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4032, 23, 72, 67, 2116, 12, 2890, 16, 702, 33, 7036, 4672, 3536, 16820, 576, 72, 3207, 702, 1368, 890, 72, 3207, 702, 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, 389, 4032, 23, 72, 67, 2116, 12, 2890, 16, 702, 33, 7036, 4672, 3536, 16820, 576, 72, 3207, 702, 1368, 890, 72, 3207, 702, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if line[:node.col_offset].strip() != '':
if self._last_stmt and line[:node.col_offset].strip() != '':
def __analyze_node(self, node): if isinstance(node, rope.base.ast.stmt): line = self.lines.get_line(node.lineno) if line[:node.col_offset].strip() != '': self.__update_last_min(self._last_stmt.lineno, node.lineno) self._last_stmt = node self._starts[node.lineno] = True min_end = 0 return False if isinstance(node, rope....
0d340faf9ca509f19e65462c4edbcf4740e94d40 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8286/0d340faf9ca509f19e65462c4edbcf4740e94d40/codeanalyze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 304, 9508, 67, 2159, 12, 2890, 16, 756, 4672, 309, 1549, 12, 2159, 16, 721, 347, 18, 1969, 18, 689, 18, 10589, 4672, 980, 273, 365, 18, 3548, 18, 588, 67, 1369, 12, 2159, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 304, 9508, 67, 2159, 12, 2890, 16, 756, 4672, 309, 1549, 12, 2159, 16, 721, 347, 18, 1969, 18, 689, 18, 10589, 4672, 980, 273, 365, 18, 3548, 18, 588, 67, 1369, 12, 2159, 18, ...
def http_error_302(self, url, fp, errcode, errmsg, headers, data=None): self.tries += 1 if self.tries >= self.maxtries: return self.http_error_default(url, fp, 500, "Internal Server Error: Redirect Recursion", headers) result = urllib.FancyURLopener.http_error_302(self, url, fp, errcode, errmsg, headers, data) self.tr...
def http_error_default(self, url, fp, errcode, errmsg, headers): self.errcode = errcode return urllib.FancyURLopener.http_error_default(self, url, fp, errcode, errmsg, headers)
3375ab0caac67b977cc26065d6a9c2c1d47b3786 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/3375ab0caac67b977cc26065d6a9c2c1d47b3786/robotparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 67, 1636, 67, 1886, 12, 2890, 16, 880, 16, 4253, 16, 393, 710, 16, 17460, 16, 1607, 4672, 365, 18, 25093, 273, 393, 710, 327, 11527, 18, 42, 12514, 1785, 25098, 18, 2505, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 67, 1636, 67, 1886, 12, 2890, 16, 880, 16, 4253, 16, 393, 710, 16, 17460, 16, 1607, 4672, 365, 18, 25093, 273, 393, 710, 327, 11527, 18, 42, 12514, 1785, 25098, 18, 2505, 67, 1...
__version__ = '1.3'
__version__ = '1.4'
def _(s): return s
6c846207c39841ddcb1877377b20ec30bef07b97 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/6c846207c39841ddcb1877377b20ec30bef07b97/pygettext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12, 87, 4672, 327, 272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12, 87, 4672, 327, 272, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
flows = _rml_flowable(self.doc, images=self.images, path=self.path, title=self.title).render(node)
flows = _rml_flowable(self.doc, self.localcontext, images=self.images, path=self.path, title=self.title).render(node)
def _place(self, node): flows = _rml_flowable(self.doc, images=self.images, path=self.path, title=self.title).render(node) infos = utils.attr_get(node, ['x','y','width','height'])
8e08b1afb4e551b469ca33479d41aa58e68527b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/8e08b1afb4e551b469ca33479d41aa58e68527b4/trml2pdf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 964, 12, 2890, 16, 756, 4672, 22465, 273, 389, 86, 781, 67, 2426, 429, 12, 2890, 18, 2434, 16, 365, 18, 3729, 2472, 16, 4602, 33, 2890, 18, 7369, 16, 589, 33, 2890, 18, 803, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 964, 12, 2890, 16, 756, 4672, 22465, 273, 389, 86, 781, 67, 2426, 429, 12, 2890, 18, 2434, 16, 365, 18, 3729, 2472, 16, 4602, 33, 2890, 18, 7369, 16, 589, 33, 2890, 18, 803, 1...
urllib._urlopener = gfurlo = GUIFancyURLopener() gfurlo._user_prompt = props['name'] gfurlo._passwd_prompt = props['passwd'] try: f = urllib.urlopen(url) return f.read() finally: urllib._urlopener = None
import urllib f = urllib.urlopen(url) return f.read()
def generatePage(self): props = self.model.zopeObj.properties url = 'http://%s:%d/%s/source.html'%(props['host'], props['httpport'], self.model.zopeObj.whole_name()) urllib._urlopener = gfurlo = GUIFancyURLopener() gfurlo._user_prompt = props['name'] gfurlo._passwd_prompt = props['passwd'] try: f = urllib.urlopen(url) ...
9a80cc073d56b51c3f39184b63f3d6a9bd244611 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/9a80cc073d56b51c3f39184b63f3d6a9bd244611/ProdPageTemplates.plug-in.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 1964, 12, 2890, 4672, 3458, 273, 365, 18, 2284, 18, 94, 1306, 2675, 18, 4738, 880, 273, 296, 2505, 23155, 87, 5319, 72, 5258, 87, 19, 3168, 18, 2620, 11, 17105, 9693, 3292, 2564,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 1964, 12, 2890, 4672, 3458, 273, 365, 18, 2284, 18, 94, 1306, 2675, 18, 4738, 880, 273, 296, 2505, 23155, 87, 5319, 72, 5258, 87, 19, 3168, 18, 2620, 11, 17105, 9693, 3292, 2564,...
mode="Text")),
mode="Text"), case=query['case']),
def display(self, query, result):
ed8ef2a175deee3b5394318bc2411c638c3ae69b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5568/ed8ef2a175deee3b5394318bc2411c638c3ae69b/Email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 12, 2890, 16, 843, 16, 563, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 2562, 12, 2890, 16, 843, 16, 563, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
""" % fields[1:]
""" % fields
def __format_results(self, results): out = open(self.resultsdir + '/keyval', 'w') for line in results.split('\n'): if len([c for c in line if c == ',']) != 26: continue fields = tuple(line.split(',')) print >> out, """size=%s
2e6262885594d38162ae52b425873c1ef4e65d2d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/2e6262885594d38162ae52b425873c1ef4e65d2d/bonnie.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2139, 67, 4717, 12, 2890, 16, 1686, 4672, 596, 273, 1696, 12, 2890, 18, 4717, 1214, 397, 1173, 856, 1125, 2187, 296, 91, 6134, 364, 980, 316, 1686, 18, 4939, 2668, 64, 82, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2139, 67, 4717, 12, 2890, 16, 1686, 4672, 596, 273, 1696, 12, 2890, 18, 4717, 1214, 397, 1173, 856, 1125, 2187, 296, 91, 6134, 364, 980, 316, 1686, 18, 4939, 2668, 64, 82, 11, ...
def createInstance(cls, pool, module, cr): name = getattr(cls, '_name', cls._inherit)
def createInstance(cls, pool, module, cr):
def createInstance(cls, pool, module, cr): name = getattr(cls, '_name', cls._inherit) parent_names = getattr(cls, '_inherit', None) if parent_names: for parent_name in ((type(parent_names)==list) and parent_names or [parent_names]): parent_class = pool.get(parent_name).__class__ assert pool.get(parent_name), "parent cl...
a0be2f8e46a52320096255092dbceb06a4ee555e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/a0be2f8e46a52320096255092dbceb06a4ee555e/osv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20075, 12, 6429, 16, 2845, 16, 1605, 16, 4422, 4672, 982, 67, 1973, 273, 3869, 12, 6429, 16, 2070, 6018, 2187, 599, 13, 309, 982, 67, 1973, 30, 364, 982, 67, 529, 316, 14015, 723, 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, 20075, 12, 6429, 16, 2845, 16, 1605, 16, 4422, 4672, 982, 67, 1973, 273, 3869, 12, 6429, 16, 2070, 6018, 2187, 599, 13, 309, 982, 67, 1973, 30, 364, 982, 67, 529, 316, 14015, 723, 12...
self.assertEqual(self.event.getCustomDescription(), "Every 3 weeks until 8/15/05")
value = datetime.combine(date(2005, 8, 15), time(0, tzinfo=self.sandbox.itsView.tzinfo.default)) dateStr = shortDateTimeFormat.format(self.sandbox.itsView, value).split(' ') self.assertEqual(self.event.getCustomDescription(), "Every 3 weeks until %s" % dateStr[0])
def testRuleChange(self): self.event.rruleset = self._createRuleSetItem('weekly') # an automatically generated backup occurrence should exist # @@@triageChange: this fails when triage automatically creates # modifications #self.assertEqual(len(self.event.occurrences), 1) # instead, just assert there's more than one occ...
6e7b147bcb1addfc125251aacd49574d40cf3f0a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/6e7b147bcb1addfc125251aacd49574d40cf3f0a/TestRecurringEvent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2175, 3043, 12, 2890, 4672, 365, 18, 2575, 18, 523, 1513, 278, 273, 365, 6315, 2640, 21474, 1180, 2668, 10741, 715, 6134, 468, 392, 6635, 4374, 5114, 13083, 1410, 1005, 468, 22175, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2175, 3043, 12, 2890, 4672, 365, 18, 2575, 18, 523, 1513, 278, 273, 365, 6315, 2640, 21474, 1180, 2668, 10741, 715, 6134, 468, 392, 6635, 4374, 5114, 13083, 1410, 1005, 468, 22175, ...
raise SystemExit(unicodeC(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], downDict['Dir'] ))
raise SystemExit(unicodeC(m) + os.linesep + u"""Could \ not find path %s and could not make a directory there. Please make sure this \ path is correct and try creating the folder with proper permissions for me\ """ % os.path.join(self['global']['workingDir'], downDict['Dir'] ))
def check(self): global mechanize if not self['global']['urllib'] and not mechanize: print >> sys.stderr, 'Using urllib2 instead of mechanize. setting urllib = True' self['global']['urllib'] = True if 'saveFile' not in self['global'] or self['global']['saveFile'] == None: self['global']['saveFile'] = u'savedstate.dat'...
633e00b171a777d923e4aead2f2717108d53a3b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/633e00b171a777d923e4aead2f2717108d53a3b9/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 1172, 1671, 2589, 18, 11241, 16, 296, 7736, 11527, 22, 3560,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 1172, 1671, 2589, 18, 11241, 16, 296, 7736, 11527, 22, 3560,...
for tz in ('UTC','GMT','Luna/Tycho'): environ['TZ'] = 'US/Eastern' time.tzset() environ['TZ'] = tz time.tzset() self.failUnlessEqual( time.gmtime(xmas2002),time.localtime(xmas2002) ) self.failUnlessEqual(time.timezone,time.altzone) self.failUnlessEqual(time.daylight,0) self.failUnlessEqual(time.timezone,0) self.failUnl...
environ['TZ'] = eastern time.tzset() environ['TZ'] = utc time.tzset() self.failUnlessEqual( time.gmtime(xmas2002), time.localtime(xmas2002) ) self.failUnlessEqual(time.daylight, 0) self.failUnlessEqual(time.timezone, 0) self.failUnlessEqual(time.localtime(xmas2002).tm_isdst, 0)
def test_tzset(self): if not hasattr(time, "tzset"): return # Can't test this; don't want the test suite to fail
7f71bd449b62d8c9e24ec8f5d2d9a9a7fe3d85d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7f71bd449b62d8c9e24ec8f5d2d9a9a7fe3d85d9/test_time.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12994, 542, 12, 2890, 4672, 309, 486, 3859, 12, 957, 16, 315, 12994, 542, 6, 4672, 327, 468, 4480, 1404, 1842, 333, 31, 2727, 1404, 2545, 326, 1842, 11371, 358, 2321, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12994, 542, 12, 2890, 4672, 309, 486, 3859, 12, 957, 16, 315, 12994, 542, 6, 4672, 327, 468, 4480, 1404, 1842, 333, 31, 2727, 1404, 2545, 326, 1842, 11371, 358, 2321, 2, -100...
if not ':' in head:
if os.sep == ':' and not ':' in head:
def mkdirs(dst): """Make directories leading to 'dst' if they don't exist yet""" if dst == '' or os.path.exists(dst): return head, tail = os.path.split(dst) if not ':' in head: head = head + ':' mkdirs(head) os.mkdir(dst, 0777)
9194966439c4860a695bd70c7fa80b94adff15cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/9194966439c4860a695bd70c7fa80b94adff15cf/macostools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18095, 12, 11057, 4672, 3536, 6464, 6402, 7676, 358, 296, 11057, 11, 309, 2898, 2727, 1404, 1005, 4671, 8395, 309, 3046, 422, 875, 578, 1140, 18, 803, 18, 1808, 12, 11057, 4672, 327, 910...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18095, 12, 11057, 4672, 3536, 6464, 6402, 7676, 358, 296, 11057, 11, 309, 2898, 2727, 1404, 1005, 4671, 8395, 309, 3046, 422, 875, 578, 1140, 18, 803, 18, 1808, 12, 11057, 4672, 327, 910...
self.fileinfo.eventhandler(event)
self.fileitem.eventhandler(event)
def eventhandler(self, event):
b72d486c76612e003909b5e9a5bb41d0394f92df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/b72d486c76612e003909b5e9a5bb41d0394f92df/viewer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 871, 4176, 12, 2890, 16, 871, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 871, 4176, 12, 2890, 16, 871, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
'<code class="link">%s</code></a>' % childstr)
'<code class="link">%s</code></a>' % children[0])
def _dom_to_html(tree, container, indent, seclevel, **kwargs): """ Helper function for L{dom_to_html}, that does the real work of converting a DOM tree for an epytext string to HTML. @param tree: The DOM tree for an epytext string. @type tree: C{xml.dom.minidom.Element} @param container: The container in which to look...
5468ca82a58df68bd0160c5589738a8ca3aa4f29 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/5468ca82a58df68bd0160c5589738a8ca3aa4f29/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9859, 67, 869, 67, 2620, 12, 3413, 16, 1478, 16, 3504, 16, 1428, 2815, 16, 2826, 4333, 4672, 3536, 9705, 445, 364, 511, 95, 9859, 67, 869, 67, 2620, 5779, 716, 1552, 326, 2863, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9859, 67, 869, 67, 2620, 12, 3413, 16, 1478, 16, 3504, 16, 1428, 2815, 16, 2826, 4333, 4672, 3536, 9705, 445, 364, 511, 95, 9859, 67, 869, 67, 2620, 5779, 716, 1552, 326, 2863, ...
_url_regex = re.compile(r"\A((.*/)*(?P<observatory>[^/]+)-(?P<description>[^/]+)-(?P<start>[^/]+)-(?P<duration>[^/]+)\.[^/]+)\Z")
_url_regex = re.compile(r"\A((.*/)*(?P<observatory>[^/]+)-(?P<description>[^/]+)-(?P<start>[^/]+)-(?P<duration>[^/\.]+)\.[^/]+)\Z")
def __abs__(self): return LIGOTimeGPS(0, abs(self.ns()))
6b2e79cffdb63333eaa77eb6722526630791d1c7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3589/6b2e79cffdb63333eaa77eb6722526630791d1c7/lal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5113, 972, 12, 2890, 4672, 327, 511, 3047, 51, 950, 28983, 12, 20, 16, 2417, 12, 2890, 18, 2387, 1435, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5113, 972, 12, 2890, 4672, 327, 511, 3047, 51, 950, 28983, 12, 20, 16, 2417, 12, 2890, 18, 2387, 1435, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def addChange(self, field, old, new):
def addChange(self, field, old, new, user=None, created=None):
def addChange(self, field, old, new): if str(old) != str(new): event = TranscriptEvent('change', field=field, old=old, new=new) self.add(event)
e2c98f9de8fc5d36bcc90e5d315f6c2476132afb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/e2c98f9de8fc5d36bcc90e5d315f6c2476132afb/Transcript.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3043, 12, 2890, 16, 652, 16, 1592, 16, 394, 16, 729, 33, 7036, 16, 2522, 33, 7036, 4672, 309, 609, 12, 1673, 13, 480, 609, 12, 2704, 4672, 871, 273, 2604, 9118, 1133, 2668, 3427...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3043, 12, 2890, 16, 652, 16, 1592, 16, 394, 16, 729, 33, 7036, 16, 2522, 33, 7036, 4672, 309, 609, 12, 1673, 13, 480, 609, 12, 2704, 4672, 871, 273, 2604, 9118, 1133, 2668, 3427...
elif type in ("suicide", "crazyhouse", "bughouse"):
elif type in ("suicide", "crazyhouse", "bughouse", "atomic"):
def __parseType (self, type): if type == "wild/fr": variant = FISCHERRANDOMCHESS elif type == "losers": variant = LOSERSCHESS elif type in ("suicide", "crazyhouse", "bughouse"): raise RuntimeError, "We don't support %s yet :X" % type else: variant = NORMALCHESS return variant
9e13cfe70941dd356fa730d30dabe47605562930 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5339/9e13cfe70941dd356fa730d30dabe47605562930/BoardManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2670, 559, 261, 2890, 16, 618, 4672, 309, 618, 422, 315, 91, 545, 19, 4840, 6877, 5437, 273, 4011, 55, 1792, 9712, 28159, 5007, 1260, 1327, 618, 422, 315, 383, 5944, 6877, 5437, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 559, 261, 2890, 16, 618, 4672, 309, 618, 422, 315, 91, 545, 19, 4840, 6877, 5437, 273, 4011, 55, 1792, 9712, 28159, 5007, 1260, 1327, 618, 422, 315, 383, 5944, 6877, 5437, ...
eg("""canvas.ellipse(x, y, width, height, stroke=1, fill=0)""")
eg("""canvas.ellipse(x1,y1, x2,y2, stroke=1, fill=0)""")
eg(""" def __init__(self,filename, pagesize=(595.27,841.89), bottomup = 1, pageCompression=0, encoding=rl_config.defaultEncoding, verbosity=0): """)
2ca5f3075eca047894aa0f3b47ce2d94c86cc5d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/2ca5f3075eca047894aa0f3b47ce2d94c86cc5d5/ch2_graphics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9130, 2932, 3660, 565, 1652, 1001, 2738, 972, 12, 2890, 16, 3459, 16, 4689, 554, 28657, 6162, 25, 18, 5324, 16, 5193, 21, 18, 6675, 3631, 5469, 416, 273, 404, 16, 1363, 15270, 33, 20, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9130, 2932, 3660, 565, 1652, 1001, 2738, 972, 12, 2890, 16, 3459, 16, 4689, 554, 28657, 6162, 25, 18, 5324, 16, 5193, 21, 18, 6675, 3631, 5469, 416, 273, 404, 16, 1363, 15270, 33, 20, 16, ...
name = _('Database') description = _('A database name')
def __str__(self): return self.value is not None and self.value or ""
4861ac46cf6c99143158bef1fb7af73228cacd60 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11787/4861ac46cf6c99143158bef1fb7af73228cacd60/entry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 1132, 353, 486, 599, 471, 365, 18, 1132, 578, 1408, 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, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 1132, 353, 486, 599, 471, 365, 18, 1132, 578, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
suffix = 'mac' else: suffix == 'glx'
if plat['cpu'] == 'i386': suffix = 'maci' else: suffix = 'mac' else: suffix = 'glx'
def matlab(context): context.Message("checking for Matlab ... ") matlab = WhereIs('matlab') if matlab: context.Result(matlab) RSFROOT_lib = os.path.join(context.env.get('RSFROOT'),'lib') MATLABPATH = os.environ.get('MATLABPATH') if MATLABPATH: MATLABPATH += ':' + RSFROOT_lib else: MATLABPATH = RSFROOT_lib context.env['...
80931747027fe13125609423e08f2fb4019c30b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3143/80931747027fe13125609423e08f2fb4019c30b5/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4834, 7411, 12, 2472, 4672, 819, 18, 1079, 2932, 24609, 364, 14493, 7411, 1372, 9369, 4834, 7411, 273, 12177, 2520, 2668, 7373, 7411, 6134, 309, 4834, 7411, 30, 819, 18, 1253, 12, 7373, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4834, 7411, 12, 2472, 4672, 819, 18, 1079, 2932, 24609, 364, 14493, 7411, 1372, 9369, 4834, 7411, 273, 12177, 2520, 2668, 7373, 7411, 6134, 309, 4834, 7411, 30, 819, 18, 1253, 12, 7373, ...
info.SetDescription(gettext('Neural ciruit visualization')) info.SetCopyright(gettext('Copyright \xa9 2009 - Howard Hughes Medical Institute'))
info.SetDescription(gettext('Developed at the \nJanelia Farm Research Campus by:\n\nFrank Midgley\nVivek Jayaraman\nMitya Chklovskii\nDon Olbris')) info.SetCopyright(gettext('Copyright \xa9 2010 - Howard Hughes Medical Institute'))
def onAboutNeuroptikon(self, event_): info = wx.AboutDialogInfo() info.SetName(gettext('Neuroptikon')) info.SetVersion(__version__.version) info.SetDescription(gettext('Neural ciruit visualization')) info.SetCopyright(gettext('Copyright \xa9 2009 - Howard Hughes Medical Institute')) wx.AboutBox(info)
5314bb5eaa43f66c5ee3a53e0dd67594f1cb19cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6368/5314bb5eaa43f66c5ee3a53e0dd67594f1cb19cd/neuroptikon_app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 24813, 6586, 295, 3838, 1766, 265, 12, 2890, 16, 871, 67, 4672, 1123, 273, 7075, 18, 24813, 6353, 966, 1435, 1123, 18, 11924, 12, 29967, 2668, 6586, 295, 3838, 1766, 265, 26112, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 24813, 6586, 295, 3838, 1766, 265, 12, 2890, 16, 871, 67, 4672, 1123, 273, 7075, 18, 24813, 6353, 966, 1435, 1123, 18, 11924, 12, 29967, 2668, 6586, 295, 3838, 1766, 265, 26112, 112...
self.error(400, "Description is required" % service_slug)
self.error(400, "Description is required" % description)
def post(self, version, status_slug): description = self.request.get('description', default_value=None) host = self.request.headers.get('host', 'nohost') if (self.valid_version(version)): if description: status = Status.get_by_slug(status_slug) if status: status.description = description status.put() self.json(status....
3581adb7463ac49b5a9188b1c80289bb4b5968b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10465/3581adb7463ac49b5a9188b1c80289bb4b5968b3/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 16, 1177, 16, 1267, 67, 6436, 4672, 2477, 273, 365, 18, 2293, 18, 588, 2668, 3384, 2187, 805, 67, 1132, 33, 7036, 13, 1479, 273, 365, 18, 2293, 18, 2485, 18, 588, 266...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 16, 1177, 16, 1267, 67, 6436, 4672, 2477, 273, 365, 18, 2293, 18, 588, 2668, 3384, 2187, 805, 67, 1132, 33, 7036, 13, 1479, 273, 365, 18, 2293, 18, 2485, 18, 588, 266...
def add_search(self, dirname, regex):
def add_search(self, dirname, regex):
def add_search(self, dirname, regex): """Starting in dirname, look for files matching regex""" if not self.searches.has_key(dirname): self.searches[dirname] = [ regex ] else: self.searches[dirname].append( regex )
87356cf591306b4d5c4873eaf0576cc574702165 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7853/87356cf591306b4d5c4873eaf0576cc574702165/DeepScan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 3072, 12, 2890, 16, 4283, 16, 3936, 4672, 3536, 11715, 316, 4283, 16, 2324, 364, 1390, 3607, 3936, 8395, 309, 486, 365, 18, 3072, 281, 18, 5332, 67, 856, 12, 12287, 4672, 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, 527, 67, 3072, 12, 2890, 16, 4283, 16, 3936, 4672, 3536, 11715, 316, 4283, 16, 2324, 364, 1390, 3607, 3936, 8395, 309, 486, 365, 18, 3072, 281, 18, 5332, 67, 856, 12, 12287, 4672, 365,...
result = inv.amount_total * (1.0 - debit / (credit + inv.amount_total)) res[inv.id] = round(result,int(config['price_accuracy']))
amount = debit-credit result = inv.amount_total - amount res[inv.id] = result
def _amount_residual(self, cr, uid, ids, name, args, context=None): res = {} data_inv = self.browse(cr, uid, ids) cur_obj = self.pool.get('res.currency') for inv in data_inv: debit = credit = 0.0 for lines in inv.move_lines: if lines.account_id.company_currency_id.id <> inv.currency_id.id: if lines.debit: debit += cur_...
2d09f1d6391e72b9723729eefe480f7e944f0f6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/2d09f1d6391e72b9723729eefe480f7e944f0f6d/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 455, 5557, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2618, 501, 67, 5768, 273, 365, 18, 25731, 12, 3353, 16, 4555, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 455, 5557, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2618, 501, 67, 5768, 273, 365, 18, 25731, 12, 3353, 16, 4555, ...
sys.exit(False)
sys.exit(1)
def createMiroMythVideoDirectory(): '''If the "Miro" directory does not exist in MythVideo then create it. abort if there is an issue creating the directory ''' global localhostname, vid_graphics_dirs, storagegroups, channel_id, flat, simulation, verbose # Check that a MIRO video directory exists # if not then create ...
0f178cb606ce1cfb96840e30bd489d420b041e6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/0f178cb606ce1cfb96840e30bd489d420b041e6d/mirobridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 49, 11373, 12062, 451, 10083, 2853, 13332, 9163, 2047, 326, 315, 49, 11373, 6, 1867, 1552, 486, 1005, 316, 8005, 451, 10083, 1508, 752, 518, 18, 6263, 309, 1915, 353, 392, 5672, 497...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 49, 11373, 12062, 451, 10083, 2853, 13332, 9163, 2047, 326, 315, 49, 11373, 6, 1867, 1552, 486, 1005, 316, 8005, 451, 10083, 1508, 752, 518, 18, 6263, 309, 1915, 353, 392, 5672, 497...
context.scan("ZODB3", *join("releases", "ZODB3"))
context.scan("ZODB3", here, ".")
def join(*parts): local_full_path = os.path.join(here, *parts) relative_path = posixpath.join(*parts) return local_full_path, relative_path
e745a089a0e52a0aae220e38eabe4d68d279a9c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/e745a089a0e52a0aae220e38eabe4d68d279a9c1/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1233, 30857, 6019, 4672, 1191, 67, 2854, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 14852, 16, 380, 6019, 13, 3632, 67, 803, 273, 16366, 803, 18, 5701, 30857, 6019, 13, 327, 1191, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1233, 30857, 6019, 4672, 1191, 67, 2854, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 14852, 16, 380, 6019, 13, 3632, 67, 803, 273, 16366, 803, 18, 5701, 30857, 6019, 13, 327, 1191, 67, ...
return st[stat.ST_MTIME]
return st[stat.ST_ATIME]
def getatime(filename): """Return the last access time of a file, reported by os.stat()""" st = os.stat(filename) return st[stat.ST_MTIME]
162bd855a631ed66f83ff3ed76ae1533de033298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/162bd855a631ed66f83ff3ed76ae1533de033298/ntpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 270, 494, 12, 3459, 4672, 3536, 990, 326, 1142, 2006, 813, 434, 279, 585, 16, 14010, 635, 1140, 18, 5642, 1435, 8395, 384, 273, 1140, 18, 5642, 12, 3459, 13, 327, 384, 63, 5642, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 270, 494, 12, 3459, 4672, 3536, 990, 326, 1142, 2006, 813, 434, 279, 585, 16, 14010, 635, 1140, 18, 5642, 1435, 8395, 384, 273, 1140, 18, 5642, 12, 3459, 13, 327, 384, 63, 5642, ...
wikipedia.output(u"Login failed. Wrong password or CAPTCHA answer?")
pywikibot.output(u"Login failed. Wrong password or CAPTCHA answer?")
def login(self, api = config.use_api_login, retry = False): if not self.password: # As we don't want the password to appear on the screen, we set # password = True self.password = wikipedia.input( u'Password for user %s on %s:' % (self.username, self.site), password = True)
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, 3925, 12, 2890, 16, 1536, 273, 642, 18, 1202, 67, 2425, 67, 5819, 16, 3300, 273, 1083, 4672, 309, 486, 365, 18, 3664, 30, 468, 2970, 732, 2727, 1404, 2545, 326, 2201, 358, 9788, 603, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3925, 12, 2890, 16, 1536, 273, 642, 18, 1202, 67, 2425, 67, 5819, 16, 3300, 273, 1083, 4672, 309, 486, 365, 18, 3664, 30, 468, 2970, 732, 2727, 1404, 2545, 326, 2201, 358, 9788, 603, ...
self.head ="" self.foot class PHPGenerator(Generator): def __init__(self): self.head = "<?\n" self.foot = "?>\n" def flatten(self, stripeset, depth=0, context="show"):
self.head = trim(""" def fetch(): _res = "" """) self.foot = trim(""" return _res def show(): print fetch() if __name__=="__main__": show() """) self.initialDepth = 1 def flatten(self, stripeset, depth, context="show"):
def __init__(self): self.head ="" self.foot
8c93e382b626c0486b37cfec0506f7e5eeed2350 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8821/8c93e382b626c0486b37cfec0506f7e5eeed2350/PyGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 1978, 273, 3660, 365, 18, 10923, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 1978, 273, 3660, 365, 18, 10923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
filetype = "sourcecode.c.h" w("\t%s = {\n\t\tisa = PBXFileReference;\n\t\tfileEncoding = 4;\n\t\tlastKnownFileType = %s;\n\t\tname = \"%s\";\n\t\tpath = \"%s\";\n\t\tsourceTree = \"<group>\";\n\t};\n" % (file.id, filetype, os.path.split(filename)[1], filename))
filetype = "text" w("\t%s = {\n\t\tisa = PBXFileReference;\n\t\tfileEncoding = 4;\n\t\tlastKnownFileType = %s;\n\t\tname = \"%s\";\n\t\tpath = \"%s\";\n\t\tsourceTree = %s;\n\t};\n" % (file.id, filetype, os.path.split(filename)[1], filename, sourceroot))
def pbxFileRefTree(self, tree, path=''): w = self.file.write for name,dir in tree.directories.iteritems(): self.pbxFileRefTree(dir, os.path.join(path, tree.prefix)) for file in tree.files: filename = os.path.join(path, tree.prefix, file.filename) if isinstance(file, mak.sources.hsource): filetype = "sourcecode.c.h" eli...
a60ebba76722784f18efcbe8160429b6fe069496 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/a60ebba76722784f18efcbe8160429b6fe069496/xcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6386, 92, 812, 1957, 2471, 12, 2890, 16, 2151, 16, 589, 2218, 11, 4672, 341, 273, 365, 18, 768, 18, 2626, 364, 508, 16, 1214, 316, 2151, 18, 15121, 18, 2165, 3319, 13332, 365, 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, 6386, 92, 812, 1957, 2471, 12, 2890, 16, 2151, 16, 589, 2218, 11, 4672, 341, 273, 365, 18, 768, 18, 2626, 364, 508, 16, 1214, 316, 2151, 18, 15121, 18, 2165, 3319, 13332, 365, 18, 57...
self.sem.acquire()
def wait(self): """The difference from queue.wait: if there is an only item in the queue and it is an exception, raise it, but keep it in the queue, so that future calls to wait() will raise it again. """ self.sem.acquire() if self.has_error() and len(self.items)==1: # the last item, which is an exception, raise withou...
51f9cee438f7498269c63a69121e9cf8b16b7d62 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10078/51f9cee438f7498269c63a69121e9cf8b16b7d62/protocol.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 4672, 3536, 1986, 7114, 628, 2389, 18, 7048, 30, 309, 1915, 353, 392, 1338, 761, 316, 326, 2389, 471, 518, 353, 392, 1520, 16, 1002, 518, 16, 1496, 3455, 518, 316, 326,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 4672, 3536, 1986, 7114, 628, 2389, 18, 7048, 30, 309, 1915, 353, 392, 1338, 761, 316, 326, 2389, 471, 518, 353, 392, 1520, 16, 1002, 518, 16, 1496, 3455, 518, 316, 326,...
f = open(self.filename, 'w') f.seek(0) if self.writePID: f.write(str(os.getpid())) else: f.write("a") f.close()
try: f = open(self.filename, 'w+', 0) f.seek(0) if self.writePID: f.write(str(os.getpid())) else: f.write("a") f.close() except (OSError, IOError): pass
def touch(self): f = open(self.filename, 'w') f.seek(0) if self.writePID: f.write(str(os.getpid())) else: f.write("a") f.close() # keep the lock fresh
25f107514524a1df70dfe83af00000860a8e1e68 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/25f107514524a1df70dfe83af00000860a8e1e68/lockfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6920, 12, 2890, 4672, 775, 30, 284, 273, 1696, 12, 2890, 18, 3459, 16, 296, 91, 15, 2187, 374, 13, 284, 18, 16508, 12, 20, 13, 309, 365, 18, 2626, 16522, 30, 284, 18, 2626, 12, 701...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6920, 12, 2890, 4672, 775, 30, 284, 273, 1696, 12, 2890, 18, 3459, 16, 296, 91, 15, 2187, 374, 13, 284, 18, 16508, 12, 20, 13, 309, 365, 18, 2626, 16522, 30, 284, 18, 2626, 12, 701...
_weighInstallNotUpdown = 3
def getBestUpdownDeltaWeight(self, pkg): weight = self._bestUpdownDeltaWeight.get(pkg); if weight is not None: return weight
aec98224ca89229d16b8f41f05636695a75a2f7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/aec98224ca89229d16b8f41f05636695a75a2f7a/transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28782, 1211, 2378, 9242, 6544, 12, 2890, 16, 3475, 4672, 3119, 273, 365, 6315, 12729, 1211, 2378, 9242, 6544, 18, 588, 12, 10657, 1769, 309, 3119, 353, 486, 599, 30, 327, 3119, 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, 28782, 1211, 2378, 9242, 6544, 12, 2890, 16, 3475, 4672, 3119, 273, 365, 6315, 12729, 1211, 2378, 9242, 6544, 18, 588, 12, 10657, 1769, 309, 3119, 353, 486, 599, 30, 327, 3119, 2, -100, ...
context.Message("Please install RPC libraries.\n") sys.exit(1)
if myplatform['distro'] == 'fc6': sys.stderr.write("Needed package: glibc-headers.\n") sys.exit(1) def c99(context, myplatform): context.Message("checking complex support ... ") text = ''' int main(int argc,char* argv[]) { float complex c; float f; f = cabsf(ccosf(c)); return (int) f; }\n''' res = context.TryLink...
def libs(context): context.Message("checking libraries ... ") LIBS = context.env.get('LIBS','m') if type(LIBS) is not types.ListType: LIBS = string.split(LIBS) if sys.platform[:5] == 'sunos': LIBS.append('nsl') elif sys.platform[:6] == 'cygwin': LIBS.append('rpc') elif sys.platform[:6] == 'darwin': LIBS.append('mx') el...
48f74b0cc7ad87ff031aeb2e4a6d08e2d4a9ecf3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3143/48f74b0cc7ad87ff031aeb2e4a6d08e2d4a9ecf3/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15042, 12, 2472, 4672, 819, 18, 1079, 2932, 24609, 14732, 1372, 9369, 8961, 12692, 273, 819, 18, 3074, 18, 588, 2668, 2053, 12692, 17023, 81, 6134, 309, 618, 12, 2053, 12692, 13, 353, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15042, 12, 2472, 4672, 819, 18, 1079, 2932, 24609, 14732, 1372, 9369, 8961, 12692, 273, 819, 18, 3074, 18, 588, 2668, 2053, 12692, 17023, 81, 6134, 309, 618, 12, 2053, 12692, 13, 353, 48...
def __init__(self, session, title = "Console", cmdlist = None, finishedCallback = None):
def __init__(self, session, title = "Console", cmdlist = None, finishedCallback = None, closeOnSuccess = False):
def __init__(self, session, title = "Console", cmdlist = None, finishedCallback = None): self.skin = Console.skin Screen.__init__(self, session)
d130f81ed02482d5b43cb7da2399a6bc4414af41 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6652/d130f81ed02482d5b43cb7da2399a6bc4414af41/Console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 16, 2077, 273, 315, 10215, 3113, 1797, 1098, 273, 599, 16, 6708, 2428, 273, 599, 16, 1746, 1398, 4510, 273, 1083, 4672, 365, 18, 7771, 267, 273, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 16, 2077, 273, 315, 10215, 3113, 1797, 1098, 273, 599, 16, 6708, 2428, 273, 599, 16, 1746, 1398, 4510, 273, 1083, 4672, 365, 18, 7771, 267, 273, 96...
def parse_description(self): def gotPage(x): self.debug("got device description from %r" % self.location) data, headers = x tree = utils.parse_xml(data, 'utf-8').getroot() ns = "urn:schemas-upnp-org:device-1-0" d = tree.find('.//{%s}device' % ns) if d == None: return self.device_type = unicode(d.findtext('.//{%s}dev...
def parse_device(self, d): self.device_type = unicode(d.findtext('.//{%s}deviceType' % ns)) self.friendly_name = unicode(d.findtext('.//{%s}friendlyName' % ns)) self.udn = d.findtext('.//{%s}UDN' % ns) icon_list = d.find('.//{%s}iconList' % ns) if icon_list is not None: import urllib2 url_base = "%s://%s" % urllib2.ur...
def parse_description(self):
1b647a8639326e2b683f1d3c8843644916009caf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11626/1b647a8639326e2b683f1d3c8843644916009caf/device.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3384, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3384, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/bin/ls
/.
def test_getstatus(self): # This pattern should match 'ls -ld /bin/ls' on any posix # system, however perversely configured. pat = r'''[l-]..x..x..x # It is executable. (May be a symlink.) \s+\d+ # It has some number of links. \s+\w+\s+\w+ # It has a user and group, which may # be named anything. [^/]* ...
4993c51b9436bc28126659519c362558fdcdd0d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4993c51b9436bc28126659519c362558fdcdd0d7/test_commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 588, 2327, 12, 2890, 4672, 468, 1220, 1936, 1410, 845, 296, 3251, 300, 1236, 342, 4757, 19, 3251, 11, 603, 1281, 16366, 468, 2619, 16, 14025, 1534, 2496, 2357, 4351, 18, 9670, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 588, 2327, 12, 2890, 4672, 468, 1220, 1936, 1410, 845, 296, 3251, 300, 1236, 342, 4757, 19, 3251, 11, 603, 1281, 16366, 468, 2619, 16, 14025, 1534, 2496, 2357, 4351, 18, 9670, ...
1.67750000000000099
1.6775000000000000
def legendre_P(n,x): """ Returns the Legendre polynomial of the first kind for integers n > -1. EXAMPLES: sage: t = PolynomialRing(QQ, "t").gen() sage: legendre_P(2,t) 3/2*t^2 - 1/2 sage: legendre_P(3,1.1) 1.67750000000000099 """ _init() n0 = ZZ(n) # n must be an integer if not(is_Polynomial(x)): return sage_eval(maxi...
07b997b0f30cf3292afd8a442aae7d9ff8238bcc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9417/07b997b0f30cf3292afd8a442aae7d9ff8238bcc/orthogonal_polys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7241, 266, 67, 52, 12, 82, 16, 92, 4672, 3536, 2860, 326, 17167, 409, 266, 16991, 434, 326, 1122, 3846, 364, 12321, 290, 405, 300, 21, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 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, 7241, 266, 67, 52, 12, 82, 16, 92, 4672, 3536, 2860, 326, 17167, 409, 266, 16991, 434, 326, 1122, 3846, 364, 12321, 290, 405, 300, 21, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 2...
req = request()
req = request(self.manager)
def dofindnew( self, collection): hresult = "" req = request() req.method = "PROPFIND" req.ruri = collection[0] req.headers["Depth"] = "1" if len(collection[1]): req.user = collection[1] if len(collection[2]): req.pswd = collection[2] req.data = data() req.data.value = """<?xml version="1.0" encoding="utf-8" ?>
537d7b7fcc5b1a7663d6cb1c2ca984f1798f2b80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/129/537d7b7fcc5b1a7663d6cb1c2ca984f1798f2b80/caldavtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 4720, 2704, 12, 365, 16, 1849, 4672, 366, 2088, 273, 1408, 1111, 273, 590, 12, 2890, 18, 4181, 13, 1111, 18, 2039, 273, 315, 15811, 42, 2356, 6, 1111, 18, 86, 1650, 273, 1849, 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, 741, 4720, 2704, 12, 365, 16, 1849, 4672, 366, 2088, 273, 1408, 1111, 273, 590, 12, 2890, 18, 4181, 13, 1111, 18, 2039, 273, 315, 15811, 42, 2356, 6, 1111, 18, 86, 1650, 273, 1849, 6...
node.writexml(writer)
node.writexml(writer, indent, addindent, newl)
def writexml(self, writer): writer.write('<?xml version="1.0" ?>\n') for node in self.childNodes: node.writexml(writer)
5ea004889408dc5478560e140964863c49592819 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/5ea004889408dc5478560e140964863c49592819/minidom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2518, 338, 781, 12, 2890, 16, 2633, 4672, 2633, 18, 2626, 2668, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 692, 5333, 82, 6134, 364, 756, 316, 365, 18, 3624, 3205, 30, 756, 18, 5363, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2518, 338, 781, 12, 2890, 16, 2633, 4672, 2633, 18, 2626, 2668, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 692, 5333, 82, 6134, 364, 756, 316, 365, 18, 3624, 3205, 30, 756, 18, 5363, 33...
def build_disk_space_panel():
def _build_disk_space_panel():
def build_disk_space_panel(): v = widgetset.VBox() cbx = widgetset.Checkbox(_('Keep at least this much free space on my drive:')) limit = widgetset.TextEntry() limit.set_width(5) note = widgetset.Label(_('GB')) attach_boolean(cbx, prefs.PRESERVE_DISK_SPACE, (limit,)) attach_float(limit, prefs.PRESERVE_X_GB_FREE, creat...
d684bb5fcb21553ab8d362f2165fbb8f241f6e86 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/d684bb5fcb21553ab8d362f2165fbb8f241f6e86/preferencespanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3510, 67, 10863, 67, 2981, 67, 13916, 13332, 331, 273, 3604, 542, 18, 58, 3514, 1435, 225, 2875, 92, 273, 3604, 542, 18, 21272, 24899, 2668, 11523, 622, 4520, 333, 9816, 4843, 3476,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3510, 67, 10863, 67, 2981, 67, 13916, 13332, 331, 273, 3604, 542, 18, 58, 3514, 1435, 225, 2875, 92, 273, 3604, 542, 18, 21272, 24899, 2668, 11523, 622, 4520, 333, 9816, 4843, 3476,...
if self.io: return self.io.issrc
if self.issrc != None: return self.issrc
def isSourceRPM(self): """Return 1 if the package is a SRPM."""
dc88d71e11b1a741bd1c86c8eae1ecd6fb52e1f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/dc88d71e11b1a741bd1c86c8eae1ecd6fb52e1f6/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 1830, 54, 12728, 12, 2890, 4672, 3536, 990, 404, 309, 326, 2181, 353, 279, 19145, 12728, 12123, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 1830, 54, 12728, 12, 2890, 4672, 3536, 990, 404, 309, 326, 2181, 353, 279, 19145, 12728, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if self.started:
if self._started:
def _NH_CFGSettingsObjectDidChange(self, notification): # update credentials attribute if 'password' in notification.data.modified: self.credentials.password = self.password
221e410e34c3ac7631bd9554b19a7b2b5b5864a8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5703/221e410e34c3ac7631bd9554b19a7b2b5b5864a8/account.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 50, 44, 67, 19727, 2628, 921, 18250, 3043, 12, 2890, 16, 3851, 4672, 468, 1089, 4448, 1566, 309, 296, 3664, 11, 316, 3851, 18, 892, 18, 7342, 30, 365, 18, 11687, 18, 3664, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50, 44, 67, 19727, 2628, 921, 18250, 3043, 12, 2890, 16, 3851, 4672, 468, 1089, 4448, 1566, 309, 296, 3664, 11, 316, 3851, 18, 892, 18, 7342, 30, 365, 18, 11687, 18, 3664, 273, ...
if not (self._mvcc and self._setstate_noncurrent(obj)): self.getTransaction().register(obj) self._conflicts[obj._p_oid] = 1 raise ReadConflictError(object=obj)
self._load_before_or_conflict(obj) return
def _setstate(self, obj): # Helper for setstate(), which provides logging of failures.
f673079bfe822e4f9812a8b873a40cbafda945ef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/f673079bfe822e4f9812a8b873a40cbafda945ef/Connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 2019, 12, 2890, 16, 1081, 4672, 468, 9705, 364, 444, 2019, 9334, 1492, 8121, 2907, 434, 11720, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 542, 2019, 12, 2890, 16, 1081, 4672, 468, 9705, 364, 444, 2019, 9334, 1492, 8121, 2907, 434, 11720, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
options.build32 = False;
options.build32 = False
def main(): options.buildMac = True; options.buildWindows = True; options.buildLinux = True; options.build32 = True; options.build64 = True; options.buildEval = True; options.buildGpl = True; options.buildCommercial = True; for i in range(0, len(sys.argv)): arg = sys.argv[i]; if arg == "--qt-version": options.qtVersio...
9ac47f9ecf789734865da2c0706a0c3dc2eb6813 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4229/9ac47f9ecf789734865da2c0706a0c3dc2eb6813/package_builder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 702, 18, 3510, 9990, 273, 1053, 31, 702, 18, 3510, 10399, 273, 1053, 31, 702, 18, 3510, 19475, 273, 1053, 31, 702, 18, 3510, 1578, 273, 1053, 31, 702, 18, 3510, 1105, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 702, 18, 3510, 9990, 273, 1053, 31, 702, 18, 3510, 10399, 273, 1053, 31, 702, 18, 3510, 19475, 273, 1053, 31, 702, 18, 3510, 1578, 273, 1053, 31, 702, 18, 3510, 1105, 273,...
builder.push(ast.Const(builder.space.newtuple([n.value for n in names]), atoms[0].lineno))
builder.push(ast.Const(builder.space.newtuple(values), atoms[0].lineno))
def build_exprlist(builder, nb): """exprlist: expr (',' expr)* [',']""" atoms = get_atoms(builder, nb) if len(atoms) <= 2: builder.push(atoms[0]) else: names = [] isConst = True for index in range(0, len(atoms), 2): names.append(atoms[index]) isConst &= isinstance(atoms[index],ast.Const) if isConst: builder.push(ast.Co...
27df60cfbcbe7bfcbd243da52f8351afe6b69c5d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/27df60cfbcbe7bfcbd243da52f8351afe6b69c5d/astbuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 8638, 1098, 12, 9574, 16, 4264, 4672, 3536, 8638, 1098, 30, 3065, 261, 17023, 3065, 17653, 306, 2187, 3546, 8395, 9006, 273, 336, 67, 14937, 12, 9574, 16, 4264, 13, 309, 562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 8638, 1098, 12, 9574, 16, 4264, 4672, 3536, 8638, 1098, 30, 3065, 261, 17023, 3065, 17653, 306, 2187, 3546, 8395, 9006, 273, 336, 67, 14937, 12, 9574, 16, 4264, 13, 309, 562, ...
new_list.append( [item[0]-1, item[1]] )
new_list.append([item[0]-1, item[1]])
def decay_items(self): """ Decays items and removes expired items. """ # Loop through all items for item_key in ITEMS.keys(): new_list = []
7bcda207bb0e5ed90b7cb81e09ad0cbac372efd1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11269/7bcda207bb0e5ed90b7cb81e09ad0cbac372efd1/LemonadeMain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22286, 67, 3319, 12, 2890, 4672, 3536, 3416, 8271, 1516, 471, 7157, 7708, 1516, 18, 3536, 468, 9720, 3059, 777, 1516, 364, 761, 67, 856, 316, 467, 1448, 3537, 18, 2452, 13332, 394, 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, 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, 22286, 67, 3319, 12, 2890, 4672, 3536, 3416, 8271, 1516, 471, 7157, 7708, 1516, 18, 3536, 468, 9720, 3059, 777, 1516, 364, 761, 67, 856, 316, 467, 1448, 3537, 18, 2452, 13332, 394, 67, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 297) else quickfix.IntField.__init__(self, 297, 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, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 576, 10580, 13, 469, 9549, 904, 18, 1702, 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, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 576, 10580, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, ...
if len(self._elements) == len(other._elements): return cmp(self._elements, other._elements) and \ cmp(self._hasse_diagram, other._hasse_diagram)
if len(self._elements) == len(other._elements) and self._elements == other._elements: return self._hasse_diagram == other._hasse_diagram
def __cmp__(self, other): r""" Define comparison for finite posets.
2518d89a98c6c73ae582d9bc45a7618b6eac5246 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/2518d89a98c6c73ae582d9bc45a7618b6eac5246/posets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 13184, 5826, 364, 25922, 949, 2413, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 13184, 5826, 364, 25922, 949, 2413, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def _check_it2i0k0(self):
def check_it2i0k0(self):
def _check_it2i0k0(self): cephes.it2i0k0(1)
2a0571808f9b68627e9152f6f1037281e69d9d98 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/2a0571808f9b68627e9152f6f1037281e69d9d98/test_cephes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 305, 22, 77, 20, 79, 20, 12, 2890, 4672, 5898, 844, 281, 18, 305, 22, 77, 20, 79, 20, 12, 21, 13, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 305, 22, 77, 20, 79, 20, 12, 2890, 4672, 5898, 844, 281, 18, 305, 22, 77, 20, 79, 20, 12, 21, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def read_drm(self):
def _read_drm(self):
def read_drm(self): self.drmlevel = 0 if '/DRMStorage/Licenses/EUL' in self.entries: self.drmlevel = 5 elif '/DRMStorage/DRMBookplate' in self.entries: self.drmlevel = 3 elif '/DRMStorage/DRMSealed' in self.entries: self.drmlevel = 1 else: return des = msdes.new(self.calculate_deskey()) bookkey = des.decrypt(self.get_f...
006182e5f46ea8f5da43607ab530dff752a12d94 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/006182e5f46ea8f5da43607ab530dff752a12d94/reader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 3069, 81, 12, 2890, 4672, 365, 18, 3069, 81, 2815, 273, 374, 309, 1173, 6331, 49, 3245, 19, 48, 16548, 19, 41, 1506, 11, 316, 365, 18, 8219, 30, 365, 18, 3069, 81, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 3069, 81, 12, 2890, 4672, 365, 18, 3069, 81, 2815, 273, 374, 309, 1173, 6331, 49, 3245, 19, 48, 16548, 19, 41, 1506, 11, 316, 365, 18, 8219, 30, 365, 18, 3069, 81, 28...
sage.misc.persist.save(help, HELP_CACHE)
sage.misc.persist.save(help, HELP_CACHE)
def __init__(self, stacksize=10000000, # 10MB maxread=100000, script_subdirectory=None, logfile=None, server=None, init_list_length=1024): Expect.__init__(self,
86f89936c69cf79b2617a6cbab97276a7bb2101a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/86f89936c69cf79b2617a6cbab97276a7bb2101a/lie.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2110, 1467, 33, 21, 17877, 16, 282, 468, 1728, 7969, 943, 896, 33, 21, 11706, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2110, 1467, 33, 21, 17877, 16, 282, 468, 1728, 7969, 943, 896, 33, 21, 11706, 16, 2728, 67, 1717, 5149, 33, 7036, 16, 15204, 33, 7036, 16, 1438, 33, 70...
product = Infsign[self._sign ^ other._sign]
product = _Infsign[self._sign ^ other._sign]
def fma(self, other, third, context=None): """Fused multiply-add.
c5de0969ca2a82c66efd30bb675f03c2324a3b27 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/c5de0969ca2a82c66efd30bb675f03c2324a3b27/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 2540, 12, 2890, 16, 1308, 16, 12126, 16, 819, 33, 7036, 4672, 3536, 42, 3668, 10194, 17, 1289, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 2540, 12, 2890, 16, 1308, 16, 12126, 16, 819, 33, 7036, 4672, 3536, 42, 3668, 10194, 17, 1289, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
import plone.z3cform.base old_call = plone.z3cform.base.FormWrapper.__call__ plone.z3cform.base.FormWrapper.__call__ = lambda self: ''
import plone.z3cform.layout old_call = plone.z3cform.layout.FormWrapper.__call__ plone.z3cform.layout.FormWrapper.__call__ = lambda self: ''
def test_call_checks_fti_is_allowed(self): # When calling the add view, we need to ensure that construction # is allowed # Container, context and request container_mock = self.mocker.mock() context_mock = self.mocker.mock() request_mock = self.mocker.mock() self.expect(context_mock.context).result(container_mock) ...
3f06316c92d07beb10d82d2694f2f51f7dd799c8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12260/3f06316c92d07beb10d82d2694f2f51f7dd799c8/test_views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1991, 67, 12366, 67, 1222, 77, 67, 291, 67, 8151, 12, 2890, 4672, 225, 468, 5203, 4440, 326, 527, 1476, 16, 732, 1608, 358, 3387, 716, 16171, 468, 353, 2935, 225, 468, 4039, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1991, 67, 12366, 67, 1222, 77, 67, 291, 67, 8151, 12, 2890, 4672, 225, 468, 5203, 4440, 326, 527, 1476, 16, 732, 1608, 358, 3387, 716, 16171, 468, 353, 2935, 225, 468, 4039, ...
if IsWhiteListedExtension(file_path_lower): return None if IsWhiteListedPath(file_path_lower): return None if IsWhiteListedRegex(file_path_lower):
if IsWhiteListed(file_path_lower):
def CheckFile(file_path): """Checks file_path's permissions. Args: file_path: The file path to check. Returns: Either a string describing the error if there was one, or None if the file checked out OK. """ if VERBOSE: print 'Checking file: ' + file_path file_path_lower = file_path.lower() # Check to see if it's whit...
7a92ab95ee1bc4d2af9ef7b3e071e650fa795619 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/7a92ab95ee1bc4d2af9ef7b3e071e650fa795619/checkperms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 812, 12, 768, 67, 803, 4672, 3536, 4081, 585, 67, 803, 1807, 4371, 18, 225, 6634, 30, 585, 67, 803, 30, 1021, 585, 589, 358, 866, 18, 225, 2860, 30, 14635, 279, 533, 16868, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 812, 12, 768, 67, 803, 4672, 3536, 4081, 585, 67, 803, 1807, 4371, 18, 225, 6634, 30, 585, 67, 803, 30, 1021, 585, 589, 358, 866, 18, 225, 2860, 30, 14635, 279, 533, 16868, 326...
Arrow from (0,0) to (2,3)
Arrow from (0.0,0.0) to (2.0,3.0)
def __init__(self, xtail, ytail, xhead, yhead, options): """ Create an arrow graphics primitive.
01f914cbafee27fd15b2ce0201d19f8f91bfb786 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/01f914cbafee27fd15b2ce0201d19f8f91bfb786/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 619, 13101, 16, 677, 13101, 16, 619, 1978, 16, 677, 1978, 16, 702, 4672, 3536, 1788, 392, 12274, 17313, 8225, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 619, 13101, 16, 677, 13101, 16, 619, 1978, 16, 677, 1978, 16, 702, 4672, 3536, 1788, 392, 12274, 17313, 8225, 18, 2, -100, -100, -100, -100, -100, -100, ...
self.log.verbose('Current proxy is %s' %self.proxy)
self.log.verbose('Current proxy is %s' %self.proxy)
def __getCurrentUser(self): self.proxy = getGridProxy() if not self.proxy: return self.__errorReport('No proxy found in local environment') else: self.log.verbose('Current proxy is %s' %self.proxy) nickname = getVOMSAttributes(self.proxy,'nickname') if nickname['OK']: owner = nickname['Value'] self.log.verbose('Establ...
1811a0d5110f3d167209cf9b01681f765604a038 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/1811a0d5110f3d167209cf9b01681f765604a038/DiracProduction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 3935, 1299, 12, 2890, 4672, 365, 18, 5656, 273, 336, 6313, 3886, 1435, 309, 486, 365, 18, 5656, 30, 327, 365, 16186, 1636, 4820, 2668, 2279, 2889, 1392, 316, 1191, 3330, 6134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 3935, 1299, 12, 2890, 4672, 365, 18, 5656, 273, 336, 6313, 3886, 1435, 309, 486, 365, 18, 5656, 30, 327, 365, 16186, 1636, 4820, 2668, 2279, 2889, 1392, 316, 1191, 3330, 6134,...
thr.Thread.__init__(self)
DamnThread.__init__(self)
def __init__(self, parent): self.parent = parent self.sourceuri = parent.videos[parent.converting] self.outdir = None self.filename = None self.tmpfilename = None self.moduleextraargs = [] thr.Thread.__init__(self)
371889325452e864707c025214d1b8c204b791d0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11142/371889325452e864707c025214d1b8c204b791d0/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 3168, 1650, 273, 982, 18, 6768, 538, 63, 2938, 18, 6283, 310, 65, 365, 18, 659, 1214, 273, 599, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 3168, 1650, 273, 982, 18, 6768, 538, 63, 2938, 18, 6283, 310, 65, 365, 18, 659, 1214, 273, 599, 365, 18, ...
if not self.rdfns in self.namespaces.keys(): self.namespaces[self.rdfns] = 'rdf'
def start(self): if not self.rdfns in self.namespaces.keys(): self.namespaces[self.rdfns] = 'rdf'
1313813332adaaa3197b56a7142c1558cf12f9f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7049/1313813332adaaa3197b56a7142c1558cf12f9f2/serializer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 309, 486, 365, 18, 19299, 2387, 316, 365, 18, 16078, 18, 2452, 13332, 365, 18, 16078, 63, 2890, 18, 19299, 2387, 65, 273, 296, 19299, 11, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 309, 486, 365, 18, 19299, 2387, 316, 365, 18, 16078, 18, 2452, 13332, 365, 18, 16078, 63, 2890, 18, 19299, 2387, 65, 273, 296, 19299, 11, 2, -100, -100, -100, -100...
review_requests = get_review_requests_to_group(request.user, group)
review_requests = get_review_requests_to_group(group, request.user)
def dashboard(request, limit=50, template_name='reviews/dashboard.html'): view = request.GET.get('view', 'incoming') if view == 'outgoing': review_requests = \ get_review_requests_from_user(request.user, request.user.username) elif view == 'to-me': review_requests = \ get_review_requests_to_user_directly(request.user,...
7768372a31cb0ad888bbb130ce8310a5cd61e4d0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1600/7768372a31cb0ad888bbb130ce8310a5cd61e4d0/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11825, 12, 2293, 16, 1800, 33, 3361, 16, 1542, 67, 529, 2218, 266, 7061, 19, 13479, 18, 2620, 11, 4672, 1476, 273, 590, 18, 3264, 18, 588, 2668, 1945, 2187, 296, 31033, 6134, 225, 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, 11825, 12, 2293, 16, 1800, 33, 3361, 16, 1542, 67, 529, 2218, 266, 7061, 19, 13479, 18, 2620, 11, 4672, 1476, 273, 590, 18, 3264, 18, 588, 2668, 1945, 2187, 296, 31033, 6134, 225, 309,...