rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
if namespace is not None and namespace.strip():
if namespace is not None and not namespace.strip():
def update_registry(self, module, identifier, name, namespace, base_descriptor): if namespace is not None and namespace.strip(): namespace = None
b4dfc2201453244e1316ef69a2da21aff0fa9b93 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6341/b4dfc2201453244e1316ef69a2da21aff0fa9b93/module_registry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 9893, 12, 2890, 16, 1605, 16, 2756, 16, 508, 16, 1981, 16, 1026, 67, 12628, 4672, 309, 1981, 353, 486, 599, 471, 486, 1981, 18, 6406, 13332, 1981, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 9893, 12, 2890, 16, 1605, 16, 2756, 16, 508, 16, 1981, 16, 1026, 67, 12628, 4672, 309, 1981, 353, 486, 599, 471, 486, 1981, 18, 6406, 13332, 1981, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
w.add(bg_color_button) bg_color_button.show()
w.add(self.bg_color_button) self.bg_color_button.show()
def update_toggle(ui, active): if len(ui.widget.get_proxies()) > 0: widget = ui.widget.get_proxies()[0] widget.set_active(active)
6a20630f7b699f43d5153d9e5d6c94c1bfe1ce6e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4738/6a20630f7b699f43d5153d9e5d6c94c1bfe1ce6e/editor_richtext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 14401, 12, 4881, 16, 2695, 4672, 309, 562, 12, 4881, 18, 6587, 18, 588, 67, 20314, 606, 10756, 405, 374, 30, 3604, 273, 5915, 18, 6587, 18, 588, 67, 20314, 606, 1435, 63, 20, 65, 3604, 18, 542, 67, 3535, 12, 3535, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12, 4881, 18, 6587, 18, 588, 67, 20314, 606, 10756, 405, 374, 30, 3604, 273, 5915, 18, 6587, 18, 588, 67, 20314, 606, 1435, 63, 20, 65, 3604, 18, 542, 67, 3535, 12, 3535, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.Error("Can't change syncer rate: %s " % result.fail_reason)
logger.Error("Can't change syncer rate: %s - %s" % (result.fail_reason, result.output))
def SetSyncSpeed(self, kbytes): """Set the speed of the DRBD syncer.
6c896e2ffcdf4889279d9b6607e23d61bab96bc4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/6c896e2ffcdf4889279d9b6607e23d61bab96bc4/bdev.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 4047, 16562, 12, 2890, 16, 417, 3890, 4672, 3536, 694, 326, 8632, 434, 326, 16801, 18096, 3792, 264, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 1000, 4047, 16562, 12, 2890, 16, 417, 3890, 4672, 3536, 694, 326, 8632, 434, 326, 16801, 18096, 3792, 264, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"]
def Interrogate(ipath=0, opts=0, outd=0, outc=0, src=0, module=0, library=0, files=0): if ((ipath==0)|(opts==0)|(outd==0)|(outc==0)|(src==0)|(module==0)|(library==0)|(files==0)): sys.exit("syntax error in Interrogate directive") ALLIN.append(outd) ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"] outd = PREFIX+"/pandac/input/"+outd outc = PREFIX+"/tmp/"+outc paths = xpaths(src+"/",files,"") dep = CxxCalcDependenciesAll(paths, ipath) dotdots = "" for i in range(0,src.count("/")+1): dotdots = dotdots + "../" building = 0 for x in opts: if (x[:9]=="BUILDING_"): building = x[9:] if (older(outc, dep) or older(outd, dep)): if (COMPILER=="MSVC7"): cmd = dotdots + PREFIX + "/bin/interrogate.exe" cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -longlong __int64 -D_X86_ -DWIN32_VC -D_WIN32' cmd = cmd + ' -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall' if (OPTIMIZE==1): cmd = cmd + ' ' if (OPTIMIZE==2): cmd = cmd + ' ' if (OPTIMIZE==3): cmd = cmd + ' -DFORCE_INLINING' if (OPTIMIZE==4): cmd = cmd + ' -DFORCE_INLINING' cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc' cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include' for pkg in PACKAGES: if (PkgSelected(opts,pkg)): cmd = cmd + ' -I' + dotdots + THIRDPARTY + "/win-libs-vc7/" + pkg.lower() + "/include" if (COMPILER=="LINUXA"): cmd = dotdots + PREFIX + '/bin/interrogate' cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__i386__ -D__const=const' if (OPTIMIZE==1): cmd = cmd + ' ' if (OPTIMIZE==2): cmd = cmd + ' ' if (OPTIMIZE==3): cmd = cmd + ' ' if (OPTIMIZE==4): cmd = cmd + ' ' cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc -S/usr/include' cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include' for pkg in PACKAGES: if (PkgSelected(opts,pkg)): cmd = cmd + ' -I' + dotdots + THIRDPARTY + "/linux-libs-a/" + pkg.lower() + "/include" cmd = cmd + ' -oc ' + dotdots + outc + ' -od ' + dotdots + outd cmd = cmd + ' -fnames -string -refcount -assert -python' for x in ipath: cmd = cmd + ' -I' + dotdots + x if (building): cmd = cmd + " -DBUILDING_"+building if (opts.count("WITHINPANDA")): cmd = cmd + " -DWITHIN_PANDA" cmd = cmd + ' -module ' + module + ' -library ' + library if ((COMPILER=="MSVC7") and opts.count("DXSDK")): cmd = cmd + ' -I"' + DIRECTXSDK + '/include"' for ver in ["MAYA5","MAYA6","MAYA65"]: if ((COMPILER=="MSVC7") and opts.count(ver)): cmd = cmd + ' -I"' + MAYASDK[ver] + '/include"' for x in files: cmd = cmd + ' ' + x oslocalcmd(src, cmd) updatefiledate(outd) updatefiledate(outc)
a7a6d72930ad9abe29a3a3863f5e83ab3573bc1a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/a7a6d72930ad9abe29a3a3863f5e83ab3573bc1a/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5294, 15283, 12, 625, 421, 33, 20, 16, 1500, 33, 20, 16, 596, 72, 33, 20, 16, 596, 71, 33, 20, 16, 1705, 33, 20, 16, 1605, 33, 20, 16, 5313, 33, 20, 16, 1390, 33, 20, 4672, 309, 14015, 625, 421, 631, 20, 14047, 12, 4952, 631, 20, 14047, 12, 659, 72, 631, 20, 14047, 12, 659, 71, 631, 20, 14047, 12, 4816, 631, 20, 14047, 12, 2978, 631, 20, 14047, 12, 12083, 631, 20, 14047, 12, 2354, 631, 20, 3719, 30, 2589, 18, 8593, 2932, 14308, 555, 316, 5294, 15283, 8655, 7923, 8061, 706, 18, 6923, 12, 659, 72, 13, 596, 72, 273, 17154, 9078, 19, 84, 464, 1077, 19, 2630, 4898, 15, 659, 72, 596, 71, 273, 17154, 9078, 19, 5645, 4898, 15, 659, 71, 2953, 273, 619, 4481, 12, 4816, 9078, 19, 3113, 2354, 16, 3660, 13, 5993, 273, 385, 5279, 25779, 8053, 1595, 12, 4481, 16, 277, 803, 13, 3928, 72, 6968, 273, 1408, 364, 277, 316, 1048, 12, 20, 16, 4816, 18, 1883, 2932, 4898, 27921, 21, 4672, 3928, 72, 6968, 273, 3928, 72, 6968, 397, 315, 838, 4898, 10504, 273, 374, 364, 619, 316, 1500, 30, 309, 261, 92, 10531, 29, 65, 31713, 20215, 1360, 9548, 4672, 10504, 273, 619, 63, 29, 26894, 309, 261, 1498, 12, 659, 71, 16, 5993, 13, 578, 12156, 12, 659, 72, 16, 5993, 3719, 30, 309, 261, 31075, 14668, 31713, 3537, 13464, 27, 6, 4672, 1797, 273, 3928, 72, 6968, 397, 17154, 397, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5294, 15283, 12, 625, 421, 33, 20, 16, 1500, 33, 20, 16, 596, 72, 33, 20, 16, 596, 71, 33, 20, 16, 1705, 33, 20, 16, 1605, 33, 20, 16, 5313, 33, 20, 16, 1390, 33, 20, 4672, 309, 14015, 625, 421, 631, 20, 14047, 12, 4952, 631, 20, 14047, 12, 659, 72, 631, 20, 14047, 12, 659, 71, 631, 20, 14047, 12, 4816, 631, 20, 14047, 12, 2978, 631, 20, 14047, 12, 12083, 631, 20, 14047, 12, 2354, 631, 20, 3719, 30, 2589, 18, 8593, 2932, 14308, 555, 316, 5294, 15283, 8655, 7923, 8061, 706, 18, 6923, 12, 659, 72, 13, 596, 72, 273, 17154, 9078, 19, 84, 464, 1077, 19, 2630, 4898, 15, 659, 72, 596, 2 ]
def receiver(): s = openmcastsock(MYGROUP, MYPORT)
def receiver(group): group_ip = ipaddr.IP(group) s = socket.socket(_sockfam(group_ip), socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(('', MYPORT)) if group_ip.version == 4: mreq = group_ip.packed + struct.pack('=I', socket.INADDR_ANY) s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq) else: mreq = group_ip.packed + struct.pack('@I', 0) s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, mreq)
def sender(flag): s = socket(AF_INET, SOCK_DGRAM) if flag == '-b': s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1) mygroup = '<broadcast>' else: mygroup = MYGROUP ttl = struct.pack('b', 1) # Time-to-live s.setsockopt(IPPROTO_IP, IP_MULTICAST_TTL, ttl) while 1: data = repr(time.time())
6493d788f0e6b96cd7d2ed70e8e39f8b8b7ec8d8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/6493d788f0e6b96cd7d2ed70e8e39f8b8b7ec8d8/mcast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5793, 12, 6420, 4672, 272, 273, 2987, 12, 6799, 67, 18819, 16, 20834, 67, 40, 15370, 13, 309, 2982, 422, 2400, 70, 4278, 272, 18, 4424, 27844, 12, 19815, 67, 25699, 16, 7460, 67, 38, 1457, 1880, 21871, 16, 404, 13, 3399, 1655, 273, 2368, 19805, 1870, 469, 30, 3399, 1655, 273, 22069, 8468, 6337, 273, 1958, 18, 2920, 2668, 70, 2187, 404, 13, 9079, 468, 2647, 17, 869, 17, 16472, 272, 18, 4424, 27844, 12, 2579, 25455, 67, 2579, 16, 2971, 67, 12845, 2871, 9053, 67, 11409, 16, 6337, 13, 1323, 404, 30, 501, 273, 8480, 12, 957, 18, 957, 10756, 2,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5793, 12, 6420, 4672, 272, 273, 2987, 12, 6799, 67, 18819, 16, 20834, 67, 40, 15370, 13, 309, 2982, 422, 2400, 70, 4278, 272, 18, 4424, 27844, 12, 19815, 67, 25699, 16, 7460, 67, 38, 1457, 1880, 21871, 16, 404, 13, 3399, 1655, 273, 2368, 19805, 1870, 469, 30, 3399, 1655, 273, 22069, 8468, 6337, 273, 1958, 18, 2920, 2668, 70, 2187, 404, 13, 9079, 468, 2647, 17, 869, 17, 16472, 272, 18, 4424, 27844, 12, 2579, 25455, 67, 2579, 16, 2971, 67, 12845, 2871, 9053, 67, 11409, 16, 6337, 13, 1323, 404, 30, 501, 273, 8480, 12, 957, 18, 957, 10756, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
HTTP.Request(art, cacheTime=CACHE_1MONTH) return art
def GetArtistArt(vevo_id, mimetype='image/jpeg'): try: info = JSON.ObjectFromURL(VEVO_TITLE_INFO % ( vevo_id, authToken ), cacheTime=CACHE_1MONTH) art = info['video']['mainArtists'][0]['imageUrl'] +'?width=1280&height=720&crop=auto' HTTP.Request(art, cacheTime=CACHE_1MONTH) return art image = HTTP.Request(art, cacheTime=CACHE_1MONTH) if art[-4:4] == '.png': mimetype = 'image/png' return DataObject(image, mimetype) except: return R(ART)
0c15350d232d9a4a2232c61bb720c6defb82a9f5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14804/0c15350d232d9a4a2232c61bb720c6defb82a9f5/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4411, 376, 4411, 12, 537, 12307, 67, 350, 16, 12595, 2218, 2730, 19, 14423, 11, 4672, 775, 30, 1123, 273, 1796, 18, 921, 1265, 1785, 12, 3412, 16169, 67, 14123, 67, 5923, 738, 261, 10489, 12307, 67, 350, 16, 24050, 262, 16, 1247, 950, 33, 8495, 67, 21, 13942, 13, 3688, 273, 1123, 3292, 9115, 21712, 5254, 4411, 1486, 3546, 63, 20, 23962, 2730, 1489, 3546, 397, 11, 35, 2819, 33, 2138, 3672, 10, 4210, 33, 27, 3462, 10, 13758, 33, 6079, 11, 1316, 273, 2239, 18, 691, 12, 485, 16, 1247, 950, 33, 8495, 67, 21, 13942, 13, 309, 3688, 18919, 24, 30, 24, 65, 422, 2418, 6446, 4278, 12595, 273, 296, 2730, 19, 6446, 11, 327, 18914, 12, 2730, 16, 12595, 13, 1335, 30, 327, 534, 12, 4928, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 968, 4411, 376, 4411, 12, 537, 12307, 67, 350, 16, 12595, 2218, 2730, 19, 14423, 11, 4672, 775, 30, 1123, 273, 1796, 18, 921, 1265, 1785, 12, 3412, 16169, 67, 14123, 67, 5923, 738, 261, 10489, 12307, 67, 350, 16, 24050, 262, 16, 1247, 950, 33, 8495, 67, 21, 13942, 13, 3688, 273, 1123, 3292, 9115, 21712, 5254, 4411, 1486, 3546, 63, 20, 23962, 2730, 1489, 3546, 397, 11, 35, 2819, 33, 2138, 3672, 10, 4210, 33, 27, 3462, 10, 13758, 33, 6079, 11, 1316, 273, 2239, 18, 691, 12, 485, 16, 1247, 950, 33, 8495, 67, 21, 13942, 13, 309, 3688, 18919, 24, 30, 24, 65, 422, 2418, 6446, 4278, 12595, 273, 296, 2730, 19, 6446, 11, 2 ]
duration = util.TimeDeltaToMilliseconds(datetime.datetime.now() - start_time) return (response, duration, exc)
duration = timer() - start_time return (response, duration*1000, exc)
def TimedRequest(self, type_string, record_string, timeout=None): """Make a DNS request, returning the reply and duration it took.
e6e6c3fada66a7e5bdd87bdf2cb59f6206791e4c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4170/e6e6c3fada66a7e5bdd87bdf2cb59f6206791e4c/nameserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23925, 691, 12, 2890, 16, 618, 67, 1080, 16, 1409, 67, 1080, 16, 2021, 33, 7036, 4672, 3536, 6464, 279, 8858, 590, 16, 5785, 326, 4332, 471, 3734, 518, 23151, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 23925, 691, 12, 2890, 16, 618, 67, 1080, 16, 1409, 67, 1080, 16, 2021, 33, 7036, 4672, 3536, 6464, 279, 8858, 590, 16, 5785, 326, 4332, 471, 3734, 518, 23151, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
callback_url = lambda url: msg('update', urllib.unquote( url))
def update(): callback_url = lambda url: msg('update', urllib.unquote( url)) callback_error = lambda s: msg('error', s) return update_channels(callback_url = callback_url, callback_error = callback_error)
114d141c167d66427c1de465f8f050eaab116914 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12778/114d141c167d66427c1de465f8f050eaab116914/console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 13332, 1348, 67, 1636, 273, 3195, 272, 30, 1234, 2668, 1636, 2187, 272, 13, 225, 327, 1089, 67, 9114, 12, 3394, 67, 718, 273, 1348, 67, 718, 16, 1348, 67, 1636, 273, 1348, 67, 1636, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print "Error: %s" % ": ".join(parts[1:]) failures.setdefault("SUBMIT", []).append(data)
print "Error in GET: %s" % ": ".join(parts[1:]) failures.setdefault("GET", []).append(data)
def test_single_task_life_cycle(self): submitted = [] failures = {} s = self.socket for l in [0, 1, 4, 16, 63, 64, 65, 2047, 2048, 2049, 2050, 16*1024-8, 64*1024, 1024*1024-4]: if l > self.params['max_input_size']: continue data = " " * l s.send('SUBMIT "%s"\n' % data) parts = self.read_reply() if parts[0] == "ERR": print "At data length %d" % l, print "Error: %s" % ": ".join(parts[1:]) failures.setdefault("SUBMIT", []).append(data) continue submitted.append(parts[1]) for cmd in ['SUBMIT']: if not cmd in failures: self.successes[cmd] = 1 if failures: return 1 return 0
6f4afcda014a36e955c7cd4a9ca97db6ca0edbd6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/310/6f4afcda014a36e955c7cd4a9ca97db6ca0edbd6/test_netschedule_smoke.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 7526, 67, 4146, 67, 10256, 73, 67, 13946, 12, 2890, 4672, 9638, 273, 5378, 11720, 273, 2618, 272, 273, 365, 18, 7814, 364, 328, 316, 306, 20, 16, 404, 16, 1059, 16, 2872, 16, 13746, 16, 5178, 16, 15892, 16, 11492, 27, 16, 21907, 16, 11492, 29, 16, 4200, 3361, 16, 2872, 14, 2163, 3247, 17, 28, 16, 5178, 14, 2163, 3247, 16, 6250, 14, 2163, 3247, 17, 24, 14542, 309, 328, 405, 365, 18, 2010, 3292, 1896, 67, 2630, 67, 1467, 3546, 30, 1324, 501, 273, 315, 315, 380, 328, 272, 18, 4661, 2668, 8362, 6068, 2213, 87, 12691, 82, 11, 738, 501, 13, 2140, 273, 365, 18, 896, 67, 10629, 1435, 309, 2140, 63, 20, 65, 422, 315, 9712, 6877, 1172, 315, 861, 501, 769, 738, 72, 6, 738, 328, 16, 1172, 315, 668, 316, 4978, 30, 738, 87, 6, 738, 6398, 3552, 5701, 12, 6019, 63, 21, 30, 5717, 11720, 18, 542, 1886, 2932, 3264, 3113, 5378, 2934, 6923, 12, 892, 13, 1324, 9638, 18, 6923, 12, 6019, 63, 21, 5717, 364, 1797, 316, 10228, 8362, 6068, 3546, 30, 309, 486, 1797, 316, 11720, 30, 365, 18, 4768, 281, 63, 4172, 65, 273, 404, 309, 11720, 30, 327, 404, 327, 374, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 67, 7526, 67, 4146, 67, 10256, 73, 67, 13946, 12, 2890, 4672, 9638, 273, 5378, 11720, 273, 2618, 272, 273, 365, 18, 7814, 364, 328, 316, 306, 20, 16, 404, 16, 1059, 16, 2872, 16, 13746, 16, 5178, 16, 15892, 16, 11492, 27, 16, 21907, 16, 11492, 29, 16, 4200, 3361, 16, 2872, 14, 2163, 3247, 17, 28, 16, 5178, 14, 2163, 3247, 16, 6250, 14, 2163, 3247, 17, 24, 14542, 309, 328, 405, 365, 18, 2010, 3292, 1896, 67, 2630, 67, 1467, 3546, 30, 1324, 501, 273, 315, 315, 380, 328, 272, 18, 4661, 2668, 8362, 6068, 2213, 87, 12691, 82, 11, 738, 501, 13, 2140, 273, 365, 18, 896, 67, 10629, 1435, 309, 2140, 63, 2 ]
while os.path.lexists(name):
while os.path.exists(name):
def getTempFile(self): name=DV.tmp_path+str(random.random())+'.tmp' while os.path.lexists(name): name=DV.tmp_path+str(random.random())+'.tmp' return name
a23aab3cca4213a18f7de633eeab28f6386139ab /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11142/a23aab3cca4213a18f7de633eeab28f6386139ab/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 20181, 12, 2890, 4672, 508, 33, 30199, 18, 5645, 67, 803, 15, 701, 12, 9188, 18, 9188, 10756, 6797, 18, 5645, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 20181, 12, 2890, 4672, 508, 33, 30199, 18, 5645, 67, 803, 15, 701, 12, 9188, 18, 9188, 10756, 6797, 18, 5645, 11, 1323, 1140, 18, 803, 18, 1808, 12, 529, 4672, 508, 33, 30199, 18, 5645, 67, 803, 15, 701, 12, 9188, 18, 9188, 10756, 6797, 18, 5645, 11, 327, 508, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def list_files_in_directory(self, path, pattern=None, pattern_type='simple', absolute=False):
def list_files_in_directory(self, path, pattern=None, pattern_type='simple', absolute=False):
def list_files_in_directory(self, path, pattern=None, pattern_type='simple', absolute=False): """A wrapper for `List Directory` that returns only files.""" files = self._list_files_in_dir(path, pattern, pattern_type, absolute) for f in files: self._info(f) return files
6f8bd1e5c5b0db8d92d174d89dc27677542321fb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/6f8bd1e5c5b0db8d92d174d89dc27677542321fb/OperatingSystem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 67, 267, 67, 5149, 12, 2890, 16, 589, 16, 1936, 33, 7036, 16, 1936, 67, 723, 2218, 9647, 2187, 4967, 33, 8381, 4672, 3536, 37, 4053, 364, 1375, 682, 8930, 68, 716, 1135, 1338, 1390, 12123, 1390, 273, 365, 6315, 1098, 67, 2354, 67, 267, 67, 1214, 12, 803, 16, 1936, 16, 1936, 67, 723, 16, 4967, 13, 364, 284, 316, 1390, 30, 365, 6315, 1376, 12, 74, 13, 327, 1390, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 666, 67, 2354, 67, 267, 67, 5149, 12, 2890, 16, 589, 16, 1936, 33, 7036, 16, 1936, 67, 723, 2218, 9647, 2187, 4967, 33, 8381, 4672, 3536, 37, 4053, 364, 1375, 682, 8930, 68, 716, 1135, 1338, 1390, 12123, 1390, 273, 365, 6315, 1098, 67, 2354, 67, 267, 67, 1214, 12, 803, 16, 1936, 16, 1936, 67, 723, 16, 4967, 13, 364, 284, 316, 1390, 30, 365, 6315, 1376, 12, 74, 13, 327, 1390, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def start_tag(self, indent): """ See the source code for an explanation. """ return indent + "<%s Name=\"%s\" Type=\"%s\" Delimiter=\"%s\">" % (self.tagName, self.getAttribute("Name"), self.getAttribute("Type"), self.getAttribute("Delimiter"))
def write(self, file = sys.stdout, indent = ""): columninfo = [(c.getAttribute("Type") in StringTypes, StripColumnName(c.getAttribute("Name"))) for c in self.parentNode.getElementsByTagName(ligolw.Column.tagName)]
0b885a9349d0c06b88b02c7943dcbec10a0f29d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/0b885a9349d0c06b88b02c7943dcbec10a0f29d5/metaio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 585, 273, 2589, 18, 10283, 16, 3504, 273, 1408, 4672, 1057, 1376, 273, 306, 12, 71, 18, 588, 1499, 2932, 559, 7923, 316, 514, 2016, 16, 15589, 8516, 12, 71, 18, 588, 1499, 2932, 461, 6, 20349, 364, 276, 316, 365, 18, 2938, 907, 18, 588, 3471, 10401, 12, 80, 360, 355, 91, 18, 1494, 18, 2692, 461, 25887, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1499, 2932, 559, 7923, 316, 514, 2016, 16, 15589, 8516, 12, 71, 18, 588, 1499, 2932, 461, 6, 20349, 364, 276, 316, 365, 18, 2938, 907, 18, 588, 3471, 10401, 12, 80, 360, 355, 91, 18, 1494, 18, 2692, 461, 25887, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
from sugarcrm.sugarsoap_services_types import * from sugarcrm.sugarsoap_services import *
def open(self): super(sugarcrm_connector, self).open() from sugarcrm.sugarsoap_services_types import * from sugarcrm.sugarsoap_services import * loc = sugarsoapLocator(); request = loginRequest();
44fa23f0e9be8b03599759a14d4f3d6090e57f3a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/44fa23f0e9be8b03599759a14d4f3d6090e57f3a/sugarcrm_connector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 4672, 2240, 12, 87, 18481, 3353, 81, 67, 23159, 16, 365, 2934, 3190, 1435, 225, 1515, 273, 26178, 19215, 5786, 5621, 590, 273, 3925, 691, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 1696, 12, 2890, 4672, 2240, 12, 87, 18481, 3353, 81, 67, 23159, 16, 365, 2934, 3190, 1435, 225, 1515, 273, 26178, 19215, 5786, 5621, 590, 273, 3925, 691, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._restore(fsFile, realPath,
self._restore(fsFile, realPath, newTroveInfo,
def _singleTrove(self, repos, troveCs, changeSet, baseTrove, fsTrove, root, removalHints, flags):
22f9a9101585ff5ecfc72cfcc17af08af913547a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/22f9a9101585ff5ecfc72cfcc17af08af913547a/update.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7526, 56, 303, 537, 12, 2890, 16, 13686, 16, 23432, 537, 14272, 16, 26104, 16, 1026, 56, 303, 537, 16, 2662, 56, 303, 537, 16, 1365, 16, 14817, 13368, 16, 2943, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7526, 56, 303, 537, 12, 2890, 16, 13686, 16, 23432, 537, 14272, 16, 26104, 16, 1026, 56, 303, 537, 16, 2662, 56, 303, 537, 16, 1365, 16, 14817, 13368, 16, 2943, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
worst_arr = np.array([i for (i,c,f) in worst_list], 'i')
worst_arr = np.array([j for (j,c,f) in worst_list], 'i')
#def DE2arr(func, lb, ub, itermax=1000, NP=100, F=0.8, Cr=0.5, strategy=(1, 1, 1, 1), constraints=None):
46cbf0d3bbdebf5f16d2363e287678a73ce62d6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6196/46cbf0d3bbdebf5f16d2363e287678a73ce62d6c/de_oo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 2030, 22, 5399, 12, 644, 16, 7831, 16, 13910, 16, 1400, 1896, 33, 18088, 16, 423, 52, 33, 6625, 16, 478, 33, 20, 18, 28, 16, 14998, 33, 20, 18, 25, 16, 6252, 28657, 21, 16, 404, 16, 404, 16, 404, 3631, 6237, 33, 7036, 4672, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 468, 536, 2030, 22, 5399, 12, 644, 16, 7831, 16, 13910, 16, 1400, 1896, 33, 18088, 16, 423, 52, 33, 6625, 16, 478, 33, 20, 18, 28, 16, 14998, 33, 20, 18, 25, 16, 6252, 28657, 21, 16, 404, 16, 404, 16, 404, 3631, 6237, 33, 7036, 4672, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
'--revision', revision,
def sendchange(branch, revision, username, master, configfile): """Send the change to buildbot to kick off the release automation""" cmd = [ 'buildbot', 'sendchange', '--username', username, '--master', master, '--branch', branch, '--revision', revision, '-p', 'release_config:mozilla/%s' % configfile, 'release_build' ] log.info("Executing: %s" % cmd) run_cmd(cmd)
bcd1a19d3fcb1f7ce62273ae637a60ab2502c500 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6206/bcd1a19d3fcb1f7ce62273ae637a60ab2502c500/release_sanity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 3427, 12, 7500, 16, 6350, 16, 2718, 16, 4171, 16, 642, 768, 4672, 3536, 3826, 326, 2549, 358, 1361, 4819, 358, 23228, 3397, 326, 3992, 17539, 8395, 1797, 273, 306, 296, 3510, 4819, 2187, 296, 4661, 3427, 2187, 3534, 5053, 2187, 2718, 16, 3534, 7525, 2187, 4171, 16, 3534, 7500, 2187, 3803, 16, 2400, 84, 2187, 296, 9340, 67, 1425, 30, 8683, 15990, 5258, 87, 11, 738, 642, 768, 16, 296, 9340, 67, 3510, 11, 308, 613, 18, 1376, 2932, 22134, 30, 738, 87, 6, 738, 1797, 13, 1086, 67, 4172, 12, 4172, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 3427, 12, 7500, 16, 6350, 16, 2718, 16, 4171, 16, 642, 768, 4672, 3536, 3826, 326, 2549, 358, 1361, 4819, 358, 23228, 3397, 326, 3992, 17539, 8395, 1797, 273, 306, 296, 3510, 4819, 2187, 296, 4661, 3427, 2187, 3534, 5053, 2187, 2718, 16, 3534, 7525, 2187, 4171, 16, 3534, 7500, 2187, 3803, 16, 2400, 84, 2187, 296, 9340, 67, 1425, 30, 8683, 15990, 5258, 87, 11, 738, 642, 768, 16, 296, 9340, 67, 3510, 11, 308, 613, 18, 1376, 2932, 22134, 30, 738, 87, 6, 738, 1797, 13, 1086, 67, 4172, 12, 4172, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
security.declareProtected(ManageCollector, 'migrate_issue_workflow')
security.declareProtected(ManageCollector, 'migrate_issue_workflow_histories')
def register_issue_uids(self, RESPONSE=None): """ Issues imported through a .zexp file don't have UIDs anymore. They must be re-registered with the reference_catalog of AT. """
18564875fa2e4592a5a027e58419ff573d9ab274 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/18564875fa2e4592a5a027e58419ff573d9ab274/Collector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 13882, 67, 21428, 12, 2890, 16, 20645, 33, 7036, 4672, 3536, 9310, 3610, 9101, 3059, 279, 263, 94, 2749, 585, 2727, 1404, 1240, 587, 5103, 16828, 18, 16448, 1297, 506, 283, 17, 14327, 598, 326, 2114, 67, 7199, 434, 14464, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1744, 67, 13882, 67, 21428, 12, 2890, 16, 20645, 33, 7036, 4672, 3536, 9310, 3610, 9101, 3059, 279, 263, 94, 2749, 585, 2727, 1404, 1240, 587, 5103, 16828, 18, 16448, 1297, 506, 283, 17, 14327, 598, 326, 2114, 67, 7199, 434, 14464, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print >> sys.stderr, msg
print >> out, msg
def usage(code, msg=''): print >> sys.stderr, __doc__ % globals() if msg: print >> sys.stderr, msg sys.exit(code)
e25e6b825bd2ebd0cfbfe1c52c484ec6571c4ef5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1532/e25e6b825bd2ebd0cfbfe1c52c484ec6571c4ef5/pep2html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 12, 710, 16, 1234, 2218, 11, 4672, 1172, 1671, 2589, 18, 11241, 16, 1001, 2434, 972, 738, 10941, 1435, 309, 1234, 30, 1172, 1671, 596, 16, 1234, 2589, 18, 8593, 12, 710, 13, 565, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 12, 710, 16, 1234, 2218, 11, 4672, 1172, 1671, 2589, 18, 11241, 16, 1001, 2434, 972, 738, 10941, 1435, 309, 1234, 30, 1172, 1671, 596, 16, 1234, 2589, 18, 8593, 12, 710, 13, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._substructure_finder.set_n_sites(
self._substructure_finder.substructure_find_set_n_sites(
def _get_substructure_finder(self): if self._substructure_finder is None: self._substructure_finder = SubstructureFinder()
89ebf7f6a97369e713f5185fab4b66b002a8bcd8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3290/89ebf7f6a97369e713f5185fab4b66b002a8bcd8/XCrystal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1717, 7627, 67, 15356, 12, 2890, 4672, 309, 365, 6315, 1717, 7627, 67, 15356, 353, 599, 30, 365, 6315, 1717, 7627, 67, 15356, 273, 2592, 7627, 8441, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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627, 67, 15356, 353, 599, 30, 365, 6315, 1717, 7627, 67, 15356, 273, 2592, 7627, 8441, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
remote.send("pong");
remote.send("pong")
def slave(self): # Clip out the master host in the barrier, remove any # trailing local identifier following a #. This allows # multiple members per host which is particularly helpful # in testing. master = (self.members[0].split('#'))[0]
c3ee2a91e59f395d7cc1c6317bbd1faf77f611e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12268/c3ee2a91e59f395d7cc1c6317bbd1faf77f611e1/barrier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11735, 12, 2890, 4672, 468, 385, 3169, 596, 326, 4171, 1479, 316, 326, 24651, 16, 1206, 1281, 468, 7341, 1191, 2756, 3751, 279, 468, 18, 225, 1220, 5360, 468, 3229, 4833, 1534, 1479, 1492, 353, 6826, 715, 28063, 468, 316, 7769, 18, 4171, 273, 261, 2890, 18, 7640, 63, 20, 8009, 4939, 2668, 10038, 3719, 63, 20, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 11735, 12, 2890, 4672, 468, 385, 3169, 596, 326, 4171, 1479, 316, 326, 24651, 16, 1206, 1281, 468, 7341, 1191, 2756, 3751, 279, 468, 18, 225, 1220, 5360, 468, 3229, 4833, 1534, 1479, 1492, 353, 6826, 715, 28063, 468, 316, 7769, 18, 4171, 273, 261, 2890, 18, 7640, 63, 20, 8009, 4939, 2668, 10038, 3719, 63, 20, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
CopyAllFiles("built/lib/", STDTHIRDPARTY + pkg.lower() + "/lib/")
CopyAllFiles(PREFIX+"/lib/", STDTHIRDPARTY + pkg.lower() + "/lib/")
if (val == 'UNDEF'): conf = conf + "#undef " + key + "\n"
aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 261, 1125, 422, 296, 2124, 12904, 11, 4672, 2195, 273, 2195, 397, 6619, 318, 536, 315, 397, 498, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 309, 261, 1125, 422, 296, 2124, 12904, 11, 4672, 2195, 273, 2195, 397, 6619, 318, 536, 315, 397, 498, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.sendDataType = 0; self.sendOnChange = 1 self.sendPredictions = 0 self.sendSelection = 1 self.rbest = 0
self.sendOnChange = 1 self.classes = [] self.selectedClasses = []
def __init__(self, parent=None, signalManager = None): OWWidget.__init__(self, parent, signalManager, "Predictions")
63e34d56e155a4f1aba288f36a71868771294735 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/63e34d56e155a4f1aba288f36a71868771294735/OWPredictions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 315, 20766, 87, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 982, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 315, 20766, 87, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print kwargs
def plot(self, bonds=False, **kwargs): import pylab
33df799b08e3bc01756365d3d03df0b539fd3eaf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8914/33df799b08e3bc01756365d3d03df0b539fd3eaf/extras.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12, 2890, 16, 15692, 33, 8381, 16, 2826, 4333, 4672, 1930, 2395, 7411, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3207, 12, 2890, 16, 15692, 33, 8381, 16, 2826, 4333, 4672, 1930, 2395, 7411, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tbl = skytools.fq_name(tbl) if tbl in subscriber_tables: self.log.info("Removing: %s" % tbl) self.subscriber_remove_one_table(tbl) else: self.log.info("Table %s already removed" % tbl)
tbls = self.get_subscriber_table_list(skytools.fq_name(tbl)) for tbl in tbls: if tbl in subscriber_tables: self.log.info("Removing: %s" % tbl) self.subscriber_remove_one_table(tbl) else: self.log.info("Table %s already removed" % tbl)
def subscriber_remove_tables(self, table_list): subscriber_tables = self.get_subscriber_table_list() if not table_list and self.options.all: table_list = subscriber_tables for tbl in table_list: tbl = skytools.fq_name(tbl) if tbl in subscriber_tables: self.log.info("Removing: %s" % tbl) self.subscriber_remove_one_table(tbl) else: self.log.info("Table %s already removed" % tbl)
284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14597/284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9467, 67, 4479, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 9467, 67, 9373, 273, 365, 18, 588, 67, 26410, 67, 2121, 67, 1098, 1435, 309, 486, 1014, 67, 1098, 471, 365, 18, 2116, 18, 454, 30, 1014, 67, 1098, 273, 9467, 67, 9373, 364, 10142, 316, 1014, 67, 1098, 30, 10142, 273, 15513, 6642, 18, 19206, 67, 529, 12, 16187, 13, 309, 10142, 316, 9467, 67, 9373, 30, 365, 18, 1330, 18, 1376, 2932, 18939, 30, 738, 87, 6, 738, 10142, 13, 365, 18, 26410, 67, 4479, 67, 476, 67, 2121, 12, 16187, 13, 469, 30, 365, 18, 1330, 18, 1376, 2932, 1388, 738, 87, 1818, 3723, 6, 738, 10142, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9467, 67, 4479, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 9467, 67, 9373, 273, 365, 18, 588, 67, 26410, 67, 2121, 67, 1098, 1435, 309, 486, 1014, 67, 1098, 471, 365, 18, 2116, 18, 454, 30, 1014, 67, 1098, 273, 9467, 67, 9373, 364, 10142, 316, 1014, 67, 1098, 30, 10142, 273, 15513, 6642, 18, 19206, 67, 529, 12, 16187, 13, 309, 10142, 316, 9467, 67, 9373, 30, 365, 18, 1330, 18, 1376, 2932, 18939, 30, 738, 87, 6, 738, 10142, 13, 365, 18, 26410, 67, 4479, 67, 476, 67, 2121, 12, 16187, 13, 469, 30, 365, 18, 1330, 18, 1376, 2932, 1388, 738, 87, 1818, 3723, 6, 738, 10142, 13, 2, -100, -100, -100, -100, -100 ]
colorB = r.floatPrimVar( ipe.B() ) self.assert_( ( V3f( colorR, colorG, colorB ) - V3f( 0.5 - 1./1024, 0.5 - 1./512, 0.0 ) ).length() < 1.e-3 ) foundClosest = ipe.closestPoint( V3f( -256, 128, 0 ), r )
colorB = r.floatPrimVar( ipe.B() ) self.assert_( ( V3f( colorR, colorG, colorB ) - V3f( 0.5, 0.5, 0.0 ) ).length() < 1.e-3 ) foundClosest = ipe.closestPoint( V3f( -256, 127.5, 0 ), r )
def testSimpleImage( self ) : """ Test ImagePrimitiveEvaluator with simple gradient""" random.seed( 1 ) # Get an image which goes from black to red in the ascending X direction, # and from black to green in the ascending Y direction, and check that # its oriented correctly. reader = Reader.create( "test/IECore/data/exrFiles/uvMap.512x256.exr" ) img = reader.read() ipe = PrimitiveEvaluator.create( img ) self.assert_( ipe.isInstanceOf( "ImagePrimitiveEvaluator" ) ) self.assert_( ipe.R() ) self.assert_( ipe.G() ) self.assert_( ipe.B() ) self.failIf( ipe.A() ) self.assertEqual( ipe.surfaceArea(), 2 * 512 * 256 ) self.assertEqual( ipe.volume(), 0.0 ) self.assertEqual( ipe.centerOfGravity(), V3f( 0, 0, 0 ) ) r = ipe.createResult() foundClosest = ipe.closestPoint( V3f( 0, 0, 0 ), r ) self.assert_( foundClosest ) self.assertEqual( r.uv(), V2f( 0.5, 0.5 ) ) self.assertEqual( r.normal(), V3f( 0.0, 0.0, 1.0 ) ) colorR = r.floatPrimVar( ipe.R() ) colorG = r.floatPrimVar( ipe.G() ) colorB = r.floatPrimVar( ipe.B() ) self.assert_( ( V3f( colorR, colorG, colorB ) - V3f( 0.5 - 1./1024, 0.5 - 1./512, 0.0 ) ).length() < 1.e-3 ) foundClosest = ipe.closestPoint( V3f( -256, 128, 0 ), r ) self.assert_( foundClosest ) self.assertEqual( r.uv(), V2f( 0.0, 1.0 ) ) self.assertEqual( r.normal(), V3f( 0.0, 0.0, 1.0 ) ) colorR = r.floatPrimVar( ipe.R() ) colorG = r.floatPrimVar( ipe.G() ) colorB = r.floatPrimVar( ipe.B() ) self.assertEqual( Color3f( colorR, colorG, colorB ), Color3f( 0.0, 1.0, 0.0 ) ) foundClosest = ipe.closestPoint( V3f( 256, -128, 0 ), r ) self.assert_( foundClosest ) self.assertEqual( r.uv(), V2f( 1.0, 0.0 ) ) self.assertEqual( r.normal(), V3f( 0.0, 0.0, 1.0 ) ) colorR = r.floatPrimVar( ipe.R() ) colorG = r.floatPrimVar( ipe.G() ) colorB = r.floatPrimVar( ipe.B() ) self.assertEqual( Color3f( colorR, colorG, colorB ), Color3f( 1.0, 0.0, 0.0 ) ) foundClosest = ipe.closestPoint( V3f( 256, 128, 0 ), r ) self.assert_( foundClosest ) self.assertEqual( r.uv(), V2f( 1.0, 1.0 ) ) self.assertEqual( r.normal(), V3f( 0.0, 0.0, 1.0 ) ) colorR = r.floatPrimVar( ipe.R() ) colorG = r.floatPrimVar( ipe.G() ) colorB = r.floatPrimVar( ipe.B() ) self.assertEqual( Color3f( colorR, colorG, colorB ), Color3f( 1.0, 1.0, 0.0 ) ) found = ipe.pointAtPixel( V2i( 511, 255 ), r ) self.assert_( found ) self.assertEqual( r.pixel(), V2i( 511, 255 ) ) self.assertEqual( r.uv(), V2f( 1.0, 1.0 ) ) self.assertEqual( r.normal(), V3f( 0.0, 0.0, 1.0 ) ) colorR = r.floatPrimVar( ipe.R() ) colorG = r.floatPrimVar( ipe.G() ) colorB = r.floatPrimVar( ipe.B() ) self.assertEqual( Color3f( colorR, colorG, colorB ), Color3f( 1.0, 1.0, 0.0 ) ) # Check that red ascends over X randomY = int( random.uniform ( 0, 255 ) ) lastR = None for x in range( 0, 512 ): found = ipe.pointAtPixel( V2i( x, randomY ), r ) self.assert_( found ) if lastR : self.assert_( r.floatPrimVar( ipe.R() ) > lastR ) else : lastR = r.floatPrimVar( ipe.R() ) # Check that green ascends over Y randomX = int( random.uniform ( 0, 511 ) ) lastG = None for y in range( 0, 256 ): found = ipe.pointAtPixel( V2i( randomX, y ), r ) self.assert_( found ) if lastG : self.assert_( r.floatPrimVar( ipe.G() ) > lastG ) else : lastG = r.floatPrimVar( ipe.G() )
58fb77e98f3635e6cbde51fe2007926b7d5d0fd4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9042/58fb77e98f3635e6cbde51fe2007926b7d5d0fd4/ImagePrimitiveEvaluator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5784, 2040, 12, 365, 262, 294, 3536, 7766, 3421, 9840, 15876, 598, 4143, 10292, 8395, 225, 2744, 18, 12407, 12, 404, 262, 225, 468, 968, 392, 1316, 1492, 13998, 628, 7721, 358, 1755, 316, 326, 13976, 1139, 4068, 16, 468, 471, 628, 7721, 358, 10004, 316, 326, 13976, 1624, 4068, 16, 471, 866, 716, 468, 2097, 7891, 329, 8783, 18, 225, 2949, 273, 5393, 18, 2640, 12, 315, 3813, 19, 8732, 4670, 19, 892, 19, 338, 86, 2697, 19, 16303, 863, 18, 13757, 92, 5034, 18, 338, 86, 6, 262, 3774, 273, 2949, 18, 896, 1435, 225, 277, 347, 273, 14488, 15876, 18, 2640, 12, 3774, 262, 365, 18, 11231, 67, 12, 277, 347, 18, 291, 1442, 951, 12, 315, 2040, 9840, 15876, 6, 262, 262, 225, 365, 18, 11231, 67, 12, 277, 347, 18, 54, 1435, 262, 365, 18, 11231, 67, 12, 277, 347, 18, 43, 1435, 262, 365, 18, 11231, 67, 12, 277, 347, 18, 38, 1435, 262, 365, 18, 6870, 2047, 12, 277, 347, 18, 37, 1435, 262, 225, 365, 18, 11231, 5812, 12, 277, 347, 18, 18266, 5484, 9334, 576, 380, 13908, 380, 8303, 262, 365, 18, 11231, 5812, 12, 277, 347, 18, 9491, 9334, 374, 18, 20, 262, 365, 18, 11231, 5812, 12, 277, 347, 18, 5693, 951, 14571, 16438, 9334, 776, 23, 74, 12, 374, 16, 374, 16, 374, 262, 262, 225, 436, 273, 277, 347, 18, 2640, 1253, 1435, 225, 1392, 4082, 7781, 273, 277, 347, 18, 7550, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5784, 2040, 12, 365, 262, 294, 3536, 7766, 3421, 9840, 15876, 598, 4143, 10292, 8395, 225, 2744, 18, 12407, 12, 404, 262, 225, 468, 968, 392, 1316, 1492, 13998, 628, 7721, 358, 1755, 316, 326, 13976, 1139, 4068, 16, 468, 471, 628, 7721, 358, 10004, 316, 326, 13976, 1624, 4068, 16, 471, 866, 716, 468, 2097, 7891, 329, 8783, 18, 225, 2949, 273, 5393, 18, 2640, 12, 315, 3813, 19, 8732, 4670, 19, 892, 19, 338, 86, 2697, 19, 16303, 863, 18, 13757, 92, 5034, 18, 338, 86, 6, 262, 3774, 273, 2949, 18, 896, 1435, 225, 277, 347, 273, 14488, 15876, 18, 2640, 12, 3774, 262, 365, 18, 11231, 67, 12, 277, 347, 18, 291, 1442, 2 ]
return data
return File.StringHandle(data)
def __getitem__(self, key): """Retrieve an item from the indexed file. """ data = self._search[key] # run the data through the parser if one is specified if self._parser is not None: return self._parser.parse(File.StringHandle(data))
f3cb1d095cc82799ffe4add64a377c003cdd2310 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/f3cb1d095cc82799ffe4add64a377c003cdd2310/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 498, 4672, 3536, 5767, 392, 761, 628, 326, 8808, 585, 18, 3536, 501, 273, 365, 6315, 3072, 63, 856, 65, 225, 468, 1086, 326, 501, 3059, 326, 2082, 309, 1245, 353, 1269, 309, 365, 6315, 4288, 353, 486, 599, 30, 327, 365, 6315, 4288, 18, 2670, 12, 812, 18, 780, 3259, 12, 892, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 498, 4672, 3536, 5767, 392, 761, 628, 326, 8808, 585, 18, 3536, 501, 273, 365, 6315, 3072, 63, 856, 65, 225, 468, 1086, 326, 501, 3059, 326, 2082, 309, 1245, 353, 1269, 309, 365, 6315, 4288, 353, 486, 599, 30, 327, 365, 6315, 4288, 18, 2670, 12, 812, 18, 780, 3259, 12, 892, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.done[url].append(origin)
if origin not in self.done[url]: self.done[url].append(origin)
def newdonelink(self, url, origin): self.done[url].append(origin)
5445e352b244db461527b895255328eaa1a7dc6f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/5445e352b244db461527b895255328eaa1a7dc6f/wcnew.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 19752, 27269, 12, 2890, 16, 880, 16, 4026, 4672, 365, 18, 8734, 63, 718, 8009, 6923, 12, 10012, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 394, 19752, 27269, 12, 2890, 16, 880, 16, 4026, 4672, 365, 18, 8734, 63, 718, 8009, 6923, 12, 10012, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.templates = templates()
self.templates = Templates()
def __init__(self, kernelversion): self.config = ConfigReader() self.templates = templates() self.kernelversion = kernelversion
136c33d961d0ff02562a22ebb9d444eca0f3f543 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5794/136c33d961d0ff02562a22ebb9d444eca0f3f543/gencontrol.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5536, 1589, 4672, 365, 18, 1425, 273, 1903, 2514, 1435, 365, 18, 8502, 273, 26212, 1435, 365, 18, 8111, 1589, 273, 5536, 1589, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5536, 1589, 4672, 365, 18, 1425, 273, 1903, 2514, 1435, 365, 18, 8502, 273, 26212, 1435, 365, 18, 8111, 1589, 273, 5536, 1589, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Y = [n for n in X if not (n in self.__coefficients.keys())]
Y = [n for n in X if not (n in self.__coefficients.keys())]
def coefficients(self, X): """ The coefficients a_n of self, for integers n>=0 in the list X.
f9fb1a64c34d6355e6ab054e3c07cff20c82fcc0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/f9fb1a64c34d6355e6ab054e3c07cff20c82fcc0/element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14229, 12, 2890, 16, 1139, 4672, 3536, 1021, 14229, 279, 67, 82, 434, 365, 16, 364, 12321, 290, 34, 33, 20, 316, 326, 666, 1139, 18, 2, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14229, 12, 2890, 16, 1139, 4672, 3536, 1021, 14229, 279, 67, 82, 434, 365, 16, 364, 12321, 290, 34, 33, 20, 316, 326, 666, 1139, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.doclist.Delete(updated_acl_entry.GetEditLink().href)
self.editClient.Delete(updated_acl_entry.GetEditLink().href)
def testCreateAndUpdateAndDeleteAcl(self): # Add new ACL scope = gdata.docs.Scope(value=self.EMAIL, type=self.SCOPE_TYPE) role = gdata.docs.Role(value=self.ROLE_VALUE)
76de6e666a2dc6ba3f703b89b870266619bcabd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10620/76de6e666a2dc6ba3f703b89b870266619bcabd4/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 1876, 1891, 1876, 2613, 13538, 12, 2890, 4672, 468, 1436, 394, 10098, 2146, 273, 314, 892, 18, 8532, 18, 3876, 12, 1132, 33, 2890, 18, 14686, 16, 618, 33, 2890, 18, 19444, 67, 2399, 13, 2478, 273, 314, 892, 18, 8532, 18, 2996, 12, 1132, 33, 2890, 18, 16256, 67, 4051, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1684, 1876, 1891, 1876, 2613, 13538, 12, 2890, 4672, 468, 1436, 394, 10098, 2146, 273, 314, 892, 18, 8532, 18, 3876, 12, 1132, 33, 2890, 18, 14686, 16, 618, 33, 2890, 18, 19444, 67, 2399, 13, 2478, 273, 314, 892, 18, 8532, 18, 2996, 12, 1132, 33, 2890, 18, 16256, 67, 4051, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
The combinatorial class of all of the subsets of size k of a multiset s. Note that each subset is represented by a list of the elements rather than a set since we can have multiplicities (no multiset data structure yet in
The combinatorial class of the subsets of size k of a multiset s. Note that each subset is represented by a list of the elements rather than a set since we can have multiplicities (no multiset data structure yet in
def iterator(self): """ Iterate through the subsets of the multiset ``self._s``. Note that each subset is represented by a list of its elements rather than a set since we can have multiplicities (no multiset data structure yet in sage).
ecce0130e3c3f48b019825889b4a6c40b64059ff /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/ecce0130e3c3f48b019825889b4a6c40b64059ff/subset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2775, 12, 2890, 4672, 3536, 11436, 3059, 326, 30760, 434, 326, 22945, 278, 12176, 2890, 6315, 87, 68, 8338, 225, 3609, 716, 1517, 7931, 353, 10584, 635, 279, 666, 434, 2097, 2186, 9178, 2353, 279, 444, 3241, 732, 848, 1240, 3309, 1780, 1961, 261, 2135, 22945, 278, 501, 3695, 4671, 316, 272, 410, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2775, 12, 2890, 4672, 3536, 11436, 3059, 326, 30760, 434, 326, 22945, 278, 12176, 2890, 6315, 87, 68, 8338, 225, 3609, 716, 1517, 7931, 353, 10584, 635, 279, 666, 434, 2097, 2186, 9178, 2353, 279, 444, 3241, 732, 848, 1240, 3309, 1780, 1961, 261, 2135, 22945, 278, 501, 3695, 4671, 316, 272, 410, 2934, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if not isspecific(mypkgdep[1:]):
if not isspecific(mypkgdep[2:]):
def dep_depreduce(mypkgdep): if mypkgdep[0]=="!": if isinstalled(mypkgdep[1:]): return 0 else: return 1 elif mypkgdep[0]=="=": if isspecific(mypkgdep[1:]): if isinstalled(mypkgdep[1:]): return 1 else: return 0 else: return None elif mypkgdep[0:2]==">=": if not isspecific(mypkgdep[2:]): return None if isinstalled(getgeneral(mypkgdep[2:])): if installedcmp(mypkgdep[2:])<=0: return 1 return 0 elif mypkgdep[0:2]=="<=": if not isspecific(mypkgdep[2:]): return None if isinstalled(getgeneral(mypkgdep[2:])): if installedcmp(mypkgdep[2:])>=0: return 1 return 0 elif mypkgdep[0]=="<": if not isspecific(mypkgdep[1:]): return None if isinstalled(getgeneral(mypkgdep[1:])): if installedcmp(mypkgdep[1:])>0: return 1 return 0 elif mypkgdep[0]==">": if not isspecific(mypkgdep[1:]): return None if isinstalled(getgeneral(mypkgdep[1:])): if installedcmp(mypkgdep[1:])<0: return 1 return 0 if not isspecific(mypkgdep): if isinstalled(mypkgdep): return 1 else: return 0 else: return None
89268f330fdfe435c9ad2ced21f6552bdacff1f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2807/89268f330fdfe435c9ad2ced21f6552bdacff1f2/portage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 323, 6510, 3965, 12, 81, 879, 14931, 15037, 4672, 309, 312, 879, 14931, 15037, 63, 20, 65, 31713, 4442, 30, 309, 353, 13435, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 327, 374, 469, 30, 327, 404, 1327, 312, 879, 14931, 15037, 63, 20, 65, 31713, 1546, 30, 309, 353, 12524, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 309, 353, 13435, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 327, 404, 469, 30, 327, 374, 469, 30, 327, 599, 1327, 312, 879, 14931, 15037, 63, 20, 30, 22, 65, 631, 6441, 1546, 30, 309, 486, 353, 12524, 12, 81, 879, 14931, 15037, 63, 22, 26894, 4672, 327, 599, 309, 353, 13435, 12, 588, 12259, 12, 81, 879, 14931, 15037, 63, 22, 30, 22643, 30, 309, 5876, 9625, 12, 81, 879, 14931, 15037, 63, 22, 30, 5717, 32, 33, 20, 30, 327, 404, 327, 374, 1327, 312, 879, 14931, 15037, 63, 20, 30, 22, 65, 31713, 32, 1546, 30, 309, 486, 353, 12524, 12, 81, 879, 14931, 15037, 63, 22, 26894, 4672, 327, 599, 309, 353, 13435, 12, 588, 12259, 12, 81, 879, 14931, 15037, 63, 22, 30, 22643, 30, 309, 5876, 9625, 12, 81, 879, 14931, 15037, 63, 22, 30, 5717, 34, 33, 20, 30, 327, 404, 327, 374, 1327, 312, 879, 14931, 15037, 63, 20, 65, 31713, 32, 6877, 225, 309, 486, 353, 12524, 12, 81, 879, 14931, 15037, 63, 22, 26894, 4672, 327, 599, 309, 353, 13435, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 323, 6510, 3965, 12, 81, 879, 14931, 15037, 4672, 309, 312, 879, 14931, 15037, 63, 20, 65, 31713, 4442, 30, 309, 353, 13435, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 327, 374, 469, 30, 327, 404, 1327, 312, 879, 14931, 15037, 63, 20, 65, 31713, 1546, 30, 309, 353, 12524, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 309, 353, 13435, 12, 81, 879, 14931, 15037, 63, 21, 26894, 4672, 327, 404, 469, 30, 327, 374, 469, 30, 327, 599, 1327, 312, 879, 14931, 15037, 63, 20, 30, 22, 65, 631, 6441, 1546, 30, 309, 486, 353, 12524, 12, 81, 879, 14931, 15037, 63, 22, 26894, 4672, 327, 599, 309, 353, 13435, 12, 2 ]
if furthestBlock.parent: furthestBlock.parent.removeChild(furthestBlock)
def endTagFormatting(self, token): """The much-feared adoption agency algorithm""" # http://www.whatwg.org/specs/web-apps/current-work/#adoptionAgency # XXX Better parseError messages appreciated. name = token["name"] while True: # Step 1 paragraph 1 afeElement = self.tree.elementInActiveFormattingElements( token["name"]) if not afeElement or (afeElement in self.tree.openElements and not self.tree.elementInScope(afeElement.name)): self.parser.parseError("adoption-agency-1.1", {"name": token["name"]}) return
7e7686e91270f27c65b22567b65f62d9d143d444 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4487/7e7686e91270f27c65b22567b65f62d9d143d444/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 23974, 12, 2890, 16, 1147, 4672, 3536, 1986, 9816, 17, 3030, 2258, 1261, 3482, 1737, 2075, 4886, 8395, 468, 1062, 2207, 5591, 18, 23770, 18197, 18, 3341, 19, 15115, 19, 4875, 17, 11411, 19, 2972, 17, 1252, 21067, 361, 3482, 2577, 2075, 468, 11329, 605, 11214, 1109, 668, 2743, 595, 3927, 10206, 18, 508, 273, 1147, 9614, 529, 11929, 1323, 1053, 30, 468, 8693, 404, 10190, 404, 279, 3030, 1046, 273, 365, 18, 3413, 18, 2956, 382, 3896, 23974, 3471, 12, 1147, 9614, 529, 6, 5717, 309, 486, 279, 3030, 1046, 578, 261, 2513, 1046, 316, 365, 18, 3413, 18, 3190, 3471, 471, 486, 365, 18, 3413, 18, 2956, 382, 3876, 12, 2513, 1046, 18, 529, 3719, 30, 365, 18, 4288, 18, 2670, 668, 2932, 361, 3482, 17, 346, 2075, 17, 21, 18, 21, 3113, 12528, 529, 6877, 1147, 9614, 529, 11929, 6792, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 29765, 23974, 12, 2890, 16, 1147, 4672, 3536, 1986, 9816, 17, 3030, 2258, 1261, 3482, 1737, 2075, 4886, 8395, 468, 1062, 2207, 5591, 18, 23770, 18197, 18, 3341, 19, 15115, 19, 4875, 17, 11411, 19, 2972, 17, 1252, 21067, 361, 3482, 2577, 2075, 468, 11329, 605, 11214, 1109, 668, 2743, 595, 3927, 10206, 18, 508, 273, 1147, 9614, 529, 11929, 1323, 1053, 30, 468, 8693, 404, 10190, 404, 279, 3030, 1046, 273, 365, 18, 3413, 18, 2956, 382, 3896, 23974, 3471, 12, 1147, 9614, 529, 6, 5717, 309, 486, 279, 3030, 1046, 578, 261, 2513, 1046, 316, 365, 18, 3413, 18, 3190, 3471, 471, 486, 365, 18, 3413, 18, 2956, 382, 3876, 12, 2513, 1046, 18, 529, 3719, 2 ]
value += self._safe_read(amt)
value.append(self._safe_read(amt))
def _read_chunked(self, amt): assert self.chunked != _UNKNOWN chunk_left = self.chunk_left value = ''
469e40b614d390891d1b038fd22295ac6951dbcd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/469e40b614d390891d1b038fd22295ac6951dbcd/httplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 6551, 329, 12, 2890, 16, 25123, 4672, 1815, 365, 18, 6551, 329, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 875, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 875, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
raise 'FATAL', '(param, l) = %r' % ((param, l),)
raise ValueError('(param, l) = %r' % ((param, l),))
def _compute_len(param): mant, l = math.frexp(float(param)) bitmask = 1 << l if bitmask <= param: raise 'FATAL', '(param, l) = %r' % ((param, l),) while l: bitmask = bitmask >> 1 if param & bitmask: break l = l - 1 return l
3cd6537beb7df1831fcd7cfdc6d74616648feddf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/3cd6537beb7df1831fcd7cfdc6d74616648feddf/bitvec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9200, 67, 1897, 12, 891, 4672, 20414, 16, 328, 273, 4233, 18, 74, 266, 23829, 12, 5659, 12, 891, 3719, 24941, 273, 404, 2296, 328, 309, 24941, 1648, 579, 30, 1002, 2068, 2668, 12, 891, 16, 328, 13, 273, 738, 86, 11, 738, 14015, 891, 16, 328, 3631, 3719, 1323, 328, 30, 24941, 273, 24941, 1671, 404, 309, 579, 473, 24941, 30, 898, 328, 273, 328, 300, 404, 327, 328, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9200, 67, 1897, 12, 891, 4672, 20414, 16, 328, 273, 4233, 18, 74, 266, 23829, 12, 5659, 12, 891, 3719, 24941, 273, 404, 2296, 328, 309, 24941, 1648, 579, 30, 1002, 2068, 2668, 12, 891, 16, 328, 13, 273, 738, 86, 11, 738, 14015, 891, 16, 328, 3631, 3719, 1323, 328, 30, 24941, 273, 24941, 1671, 404, 309, 579, 473, 24941, 30, 898, 328, 273, 328, 300, 404, 327, 328, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if value:
if value is not None:
def login(self, request, user_obj, **kw): username = kw.get('username') password = kw.get('password') _ = request.getText
25fa76333278694ff3c9e08daea6542b6d801afc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/25fa76333278694ff3c9e08daea6542b6d801afc/ldap_login.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3925, 12, 2890, 16, 590, 16, 729, 67, 2603, 16, 2826, 9987, 4672, 2718, 273, 5323, 18, 588, 2668, 5053, 6134, 2201, 273, 5323, 18, 588, 2668, 3664, 6134, 389, 273, 590, 18, 588, 1528, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3925, 12, 2890, 16, 590, 16, 729, 67, 2603, 16, 2826, 9987, 4672, 2718, 273, 5323, 18, 588, 2668, 5053, 6134, 2201, 273, 5323, 18, 588, 2668, 3664, 6134, 389, 273, 590, 18, 588, 1528, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 920) else quickfix.DoubleField.__init__(self, 920, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 3462, 13, 469, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 3462, 16, 501, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 3462, 13, 469, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 2468, 3462, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
aid = request.POST['id']
aid = int(request.POST['id'])
def program_makeaclass(request, tl, one, two, module, extra, prog): """ Create a new class """ from esp.web.views import program for thing in ['title', 'class_info', 'class_size_min', 'class_size_max', 'grade_min', 'grade_max', 'Time']: if not request.POST.has_key(thing) or request.POST[thing] == None or request.POST[thing] == 'None' or request.POST[thing].strip() == "": return program(request, tl, one, two, "teacherreg", extra = "oops") if request.POST.has_key('id'): aid = request.POST['id'] else: aid = None if aid is None: cobj = Class() else: theclass = Class.objects.filter(id=aid) if theclass == [] or theclass is None: cobj = Class() else: cobj = theclass[0] title = request.POST['title'] try: cobj.grade_max = int(request.POST["grade_max"]) except ValueError: cobj.grade_max = None cobj.grade_min = int(request.POST["grade_min"]) cobj.class_size_min = int(request.POST['class_size_min']) cobj.class_size_max = int(request.POST['class_size_max']) cobj.class_info = request.POST['class_info'] cobj.message_for_directors = request.POST['message_for_directors'] cobj.parent_program = prog cobj.anchor = prog.anchor.tree_create(['Classes', "".join(title.split(" "))]) cobj.anchor.friendly_name = title cobj.anchor.save() time_sets = [] for id in request.POST.getlist('Time'): for x in DataTree.objects.filter(id=int(id)): time_sets.append(x) if len(time_sets) == 0: assert False, "Error: Invalid time_set : " + str(time_sets) + ' ' + str(request.POST['Time']) #cobj.event_template = time_sets[0] v = GetNode( 'V/Administer/Edit') ub = UserBit() ub.user = request.user ub.qsc = cobj.anchor ub.verb = v ub.save() #TimeSlot cat = ClassCategories.objects.filter(id=request.POST['Category'])[0] cobj.category = cat cobj.enrollment = 0 cobj.save() cobj.viable_times.clear() for t in time_sets: cobj.viable_times.add(t) cobj.save() return render_to_response('program/registered', {'request': request, 'logged_in': request.user.is_authenticated(), 'navbar_list': makeNavBar(request.user, prog.anchor), 'preload_images': preload_images})
e9ff1768939587e6184a8ecdbe4a486bba5ef152 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12041/e9ff1768939587e6184a8ecdbe4a486bba5ef152/program.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5402, 67, 6540, 1077, 459, 12, 2293, 16, 8332, 16, 1245, 16, 2795, 16, 1605, 16, 2870, 16, 11243, 4672, 3536, 1788, 279, 394, 667, 3536, 628, 5001, 84, 18, 4875, 18, 7061, 1930, 5402, 225, 364, 7757, 316, 10228, 2649, 2187, 296, 1106, 67, 1376, 2187, 296, 1106, 67, 1467, 67, 1154, 2187, 296, 1106, 67, 1467, 67, 1896, 2187, 296, 3994, 67, 1154, 2187, 296, 3994, 67, 1896, 2187, 296, 950, 3546, 30, 309, 486, 590, 18, 3798, 18, 5332, 67, 856, 12, 4274, 13, 578, 590, 18, 3798, 63, 4274, 65, 422, 599, 578, 590, 18, 3798, 63, 4274, 65, 422, 296, 7036, 11, 578, 590, 18, 3798, 63, 4274, 8009, 6406, 1435, 422, 1408, 30, 327, 5402, 12, 2293, 16, 8332, 16, 1245, 16, 2795, 16, 315, 736, 27779, 1574, 3113, 2870, 273, 315, 83, 4473, 7923, 225, 309, 590, 18, 3798, 18, 5332, 67, 856, 2668, 350, 11, 4672, 20702, 273, 509, 12, 2293, 18, 3798, 3292, 350, 19486, 469, 30, 20702, 273, 599, 225, 309, 20702, 353, 599, 30, 1825, 441, 273, 1659, 1435, 469, 30, 326, 1106, 273, 1659, 18, 6911, 18, 2188, 12, 350, 33, 20736, 13, 309, 326, 1106, 422, 5378, 578, 326, 1106, 353, 599, 30, 1825, 441, 273, 1659, 1435, 469, 30, 1825, 441, 273, 326, 1106, 63, 20, 65, 225, 2077, 273, 590, 18, 3798, 3292, 2649, 3546, 775, 30, 1825, 441, 18, 3994, 67, 1896, 273, 509, 12, 2293, 18, 3798, 9614, 3994, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5402, 67, 6540, 1077, 459, 12, 2293, 16, 8332, 16, 1245, 16, 2795, 16, 1605, 16, 2870, 16, 11243, 4672, 3536, 1788, 279, 394, 667, 3536, 628, 5001, 84, 18, 4875, 18, 7061, 1930, 5402, 225, 364, 7757, 316, 10228, 2649, 2187, 296, 1106, 67, 1376, 2187, 296, 1106, 67, 1467, 67, 1154, 2187, 296, 1106, 67, 1467, 67, 1896, 2187, 296, 3994, 67, 1154, 2187, 296, 3994, 67, 1896, 2187, 296, 950, 3546, 30, 309, 486, 590, 18, 3798, 18, 5332, 67, 856, 12, 4274, 13, 578, 590, 18, 3798, 63, 4274, 65, 422, 599, 578, 590, 18, 3798, 63, 4274, 65, 422, 296, 7036, 11, 578, 590, 18, 3798, 63, 4274, 8009, 6406, 1435, 422, 1408, 2 ]
cmd_opts[command] = ("command line", value)
cmd_opts[name] = ("command line", value)
def _parse_command_opts (self, parser, args):
474607777d10562679b1640d3831290b0c4284f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/474607777d10562679b1640d3831290b0c4284f7/dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 3076, 67, 4952, 261, 2890, 16, 2082, 16, 833, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2670, 67, 3076, 67, 4952, 261, 2890, 16, 2082, 16, 833, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def debugprint(r, prefix='', depth=-1, done=None, print_type=False, file=sys.stdout):
def debugprint(r, prefix='', depth=-1, done=None, print_type=False, file=sys.stdout, print_destroy_map=False, print_view_map=False):
def debugprint(r, prefix='', depth=-1, done=None, print_type=False, file=sys.stdout): """Print the graph leading to `r` to given depth. :param r: Variable instance :param prefix: prefix to each line (typically some number of spaces) :param depth: maximum recursion depth (Default -1 for unlimited). :param done: set of Apply instances that have already been printed :param print_type: wether to print the Variable type after the other infos :param file: file-like object to which to print """ if depth==0: return if done is None: done = set() if print_type: type_str = ' <%s>' % r.type else: type_str = '' if hasattr(r.owner, 'op'): # this variable is the output of computation, # so just print out the apply a = r.owner r_name = getattr(r, 'name', '') # normally if the name isn't set, it'll be None, so # r_name == None here if r_name is None: r_name = '' if len(a.outputs) == 1: print >> file, '%s%s [@%i]%s \'%s\'' % (prefix, a.op, id(r), \ type_str, r_name) else: print >> file, '%s%s.%i [@%i]%s \'%s\'' % (prefix, a.op, \ a.outputs.index(r), id(r), type_str, r_name) if id(a) not in done: done.add(id(a)) for i in a.inputs: debugprint(i, prefix+' |', depth=depth-1, done=done, print_type=print_type, file=file) else: #this is a variable print >> file, '%s%s [@%i]%s' % (prefix, r, id(r), type_str) return file
7097093a880acaefd4ef7d83fa2b08e39ff7faf0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/7097093a880acaefd4ef7d83fa2b08e39ff7faf0/debugmode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 1188, 12, 86, 16, 1633, 2218, 2187, 3598, 29711, 21, 16, 2731, 33, 7036, 16, 1172, 67, 723, 33, 8381, 16, 585, 33, 9499, 18, 10283, 16, 1172, 67, 11662, 67, 1458, 33, 8381, 16, 1172, 67, 1945, 67, 1458, 33, 8381, 4672, 3536, 5108, 326, 2667, 7676, 358, 1375, 86, 68, 358, 864, 3598, 18, 225, 294, 891, 436, 30, 7110, 791, 294, 891, 1633, 30, 1633, 358, 1517, 980, 261, 12846, 6478, 2690, 1300, 434, 7292, 13, 294, 891, 3598, 30, 4207, 13917, 3598, 261, 1868, 300, 21, 364, 640, 21325, 2934, 294, 891, 2731, 30, 444, 434, 5534, 3884, 716, 1240, 1818, 2118, 14099, 294, 891, 1172, 67, 723, 30, 341, 2437, 358, 1172, 326, 7110, 618, 1839, 326, 1308, 10626, 294, 891, 585, 30, 585, 17, 5625, 733, 358, 1492, 358, 1172, 225, 3536, 309, 3598, 631, 20, 30, 327, 225, 309, 2731, 353, 599, 30, 2731, 273, 444, 1435, 225, 309, 1172, 67, 723, 30, 618, 67, 701, 273, 296, 23930, 87, 1870, 738, 436, 18, 723, 469, 30, 618, 67, 701, 273, 875, 225, 309, 3859, 12, 86, 18, 8443, 16, 296, 556, 11, 4672, 468, 333, 2190, 353, 326, 876, 434, 16039, 16, 468, 1427, 2537, 1172, 596, 326, 2230, 279, 273, 436, 18, 8443, 225, 436, 67, 529, 273, 3869, 12, 86, 16, 296, 529, 2187, 28707, 468, 15849, 309, 326, 508, 5177, 1404, 444, 16, 518, 5614, 506, 599, 16, 1427, 468, 436, 67, 529, 422, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 1188, 12, 86, 16, 1633, 2218, 2187, 3598, 29711, 21, 16, 2731, 33, 7036, 16, 1172, 67, 723, 33, 8381, 16, 585, 33, 9499, 18, 10283, 16, 1172, 67, 11662, 67, 1458, 33, 8381, 16, 1172, 67, 1945, 67, 1458, 33, 8381, 4672, 3536, 5108, 326, 2667, 7676, 358, 1375, 86, 68, 358, 864, 3598, 18, 225, 294, 891, 436, 30, 7110, 791, 294, 891, 1633, 30, 1633, 358, 1517, 980, 261, 12846, 6478, 2690, 1300, 434, 7292, 13, 294, 891, 3598, 30, 4207, 13917, 3598, 261, 1868, 300, 21, 364, 640, 21325, 2934, 294, 891, 2731, 30, 444, 434, 5534, 3884, 716, 1240, 1818, 2118, 14099, 294, 891, 1172, 67, 723, 30, 341, 2437, 358, 1172, 2 ]
self["key_green"].setText(_("Undo\nInstall"))
self["key_green"].setText(_("Undo install"))
def selectionChanged(self): current = self["list"].getCurrent() self["status"].setText("") if current: if self.currList == "packages": self["key_red"].setText(_("Back")) if current[4] == 'installed': self["key_green"].setText(_("Remove")) elif current[4] == 'installable': self["key_green"].setText(_("Install")) elif current[4] == 'remove': self["key_green"].setText(_("Undo\nRemove")) elif current[4] == 'install': self["key_green"].setText(_("Undo\nInstall")) self["key_yellow"].setText(_("View details")) self["key_blue"].setText("") if len(self.selectedFiles) == 0 and self.available_updates is not 0: self["status"].setText(_("There are at least ") + str(self.available_updates) + _(" updates available.")) elif len(self.selectedFiles) is not 0: self["status"].setText(str(len(self.selectedFiles)) + _(" packages selected.")) else: self["status"].setText(_("There is nothing to be done.")) elif self.currList == "category": self["key_red"].setText(_("Close")) self["key_green"].setText("") self["key_yellow"].setText("") self["key_blue"].setText("") if len(self.selectedFiles) == 0 and self.available_updates is not 0: self["status"].setText(_("There are at least ") + str(self.available_updates) + _(" updates available.")) self["key_yellow"].setText(_("Update")) elif len(self.selectedFiles) is not 0: self["status"].setText(str(len(self.selectedFiles)) + _(" packages selected.")) self["key_yellow"].setText(_("Process")) else: self["status"].setText(_("There is nothing to be done."))
018534fa7bf9be0885b2ffc753d8d6fc5b56143c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/018534fa7bf9be0885b2ffc753d8d6fc5b56143c/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4421, 5033, 12, 2890, 4672, 783, 273, 365, 9614, 1098, 6, 8009, 588, 3935, 1435, 365, 9614, 2327, 6, 8009, 542, 1528, 2932, 7923, 309, 783, 30, 309, 365, 18, 17016, 682, 422, 315, 10308, 6877, 365, 9614, 856, 67, 1118, 6, 8009, 542, 1528, 24899, 2932, 2711, 6, 3719, 309, 783, 63, 24, 65, 422, 296, 13435, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 3288, 6, 3719, 1327, 783, 63, 24, 65, 422, 296, 5425, 429, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 6410, 6, 3719, 1327, 783, 63, 24, 65, 422, 296, 4479, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 31224, 64, 82, 3288, 6, 3719, 1327, 783, 63, 24, 65, 422, 296, 5425, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 31224, 3799, 6, 3719, 365, 9614, 856, 67, 19227, 6, 8009, 542, 1528, 24899, 2932, 1767, 3189, 6, 3719, 365, 9614, 856, 67, 14081, 6, 8009, 542, 1528, 2932, 7923, 309, 562, 12, 2890, 18, 8109, 2697, 13, 422, 374, 471, 365, 18, 5699, 67, 14703, 353, 486, 374, 30, 365, 9614, 2327, 6, 8009, 542, 1528, 24899, 2932, 9828, 854, 622, 4520, 9369, 397, 609, 12, 2890, 18, 5699, 67, 14703, 13, 397, 389, 2932, 4533, 2319, 1199, 3719, 1327, 562, 12, 2890, 18, 8109, 2697, 13, 353, 486, 374, 30, 365, 9614, 2327, 6, 8009, 542, 1528, 12, 701, 12, 1897, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4421, 5033, 12, 2890, 4672, 783, 273, 365, 9614, 1098, 6, 8009, 588, 3935, 1435, 365, 9614, 2327, 6, 8009, 542, 1528, 2932, 7923, 309, 783, 30, 309, 365, 18, 17016, 682, 422, 315, 10308, 6877, 365, 9614, 856, 67, 1118, 6, 8009, 542, 1528, 24899, 2932, 2711, 6, 3719, 309, 783, 63, 24, 65, 422, 296, 13435, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 3288, 6, 3719, 1327, 783, 63, 24, 65, 422, 296, 5425, 429, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 6410, 6, 3719, 1327, 783, 63, 24, 65, 422, 296, 4479, 4278, 365, 9614, 856, 67, 11571, 6, 8009, 542, 1528, 24899, 2932, 31224, 2 ]
username=quote(username)
username=_quote(username)
def _make_response(self,charset,realms,nonce): """Make a response for the first challenge from the server.
1e1db4225095c220966b09e2e9bd16f3ebaf7760 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12769/1e1db4225095c220966b09e2e9bd16f3ebaf7760/digest_md5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 2740, 12, 2890, 16, 9999, 16, 7688, 959, 16, 12824, 4672, 3536, 6464, 279, 766, 364, 326, 1122, 12948, 628, 326, 1438, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 7688, 959, 16, 12824, 4672, 3536, 6464, 279, 766, 364, 326, 1122, 12948, 628, 326, 1438, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
d['usepty'] = 0
def get_default_options(slavename): d = {'slavename': quote_option(slavename)} header = DEFAULT_HEADER footer = DEFAULT_FOOTER basedir = None buildmaster_host = None if 'moz2' in slavename or 'xserve' in slavename or 'try-' in slavename or \ slavename.startswith('win32') or slavename.startswith('mw32'): if 'try-' in slavename: buildmaster_host = TRY_BUILDMASTER d['port'] = 9982 else: buildmaster_host = BUILD_BUILDMASTER if 'linux' in slavename or 'darwin9' in slavename or \ 'xserve' in slavename or 'mac' in slavename: basedir = '/builds/slave' elif 'win32' in slavename or 'mw32' in slavename: basedir = 'e:\\builds\\moz2_slave' elif 'talos' in slavename or '-try' in slavename: buildmaster_host = TALOS_BUILDMASTER footer = TALOS_FOOTER if '-try' in slavename: d['port'] = 9011 if 'r3' in slavename: d['port'] = 9012 d['usepty'] = 0 if 'linux' in slavename or 'ubuntu' in slavename or 'fed' in slavename: basedir = '/home/cltbld/talos-slave' elif 'tiger' in slavename or 'leopard' in slavename or \ 'snow' in slavename: basedir = '/Users/cltbld/talos-slave' elif 'xp' in slavename or 'w7' in slavename: basedir = 'C:\\talos-slave' # quote_option will throw if defaults couldn't be found for either of these # These are processed separately because they should be unset if a default # wasn't found. try: d['buildmaster_host'] = quote_option(buildmaster_host) except TypeError: # Don't error out, because missing values may have been passed to # the program pass try: d['basedir'] = quote_option(basedir, raw=True) except TypeError: pass return d, header, footer
5447d59900d55f771a33ee2259a4a8f049101df5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6206/5447d59900d55f771a33ee2259a4a8f049101df5/buildbot-tac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1886, 67, 2116, 12, 2069, 842, 1069, 4672, 302, 273, 13666, 2069, 842, 1069, 4278, 3862, 67, 3482, 12, 2069, 842, 1069, 16869, 1446, 273, 3331, 67, 7557, 9860, 273, 3331, 67, 3313, 1974, 654, 15573, 273, 599, 1361, 7525, 67, 2564, 273, 599, 309, 296, 8683, 94, 22, 11, 316, 2020, 842, 1069, 578, 296, 92, 30104, 11, 316, 2020, 842, 1069, 578, 296, 698, 6627, 316, 2020, 842, 1069, 578, 521, 2020, 842, 1069, 18, 17514, 1918, 2668, 8082, 1578, 6134, 578, 2020, 842, 1069, 18, 17514, 1918, 2668, 81, 91, 1578, 11, 4672, 309, 296, 698, 6627, 316, 2020, 842, 1069, 30, 1361, 7525, 67, 2564, 273, 4235, 61, 67, 20215, 28045, 302, 3292, 655, 3546, 273, 2468, 10689, 22, 469, 30, 1361, 7525, 67, 2564, 273, 30054, 67, 20215, 28045, 309, 296, 20132, 11, 316, 2020, 842, 1069, 578, 296, 28076, 29, 11, 316, 2020, 842, 1069, 578, 521, 296, 92, 30104, 11, 316, 2020, 842, 1069, 578, 296, 5821, 11, 316, 2020, 842, 1069, 30, 15573, 273, 1173, 27324, 19, 27352, 11, 1327, 296, 8082, 1578, 11, 316, 2020, 842, 1069, 578, 296, 81, 91, 1578, 11, 316, 2020, 842, 1069, 30, 15573, 273, 296, 73, 31027, 27324, 1695, 8683, 94, 22, 67, 27352, 11, 1327, 296, 88, 287, 538, 11, 316, 2020, 842, 1069, 578, 2400, 698, 11, 316, 2020, 842, 1069, 30, 1361, 7525, 67, 2564, 273, 399, 1013, 4618, 67, 20215, 28045, 9860, 273, 399, 1013, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1886, 67, 2116, 12, 2069, 842, 1069, 4672, 302, 273, 13666, 2069, 842, 1069, 4278, 3862, 67, 3482, 12, 2069, 842, 1069, 16869, 1446, 273, 3331, 67, 7557, 9860, 273, 3331, 67, 3313, 1974, 654, 15573, 273, 599, 1361, 7525, 67, 2564, 273, 599, 309, 296, 8683, 94, 22, 11, 316, 2020, 842, 1069, 578, 296, 92, 30104, 11, 316, 2020, 842, 1069, 578, 296, 698, 6627, 316, 2020, 842, 1069, 578, 521, 2020, 842, 1069, 18, 17514, 1918, 2668, 8082, 1578, 6134, 578, 2020, 842, 1069, 18, 17514, 1918, 2668, 81, 91, 1578, 11, 4672, 309, 296, 698, 6627, 316, 2020, 842, 1069, 30, 1361, 7525, 67, 2564, 273, 4235, 61, 67, 20215, 28045, 302, 2 ]
checked_deps = set([])
checked_deps = {}
def runtest(self):
fdaf4c739372bb2a573823fa0779dc82dc60ac67 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7392/fdaf4c739372bb2a573823fa0779dc82dc60ac67/testdistcc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def build_index(directory, labels):
def build_index(directory, x_labels, y_labels):
def build_index(directory, labels): utils.trace("Creating report index ...") html_path = os.path.join(directory, 'index.html') template = pagetemplatefile.PageTemplateFile('label.pt') open(html_path, 'w').write(template(labels=labels)) utils.trace("done: \n") utils.trace("file://%s\n" % html_path) return html_path
75dc54f059b4cc18b4f9732a1256f97f54a02006 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9007/75dc54f059b4cc18b4f9732a1256f97f54a02006/label.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1615, 12, 5149, 16, 619, 67, 5336, 16, 677, 67, 5336, 4672, 2990, 18, 5129, 2932, 11092, 2605, 770, 1372, 7923, 1729, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 5149, 16, 296, 1615, 18, 2620, 6134, 1542, 273, 4262, 278, 29761, 768, 18, 1964, 2283, 812, 2668, 1925, 18, 337, 6134, 1696, 12, 2620, 67, 803, 16, 296, 91, 16063, 2626, 12, 3202, 12, 5336, 33, 5336, 3719, 2990, 18, 5129, 2932, 8734, 30, 521, 82, 7923, 2990, 18, 5129, 2932, 768, 23155, 87, 64, 82, 6, 738, 1729, 67, 803, 13, 327, 1729, 67, 803, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1615, 12, 5149, 16, 619, 67, 5336, 16, 677, 67, 5336, 4672, 2990, 18, 5129, 2932, 11092, 2605, 770, 1372, 7923, 1729, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 5149, 16, 296, 1615, 18, 2620, 6134, 1542, 273, 4262, 278, 29761, 768, 18, 1964, 2283, 812, 2668, 1925, 18, 337, 6134, 1696, 12, 2620, 67, 803, 16, 296, 91, 16063, 2626, 12, 3202, 12, 5336, 33, 5336, 3719, 2990, 18, 5129, 2932, 8734, 30, 521, 82, 7923, 2990, 18, 5129, 2932, 768, 23155, 87, 64, 82, 6, 738, 1729, 67, 803, 13, 327, 1729, 67, 803, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return http.Response(stream = s)
return HTMLResponse(stream = s)
def render(self, ctx): id = self.id(ctx) W = self.worksheet if len(W.compute_cell_id_list()) <= 1: s = 'ignore' else: prev_id = W.delete_cell_with_id(id) s = encode_list(['delete', id, prev_id, W.cell_id_list()]) return http.Response(stream = s)
5da3b1cd72cd4a94421b8bc914d7957cdbe6b56d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/5da3b1cd72cd4a94421b8bc914d7957cdbe6b56d/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 612, 273, 365, 18, 350, 12, 5900, 13, 678, 273, 365, 18, 1252, 8118, 309, 562, 12, 59, 18, 9200, 67, 3855, 67, 350, 67, 1098, 10756, 1648, 404, 30, 272, 273, 296, 6185, 11, 469, 30, 2807, 67, 350, 273, 678, 18, 3733, 67, 3855, 67, 1918, 67, 350, 12, 350, 13, 272, 273, 2017, 67, 1098, 12, 3292, 3733, 2187, 612, 16, 2807, 67, 350, 16, 678, 18, 3855, 67, 350, 67, 1098, 1435, 5717, 327, 3982, 1064, 12, 3256, 273, 272, 13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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 612, 273, 365, 18, 350, 12, 5900, 13, 678, 273, 365, 18, 1252, 8118, 309, 562, 12, 59, 18, 9200, 67, 3855, 67, 350, 67, 1098, 10756, 1648, 404, 30, 272, 273, 296, 6185, 11, 469, 30, 2807, 67, 350, 273, 678, 18, 3733, 67, 3855, 67, 1918, 67, 350, 12, 350, 13, 272, 273, 2017, 67, 1098, 12, 3292, 3733, 2187, 612, 16, 2807, 67, 350, 16, 678, 18, 3855, 67, 350, 67, 1098, 1435, 5717, 327, 3982, 1064, 12, 3256, 273, 272, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if dia.query == '[email protected]':
if username == '[email protected]':
def get_info_for_launchpad_username(username): """This figures out what the named person has been involved with. It returns a dictionary like this: { 'F-Spot': { 'url': 'http://launchpad.net/f-spot', 'involvement_types': ['Bug Management', 'Bazaar Branches'], 'languages' : ['python', 'shell script'] } } """ if dia.query == 'paulproteus': time.sleep(random.randrange(0, 2)) return {'CtrlProxy': {'involvement_types': set(['Bug Management']), 'languages': ['C'], 'url': 'https://launchpad.net/ctrlproxy'}, 'Makesad networks runs rose.makesad.us and perhaps other things': {'involvement_types': set(['Bug Management']), 'languages': [], 'url': 'https://launchpad.net/rose'}, 'Ubuntu': {'involvement_types': set(['Bug Management', 'Soyuz']), 'languages': [], 'url': 'https://launchpad.net/ubuntu'}, 'Web Team projects': {'involvement_types': set(['Bug Management']), 'languages': [], 'url': 'https://launchpad.net/web'}, 'django-openid-auth': {'involvement_types': set(['Bazaar Branches']), 'languages': ['Python'], 'url': 'https://launchpad.net/django-openid-auth'}} if dia.query == '[email protected]': time.sleep(random.randrange(0, 2)) return {} try: b = mechanize_get('https://launchpad.net/~%s' % urllib.quote(username)) except urllib2.HTTPError, e: if str(e.code) == '404': return {} else: raise # not a 404? Bubble-up the explosion. doc = b.response().read() doc_u = unicode(doc, 'utf-8') tree = lxml.html.document_fromstring(doc_u) ret = {} # Expecting html like this: # <table class='contributions'> # <tr> # ... # <img title='Bug Management' /> for row in tree.cssselect('.contributions tr'): project_link = row.cssselect('a')[0] project_name = project_link.text_content().strip() project_url_relative = project_link.attrib['href'] project_url = urlparse.urljoin(b.geturl(), project_url_relative) involvement_types = [i.attrib.get('title', '').strip() for i in row.cssselect('img')] languages = project2languages(project_url) ret[project_name] = { 'involvement_types': set([k for k in involvement_types if k]), 'url': project_url, 'languages': languages } return ret
c167ebd910ce4bc64bda175ec0eefcbfc0744459 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11976/c167ebd910ce4bc64bda175ec0eefcbfc0744459/lp_grabber.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1376, 67, 1884, 67, 20738, 6982, 67, 5053, 12, 5053, 4672, 3536, 2503, 4291, 1823, 596, 4121, 326, 4141, 6175, 711, 2118, 24589, 598, 18, 2597, 1135, 279, 3880, 3007, 333, 30, 288, 296, 42, 17, 17292, 4278, 288, 296, 718, 4278, 296, 2505, 2207, 20738, 6982, 18, 2758, 19, 74, 17, 19032, 2187, 296, 5768, 355, 22627, 67, 2352, 4278, 10228, 19865, 13303, 2187, 296, 38, 1561, 69, 297, 15449, 281, 17337, 296, 14045, 11, 294, 10228, 8103, 2187, 296, 10304, 2728, 3546, 289, 289, 3536, 309, 302, 1155, 18, 2271, 422, 296, 8774, 332, 685, 736, 407, 4278, 813, 18, 19607, 12, 9188, 18, 7884, 3676, 12, 20, 16, 576, 3719, 327, 13666, 12418, 3886, 4278, 13666, 5768, 355, 22627, 67, 2352, 4278, 444, 12, 3292, 19865, 13303, 3546, 3631, 296, 14045, 4278, 10228, 39, 17337, 296, 718, 4278, 296, 4528, 2207, 20738, 6982, 18, 2758, 19, 16277, 5656, 11, 5779, 296, 14534, 361, 13884, 7597, 721, 307, 18, 81, 3223, 361, 18, 407, 471, 26282, 1308, 9198, 4278, 13666, 5768, 355, 22627, 67, 2352, 4278, 444, 12, 3292, 19865, 13303, 3546, 3631, 296, 14045, 4278, 5378, 16, 296, 718, 4278, 296, 4528, 2207, 20738, 6982, 18, 2758, 19, 303, 307, 11, 5779, 296, 57, 70, 25348, 4278, 13666, 5768, 355, 22627, 67, 2352, 4278, 444, 12, 3292, 19865, 13303, 2187, 296, 10225, 93, 29298, 3546, 3631, 296, 14045, 4278, 5378, 16, 296, 718, 4278, 296, 4528, 2207, 20738, 6982, 18, 2758, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1376, 67, 1884, 67, 20738, 6982, 67, 5053, 12, 5053, 4672, 3536, 2503, 4291, 1823, 596, 4121, 326, 4141, 6175, 711, 2118, 24589, 598, 18, 2597, 1135, 279, 3880, 3007, 333, 30, 288, 296, 42, 17, 17292, 4278, 288, 296, 718, 4278, 296, 2505, 2207, 20738, 6982, 18, 2758, 19, 74, 17, 19032, 2187, 296, 5768, 355, 22627, 67, 2352, 4278, 10228, 19865, 13303, 2187, 296, 38, 1561, 69, 297, 15449, 281, 17337, 296, 14045, 11, 294, 10228, 8103, 2187, 296, 10304, 2728, 3546, 289, 289, 3536, 309, 302, 1155, 18, 2271, 422, 296, 8774, 332, 685, 736, 407, 4278, 813, 18, 19607, 12, 9188, 18, 7884, 3676, 12, 20, 16, 576, 3719, 327, 13666, 12418, 2 ]
f.write(text)
f.write(text.encode('utf-8'))
def _do_wiki_export(self, page, filename=''): data = self.db_query("SELECT text FROM wiki WHERE name=%s " "ORDER BY version DESC LIMIT 1", params=[page]) text = data.next()[0] if not filename: print text else: if os.path.isfile(filename): raise Exception("File '%s' exists" % filename) f = open(filename,'w') f.write(text) f.close()
24819e6c1057eabf2301a2db7a1429a29397de8f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/24819e6c1057eabf2301a2db7a1429a29397de8f/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 13044, 67, 6530, 12, 2890, 16, 1363, 16, 1544, 2218, 11, 4672, 501, 273, 365, 18, 1966, 67, 2271, 2932, 4803, 977, 4571, 9050, 4852, 508, 5095, 87, 315, 315, 7954, 6953, 1177, 14326, 13319, 404, 3113, 859, 22850, 2433, 5717, 977, 273, 501, 18, 4285, 1435, 63, 20, 65, 309, 486, 1544, 30, 1172, 977, 469, 30, 309, 1140, 18, 803, 18, 291, 768, 12, 3459, 4672, 1002, 1185, 2932, 812, 1995, 87, 11, 1704, 6, 738, 1544, 13, 284, 273, 1696, 12, 3459, 11189, 91, 6134, 284, 18, 2626, 12, 955, 18, 3015, 2668, 3158, 17, 28, 26112, 284, 18, 4412, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2896, 67, 13044, 67, 6530, 12, 2890, 16, 1363, 16, 1544, 2218, 11, 4672, 501, 273, 365, 18, 1966, 67, 2271, 2932, 4803, 977, 4571, 9050, 4852, 508, 5095, 87, 315, 315, 7954, 6953, 1177, 14326, 13319, 404, 3113, 859, 22850, 2433, 5717, 977, 273, 501, 18, 4285, 1435, 63, 20, 65, 309, 486, 1544, 30, 1172, 977, 469, 30, 309, 1140, 18, 803, 18, 291, 768, 12, 3459, 4672, 1002, 1185, 2932, 812, 1995, 87, 11, 1704, 6, 738, 1544, 13, 284, 273, 1696, 12, 3459, 11189, 91, 6134, 284, 18, 2626, 12, 955, 18, 3015, 2668, 3158, 17, 28, 26112, 284, 18, 4412, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
raise Exception('No working themes found in "/usr/share/dockbarx/themes" or "~/.dockbarx/themes"')
md = gtk.MessageDialog(None, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE, 'No working themes found in "/usr/share/dockbarx/themes" or "~/.dockbarx/themes"') md.run() md.destroy() sys.exit(1)
def find_themes(self): # Reads the themes from /usr/share/dockbarx/themes and ~/.dockbarx/themes # and returns a dict of the theme names and paths so that # a theme can be loaded themes = {} theme_paths = [] dirs = ["/usr/share/dockbarx/themes", self.dockbar_folder+"/themes"] for dir in dirs: if os.path.exists(dir): for f in os.listdir(dir): if f[-7:] == '.tar.gz': theme_paths.append(dir+"/"+f) for theme_path in theme_paths: name = Theme.check(theme_path) if name != None: name = str(name) themes[name] = theme_path if not themes: raise Exception('No working themes found in "/usr/share/dockbarx/themes" or "~/.dockbarx/themes"') return themes
f61cda18cfa3774cf24c7f1b53e09da9de0c4691 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7075/f61cda18cfa3774cf24c7f1b53e09da9de0c4691/dockbarx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 17328, 12, 2890, 4672, 468, 29185, 326, 15455, 628, 342, 13640, 19, 14419, 19, 72, 975, 3215, 92, 19, 17328, 471, 4871, 15865, 72, 975, 3215, 92, 19, 17328, 468, 471, 1135, 279, 2065, 434, 326, 5006, 1257, 471, 2953, 1427, 716, 468, 279, 5006, 848, 506, 4203, 15455, 273, 2618, 5006, 67, 4481, 273, 5378, 7717, 273, 8247, 19, 13640, 19, 14419, 19, 72, 975, 3215, 92, 19, 17328, 3113, 365, 18, 72, 975, 3215, 67, 5609, 9078, 19, 17328, 11929, 364, 1577, 316, 7717, 30, 309, 1140, 18, 803, 18, 1808, 12, 1214, 4672, 364, 284, 316, 1140, 18, 1098, 1214, 12, 1214, 4672, 309, 284, 18919, 27, 26894, 422, 2418, 11718, 18, 9764, 4278, 5006, 67, 4481, 18, 6923, 12, 1214, 9078, 4898, 15, 74, 13, 364, 5006, 67, 803, 316, 5006, 67, 4481, 30, 508, 273, 19745, 18, 1893, 12, 7997, 67, 803, 13, 309, 508, 480, 599, 30, 508, 273, 609, 12, 529, 13, 15455, 63, 529, 65, 273, 5006, 67, 803, 309, 486, 15455, 30, 3481, 273, 22718, 18, 1079, 6353, 12, 7036, 16, 22718, 18, 2565, 18683, 67, 6720, 1013, 571, 22718, 18, 2565, 18683, 67, 1639, 25870, 61, 67, 9147, 67, 14943, 16, 22718, 18, 8723, 67, 3589, 16, 22718, 18, 20068, 55, 67, 13384, 16, 296, 2279, 5960, 15455, 1392, 316, 2206, 13640, 19, 14419, 19, 72, 975, 3215, 92, 19, 17328, 6, 578, 19910, 15865, 72, 975, 3215, 92, 19, 17328, 5187, 13, 3481, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 17328, 12, 2890, 4672, 468, 29185, 326, 15455, 628, 342, 13640, 19, 14419, 19, 72, 975, 3215, 92, 19, 17328, 471, 4871, 15865, 72, 975, 3215, 92, 19, 17328, 468, 471, 1135, 279, 2065, 434, 326, 5006, 1257, 471, 2953, 1427, 716, 468, 279, 5006, 848, 506, 4203, 15455, 273, 2618, 5006, 67, 4481, 273, 5378, 7717, 273, 8247, 19, 13640, 19, 14419, 19, 72, 975, 3215, 92, 19, 17328, 3113, 365, 18, 72, 975, 3215, 67, 5609, 9078, 19, 17328, 11929, 364, 1577, 316, 7717, 30, 309, 1140, 18, 803, 18, 1808, 12, 1214, 4672, 364, 284, 316, 1140, 18, 1098, 1214, 12, 1214, 4672, 309, 284, 18919, 27, 26894, 422, 2418, 11718, 18, 9764, 2 ]
def responseString(self, source):
def responseString(self, document):
def responseString(self, source): raise NotImplementedError
3b14c655b07ad4ef53f5808b444994bf55d99683 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5033/3b14c655b07ad4ef53f5808b444994bf55d99683/parsetree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 780, 12, 2890, 16, 1668, 4672, 1002, 11206, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 766, 780, 12, 2890, 16, 1668, 4672, 1002, 11206, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ]
(last_run_at.hour < max(self.hour) or execute_this_hour))
last_run_at.hour < max(self.hour))
def remaining_estimate(self, last_run_at): """Returns when the periodic task should run next as a timedelta.""" weekday = last_run_at.isoweekday() execute_this_hour = (weekday in self.day_of_week and last_run_at.hour in self.hour and last_run_at.minute < max(self.minute))
cfb2c96386741db4fe2e24cd603b2db9cd7f7340 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2024/cfb2c96386741db4fe2e24cd603b2db9cd7f7340/schedules.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4463, 67, 23562, 12, 2890, 16, 1142, 67, 2681, 67, 270, 4672, 3536, 1356, 1347, 326, 17478, 1562, 1410, 1086, 1024, 487, 279, 10661, 12123, 7560, 273, 1142, 67, 2681, 67, 270, 18, 291, 543, 3317, 2881, 1435,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4463, 67, 23562, 12, 2890, 16, 1142, 67, 2681, 67, 270, 4672, 3536, 1356, 1347, 326, 17478, 1562, 1410, 1086, 1024, 487, 279, 10661, 12123, 7560, 273, 1142, 67, 2681, 67, 270, 18, 291, 543, 3317, 2881, 1435, 1836, 67, 2211, 67, 12091, 273, 261, 10741, 2881, 316, 365, 18, 2881, 67, 792, 67, 10741, 471, 1142, 67, 2681, 67, 270, 18, 12091, 316, 365, 18, 12091, 471, 1142, 67, 2681, 67, 270, 18, 17637, 411, 943, 12, 2890, 18, 17637, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.socket.connect(hostname, port)
self.socket.connect((hostname, port))
def __init__(self, hostname, port): self.host = hostname self.port = port self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.socket.connect(hostname, port) self.open = 1
77cd1324fe455934d631ab8d65a65574466fcc58 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10452/77cd1324fe455934d631ab8d65a65574466fcc58/x88.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5199, 16, 1756, 4672, 365, 18, 2564, 273, 5199, 365, 18, 655, 273, 1756, 365, 18, 7814, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 365, 18, 7814, 18, 3612, 12443, 10358, 16, 1756, 3719, 365, 18, 3190, 273, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5199, 16, 1756, 4672, 365, 18, 2564, 273, 5199, 365, 18, 655, 273, 1756, 365, 18, 7814, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 365, 18, 7814, 18, 3612, 12443, 10358, 16, 1756, 3719, 365, 18, 3190, 273, 404, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bp = bdb.Breakpoint.bpbynumber[bpnum]
try: bp = bdb.Breakpoint.bpbynumber[bpnum] except IndexError: print >>self.stdout, 'Breakpoint index %r is not valid' % args[0] return
def do_condition(self, arg): # arg is breakpoint number and condition args = arg.split(' ', 1) try: bpnum = int(args[0].strip()) except ValueError: # something went wrong print >>self.stdout, \ 'Breakpoint index %r is not a number' % args[0] return try: cond = args[1] except: cond = None bp = bdb.Breakpoint.bpbynumber[bpnum] if bp: bp.cond = cond if not cond: print >>self.stdout, 'Breakpoint', bpnum, print >>self.stdout, 'is now unconditional.'
2faa9e146681bb4d5ea2b795dfaade35a1d1c2df /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/2faa9e146681bb4d5ea2b795dfaade35a1d1c2df/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4175, 12, 2890, 16, 1501, 4672, 468, 1501, 353, 18820, 1300, 471, 2269, 833, 273, 1501, 18, 4939, 2668, 2265, 404, 13, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 8009, 6406, 10756, 1335, 2068, 30, 468, 5943, 16343, 7194, 1172, 1671, 2890, 18, 10283, 16, 521, 296, 20552, 770, 738, 86, 353, 486, 279, 1300, 11, 738, 833, 63, 20, 65, 327, 775, 30, 6941, 273, 833, 63, 21, 65, 1335, 30, 6941, 273, 599, 775, 30, 9107, 273, 324, 1966, 18, 20552, 18, 70, 5733, 878, 1226, 63, 17152, 2107, 65, 1335, 10195, 30, 1172, 1671, 2890, 18, 10283, 16, 296, 20552, 770, 738, 86, 353, 486, 923, 11, 738, 833, 63, 20, 65, 327, 309, 9107, 30, 9107, 18, 10013, 273, 6941, 309, 486, 6941, 30, 1172, 1671, 2890, 18, 10283, 16, 296, 20552, 2187, 9107, 2107, 16, 1172, 1671, 2890, 18, 10283, 16, 296, 291, 2037, 6301, 1434, 6457, 1093, 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,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273, 1501, 18, 4939, 2668, 2265, 404, 13, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 8009, 6406, 10756, 1335, 2068, 30, 468, 5943, 16343, 7194, 1172, 1671, 2890, 18, 10283, 16, 521, 296, 20552, 770, 738, 86, 353, 486, 279, 1300, 11, 738, 833, 63, 20, 65, 327, 775, 30, 6941, 273, 833, 63, 21, 65, 1335, 30, 6941, 273, 599, 775, 30, 9107, 273, 324, 1966, 18, 20552, 18, 70, 5733, 878, 1226, 63, 17152, 2107, 65, 1335, 10195, 30, 1172, 1671, 2890, 18, 10283, 16, 296, 20552, 770, 738, 86, 353, 486, 923, 11, 738, 833, 63, 2 ]
iscontent = lambda text:text in ("bodyContent", "mainContent") content = SoupStrainer("div", id=iscontent)
content = SoupStrainer("div", id=self.site().family.content_id)
def getReferences(self, follow_redirects=True, withTemplateInclusion=True, onlyTemplateInclusion=False, redirectsOnly=False): """ Yield all pages that link to the page. If you need a full list of referring pages, use this:
b0aabc06351064e8b26863db1c754a0ededcc537 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/b0aabc06351064e8b26863db1c754a0ededcc537/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5561, 2980, 12, 2890, 16, 2805, 67, 22715, 33, 5510, 16, 598, 2283, 382, 15335, 33, 5510, 16, 1338, 2283, 382, 15335, 33, 8381, 16, 18064, 3386, 33, 8381, 4672, 3536, 31666, 777, 4689, 716, 1692, 358, 326, 1363, 18, 971, 1846, 1608, 279, 1983, 666, 434, 1278, 20245, 4689, 16, 999, 333, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5561, 2980, 12, 2890, 16, 2805, 67, 22715, 33, 5510, 16, 598, 2283, 382, 15335, 33, 5510, 16, 1338, 2283, 382, 15335, 33, 8381, 16, 18064, 3386, 33, 8381, 4672, 3536, 31666, 777, 4689, 716, 1692, 358, 326, 1363, 18, 971, 1846, 1608, 279, 1983, 666, 434, 1278, 20245, 4689, 16, 999, 333, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self._lambdas[ 0 ]( *args, **kw )
from zExceptions import Unauthorized allowed = self._lambdas[ 0 ]( *args, **kw ) if not allowed: raise Unauthorized return 1
def validate( self, *args, **kw ): return self._lambdas[ 0 ]( *args, **kw )
75bca269d84d9dd10b7e4dc26db9f5982187b4bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/75bca269d84d9dd10b7e4dc26db9f5982187b4bb/testCopySupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 365, 16, 380, 1968, 16, 2826, 9987, 262, 30, 327, 365, 6315, 80, 2536, 28831, 63, 374, 308, 12, 380, 1968, 16, 2826, 9987, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1954, 12, 365, 16, 380, 1968, 16, 2826, 9987, 262, 30, 327, 365, 6315, 80, 2536, 28831, 63, 374, 308, 12, 380, 1968, 16, 2826, 9987, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.debug("caller run, name : %s", name)
logger.debug("caller run, names : %s", name)
def run(self,parent, number, name=None): """show the Caller window
3b7541c4d1bd4c40a045a540534f065b82ee78ea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4712/3b7541c4d1bd4c40a045a540534f065b82ee78ea/tele.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 2938, 16, 1300, 16, 508, 33, 7036, 4672, 3536, 4500, 326, 20646, 2742, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 2938, 16, 1300, 16, 508, 33, 7036, 4672, 3536, 4500, 326, 20646, 2742, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
header = True
headscan = True
def parse(self, stream): """ parse unified diff """ self.source = [] self.target = [] self.hunks = [] self.hunkends = []
f546591a6b402ba31daf9a9b0af9f220102590b8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4098/f546591a6b402ba31daf9a9b0af9f220102590b8/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1407, 4672, 3536, 1109, 27136, 3122, 3536, 365, 18, 3168, 273, 5378, 365, 18, 3299, 273, 5378, 365, 18, 76, 1683, 87, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12, 2890, 16, 1407, 4672, 3536, 1109, 27136, 3122, 3536, 365, 18, 3168, 273, 5378, 365, 18, 3299, 273, 5378, 365, 18, 76, 1683, 87, 273, 5378, 365, 18, 76, 1683, 5839, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._ensure_header_written(0) if self._datalength != self._datawritten: self._patchheader() self._file.flush() self._file = None
if self._file: self._ensure_header_written(0) if self._datalength != self._datawritten: self._patchheader() self._file.flush() self._file = None if self._i_opened_the_file: self._i_opened_the_file.close() self._i_opened_the_file = None
def close(self): self._ensure_header_written(0) if self._datalength != self._datawritten: self._patchheader() self._file.flush() self._file = None
cfc4178e843f5f2b0f190bacd222c0f72ab91e53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/cfc4178e843f5f2b0f190bacd222c0f72ab91e53/wave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 365, 6315, 15735, 67, 3374, 67, 9748, 12, 20, 13, 309, 365, 6315, 72, 3145, 1288, 480, 365, 6315, 892, 9748, 30, 365, 6315, 2272, 3374, 1435, 365, 6315, 768, 18, 11330, 1435, 365, 6315, 768, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 365, 6315, 15735, 67, 3374, 67, 9748, 12, 20, 13, 309, 365, 6315, 72, 3145, 1288, 480, 365, 6315, 892, 9748, 30, 365, 6315, 2272, 3374, 1435, 365, 6315, 768, 18, 11330, 1435, 365, 6315, 768, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
success = do_autotrace_one ("char.pbm", '%s-%d' % (fontname, a))
success = do_autotrace_one ("char.pbm", '%s-%d' % (gf_fontname, a))
def autotrace_font (fontname, metric, glyphs, encoding, magnification): global gf_fontname if not gf_fontname: base = gen_pixel_font (fontname, metric, magnification) gf_fontname = base + 'gf' t1os = [] font_bbox = (10000,10000,-10000,-10000) progress (_ ("Tracing bitmaps... ")) eps_lines = [] # for single glyph testing. # glyphs = [] for a in glyphs: valid = metric.has_char (a) if not valid: continue valid = make_pbm (gf_fontname, 'char.pbm', a) if not valid: continue (w,h, xo, yo) = read_gf_dims (gf_fontname, a) if not verbose_p: sys.stderr.write('[%d' % a) sys.stderr.flush() success = do_autotrace_one ("char.pbm", '%s-%d' % (fontname, a)) if not success : sys.stderr.write ("(skipping character)]") sys.stderr.flush () continue if not verbose_p: sys.stderr.write(']') sys.stderr.flush() tw = int (round (metric.get_char (a).width / metric.design_size * 1000)) (bbox, t1o) = autotrace_path_to_type1_ops ("char.eps", (h, w, xo, yo), tw) if t1o == '' : continue font_bbox = update_bbox_with_bbox (font_bbox, bbox) t1os.append ('/%s %s ' % (encoding[a] , t1o )) progress ('\n') if pfa_p or ttf_p: to_type1 (t1os, font_bbox, fontname, encoding, magnification, 1) if ttf_p: shutil.copy2 (fontname + '.pfa', fontname + '.pfx') if pfb_p: to_type1 (t1os, font_bbox, fontname, encoding, magnification, 0)
6261a7b0062c0861bc1125b26df3ac4d557024b5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11856/6261a7b0062c0861bc1125b26df3ac4d557024b5/mftrace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3656, 5129, 67, 5776, 261, 5776, 529, 16, 3999, 16, 23404, 16, 2688, 16, 28160, 1480, 4672, 2552, 13828, 67, 5776, 529, 309, 486, 13828, 67, 5776, 529, 30, 1026, 273, 225, 3157, 67, 11743, 67, 5776, 261, 5776, 529, 16, 3999, 16, 28160, 1480, 13, 13828, 67, 5776, 529, 273, 1026, 397, 296, 75, 74, 11, 225, 268, 21, 538, 273, 5378, 3512, 67, 20737, 273, 225, 261, 23899, 16, 23899, 16, 17, 23899, 16, 17, 23899, 13, 225, 4007, 261, 67, 7566, 3403, 9389, 87, 2777, 315, 3719, 225, 7785, 67, 3548, 273, 5378, 225, 468, 364, 2202, 9440, 7769, 18, 468, 23404, 273, 5378, 364, 279, 316, 23404, 30, 923, 273, 3999, 18, 5332, 67, 3001, 261, 69, 13, 309, 486, 923, 30, 1324, 225, 923, 273, 1221, 67, 5733, 81, 261, 75, 74, 67, 5776, 529, 16, 296, 3001, 18, 5733, 81, 2187, 279, 13, 309, 486, 923, 30, 1324, 225, 261, 91, 16, 76, 16, 619, 83, 16, 677, 83, 13, 273, 855, 67, 75, 74, 67, 8550, 261, 75, 74, 67, 5776, 529, 16, 279, 13, 225, 309, 486, 3988, 67, 84, 30, 2589, 18, 11241, 18, 2626, 2668, 14451, 72, 11, 738, 279, 13, 2589, 18, 11241, 18, 11330, 1435, 282, 2216, 273, 741, 67, 6079, 5129, 67, 476, 7566, 3001, 18, 5733, 81, 3113, 1995, 87, 6456, 72, 11, 738, 261, 75, 74, 67, 5776, 529, 16, 279, 3719, 309, 486, 2216, 294, 2589, 18, 11241, 18, 2626, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3656, 5129, 67, 5776, 261, 5776, 529, 16, 3999, 16, 23404, 16, 2688, 16, 28160, 1480, 4672, 2552, 13828, 67, 5776, 529, 309, 486, 13828, 67, 5776, 529, 30, 1026, 273, 225, 3157, 67, 11743, 67, 5776, 261, 5776, 529, 16, 3999, 16, 28160, 1480, 13, 13828, 67, 5776, 529, 273, 1026, 397, 296, 75, 74, 11, 225, 268, 21, 538, 273, 5378, 3512, 67, 20737, 273, 225, 261, 23899, 16, 23899, 16, 17, 23899, 16, 17, 23899, 13, 225, 4007, 261, 67, 7566, 3403, 9389, 87, 2777, 315, 3719, 225, 7785, 67, 3548, 273, 5378, 225, 468, 364, 2202, 9440, 7769, 18, 468, 23404, 273, 5378, 364, 279, 316, 23404, 30, 923, 273, 3999, 18, 5332, 67, 2 ]
Get job sandbox """ print request.params
def getSandbox( self ): """ Get job sandbox """
199606dbc22ba175bb1a6b03dc22cc34147b8e91 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12767/199606dbc22ba175bb1a6b03dc22cc34147b8e91/JobAdministrator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1322, 9069, 12, 365, 262, 30, 3536, 968, 1719, 15202, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.
491c09a369949b6e74fc7c4ffb9f16ae1baf2a2b /local1/tlutelli/issta_data/temp/all_python//python/2009_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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
n = newNode
def _textual(self, node): rc = '' for n in node.childNodes: if n.nodeType == node.ELEMENT_NODE: if n.localName == 'getName': newNode = self.doc.dom.createTextNode(self.styles.names.get(n.getAttribute('id'),'Unknown name')) node.insertBefore(newNode, n) node.removeChild(n) n = newNode elif n.localName == 'pageNumber': newNode = self.doc.dom.createTextNode(str(self.doc.canvas.getPageNumber())) node.insertBefore(newNode, n) node.removeChild(n) n = newNode else: #CHECKME: I wonder if this is useful since we don't stock the result. Maybe for the getName tag? self._textual(n) rc += n.toxml() elif n.nodeType in (node.CDATA_SECTION_NODE, node.TEXT_NODE): rc += str2xml(n.data) return rc.encode(encoding, 'replace')
45305377fa86de2508db7c9c9130b612aea6a9df /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/45305377fa86de2508db7c9c9130b612aea6a9df/trml2pdf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 955, 1462, 12, 2890, 16, 756, 4672, 4519, 273, 875, 364, 290, 316, 756, 18, 3624, 3205, 30, 309, 290, 18, 2159, 559, 422, 756, 18, 10976, 67, 8744, 30, 309, 290, 18, 3729, 461, 422, 296, 17994, 4278, 10942, 273, 365, 18, 2434, 18, 9859, 18, 2640, 17299, 12, 2890, 18, 10218, 18, 1973, 18, 588, 12, 82, 18, 588, 1499, 2668, 350, 19899, 11, 4874, 508, 26112, 756, 18, 6387, 4649, 12, 2704, 907, 16, 290, 13, 756, 18, 4479, 1763, 12, 82, 13, 1327, 290, 18, 3729, 461, 422, 296, 2433, 1854, 4278, 10942, 273, 365, 18, 2434, 18, 9859, 18, 2640, 17299, 12, 701, 12, 2890, 18, 2434, 18, 15424, 18, 588, 1964, 1854, 1435, 3719, 756, 18, 6387, 4649, 12, 2704, 907, 16, 290, 13, 756, 18, 4479, 1763, 12, 82, 13, 469, 30, 468, 10687, 958, 30, 467, 8462, 765, 309, 333, 353, 5301, 3241, 732, 2727, 1404, 12480, 326, 563, 18, 14024, 364, 326, 1723, 1047, 35, 365, 6315, 955, 1462, 12, 82, 13, 4519, 1011, 290, 18, 869, 2902, 1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 30, 1652, 389, 955, 1462, 12, 2890, 16, 756, 4672, 4519, 273, 875, 364, 290, 316, 756, 18, 3624, 3205, 30, 309, 290, 18, 2159, 559, 422, 756, 18, 10976, 67, 8744, 30, 309, 290, 18, 3729, 461, 422, 296, 17994, 4278, 10942, 273, 365, 18, 2434, 18, 9859, 18, 2640, 17299, 12, 2890, 18, 10218, 18, 1973, 18, 588, 12, 82, 18, 588, 1499, 2668, 350, 19899, 11, 4874, 508, 26112, 756, 18, 6387, 4649, 12, 2704, 907, 16, 290, 13, 756, 18, 4479, 1763, 12, 82, 13, 1327, 290, 18, 3729, 461, 422, 296, 2433, 1854, 4278, 10942, 273, 365, 18, 2434, 18, 9859, 18, 2640, 17299, 12, 701, 12, 2890, 18, 2434, 18, 15424, 18, 588, 1964, 2 ]
try: for x in xrange(1, len(rebuilt_lines)): m = p_refmarker.match(rebuilt_lines[x]) try: if int(m.group("marknum")) == last_marknum + 1: fixed.append(rebuilt_lines[x]) last_marknum += 1 continue elif len(rebuilt_lines[x][m.end():].strip()) == 0: fixed[len(fixed) - 1] += rebuilt_lines[x] continue else: m_fix = p_refmarker.search(rebuilt_lines[x][m.end():]) if m_fix is not None and int(m_fix.group("marknum")) == last_marknum + 1:
for x in xrange(1, len(rebuilt_lines)): m = p_refmarker.match(rebuilt_lines[x]) try: curline_mark_num = m.group("marknum") except AttributeError: fixed[len(fixed) - 1] += rebuilt_lines[x] else: if int(curline_mark_num) == last_marknum + 1: fixed.append(rebuilt_lines[x]) last_marknum += 1 elif len(rebuilt_lines[x][m.end():].strip()) == 0: fixed[len(fixed) - 1] += rebuilt_lines[x] else: current_line = rebuilt_lines[x] m_next_mark = p_refmarker.search(current_line[m.end():]) while m_next_mark is not None: if int(m_next_mark.group("marknum")) == \ last_marknum + 1:
def correct_rebuilt_lines(rebuilt_lines, p_refmarker): """Try to correct any cases where a reference line has been incorrectly split based upon a wrong numeration marker. That is to say, given the following situation: [1] Smith, J blah blah [2] Brown, N blah blah see reference [56] for more info [3] Wills, A blah blah ... The first part of the 3rd line clearly belongs with line 2. This function will try to fix this situation, to have the following situation: [1] Smith, J blah blah [2] Brown, N blah blah see reference [56] for more info [3] Wills, A blah blah If it cannot correctly guess the correct break-point in such a line, it will give up and the original list of reference lines will be returned. @param rebuilt_lines: (list) the rebuilt reference lines @param p_refmarker: (compiled regex pattern object) the pattern used to match regex line numeration markers. **MUST HAVE A GROUP 'marknum' to encapsulate the mark number!** (e.g. r'\[(?P<marknum>\d+)\]') @return: (list) of strings. If necessary, the corrected reference lines. Else the orginal 'rebuilt' lines. """ fixed = [] unsafe = 0 try: m = p_refmarker.match(rebuilt_lines[0]) last_marknum = int(m.group("marknum")) if last_marknum != 1: ## Even the first mark isnt 1 - probaby too dangerous to try to repair return rebuilt_lines except (IndexError, AttributeError, ValueError): ## Sometihng went wrong. Either no references, not a numbered line marker (int() failed), or ## no reference line marker (NoneType was passed). In any case, unable to test for correct ## reference line numberring - just return the lines as they were. return rebuilt_lines ## Loop through each line in "rebuilt_lines" and test the mark at the beginning. ## If current-line-mark = previous-line-mark + 1, the line will be taken to be correct and appended ## to the list of fixed-lines. If not, then the loop will attempt to test whether the current line ## marker is actually part of the previous line by looking in the current line for another marker ## that has the numeric value of previous-marker + 1. If found, that marker will be taken as the true ## marker for the line and the leader of the line (up to the point of this marker) will be appended ## to the revious line. E.g.: ## [1] Smith, J blah blah ## [2] Brown, N blah blah see reference ## [56] for more info [3] Wills, A blah blah ## ... ## ## ...will be transformed into: ## [1] Smith, J blah blah ## [2] Brown, N blah blah see reference [56] for more info ## [3] Wills, A blah blah ## ... ## first line is correct, to put it into fixed: fixed.append(rebuilt_lines[0]) try: for x in xrange(1, len(rebuilt_lines)): m = p_refmarker.match(rebuilt_lines[x]) try: if int(m.group("marknum")) == last_marknum + 1: ## The marker number for this reference line is correct. ## Append it to the 'fixed' lines and move on. fixed.append(rebuilt_lines[x]) last_marknum += 1 continue elif len(rebuilt_lines[x][m.end():].strip()) == 0: ## This line consists of a marker-number only - it is not a ## correct marker. Append it to the last line. fixed[len(fixed) - 1] += rebuilt_lines[x] continue else: ## This marker != previous-marker + 1. ## May have taken some of the last line into this line. Can we find the ## next marker in this line? ## Test for this situation: ## [54] for more info [3] Wills, A blah blah m_fix = p_refmarker.search(rebuilt_lines[x][m.end():]) if m_fix is not None and int(m_fix.group("marknum")) == last_marknum + 1: ## found next marker in line. Test to see that marker is followed by ## something meaningful i.e. a letter at least (name). ## I.e. We want to fix this: ## [54] for more info [3] Wills, A blah blah ## ## but we don't want to fix this: ## [54] for more info or even reference [3] ## ## as that would be unsafe. m_test_nxt_mark_not_eol = \ sre.search(sre.escape(m_fix.group()) + '\s*[A-Za-z]', rebuilt_lines[x]) if m_test_nxt_mark_not_eol is not None: ## move this section back to its real line: ## get the segment of this line to be moved to the previous line ## (append a newline to it too): movesect = rebuilt_lines[x][0:m_test_nxt_mark_not_eol.start()] + "\n" ## Now get the previous line into a variable (without its newline at the end): previous_line = fixed[len(fixed) - 1].rstrip("\n") ## Now append the section to be moved to the previous line variable. ## Check the last character of the previous line. If it's a space, then ## just directly append this new section. Else, append a space then this new section. previous_line += "%s%s" % ((previous_line[len(previous_line) - 1] != " " and " ") or (""), movesect) fixed[len(fixed) - 1] = previous_line ## Now append the remainder of the current line to the list of fixed lines, and move on to the ## next line: fixed.append(rebuilt_lines[x][m_test_nxt_mark_not_eol.start():]) last_marknum += 1 continue else: ## The next marker in the line was not followed by text. It is unsafe to move it. ## Give up trying to correct these reference lines - it's not safe to continue. unsafe = 1 break else: ## Unable to find another marker in the line that starts with the incorrect marker. ## It is therefore unsafe to attempt to correct the lines: just return the original lines. unsafe = 1 break except AttributeError: ## This line does not have a line marker at the start! This line shall be added to the end of the previous line. fixed[len(fixed) - 1] += rebuilt_lines[x] continue except IndexError: ## Somewhere, the boundaries of the list of references were over-stepped. Just return the original set of reference lines. unsafe = 1 if unsafe: ## return the original set of references. return rebuilt_lines else: ## return the newly corrected references. return fixed
11ccb10bc99c9907d6df324bad7c06a4d678afe0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/11ccb10bc99c9907d6df324bad7c06a4d678afe0/refextract.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3434, 67, 266, 12406, 67, 3548, 12, 266, 12406, 67, 3548, 16, 293, 67, 1734, 11145, 4672, 3536, 7833, 358, 3434, 1281, 6088, 1625, 279, 2114, 980, 711, 2118, 25621, 1416, 2511, 12318, 279, 7194, 818, 7067, 5373, 18, 12466, 353, 358, 12532, 16, 864, 326, 3751, 20886, 30, 225, 306, 21, 65, 9425, 483, 16, 804, 2811, 9795, 2811, 9795, 306, 22, 65, 605, 26253, 16, 423, 2811, 9795, 2811, 9795, 2621, 2114, 306, 4313, 65, 364, 1898, 1123, 306, 23, 65, 9980, 87, 16, 432, 2811, 9795, 2811, 9795, 1372, 225, 1021, 1122, 1087, 434, 326, 890, 13623, 980, 2424, 715, 11081, 598, 980, 576, 18, 1220, 445, 903, 775, 358, 2917, 333, 20886, 16, 358, 1240, 326, 3751, 20886, 30, 225, 306, 21, 65, 9425, 483, 16, 804, 2811, 9795, 2811, 9795, 306, 22, 65, 605, 26253, 16, 423, 2811, 9795, 2811, 9795, 2621, 2114, 306, 4313, 65, 364, 1898, 1123, 306, 23, 65, 9980, 87, 16, 432, 2811, 9795, 2811, 9795, 225, 971, 518, 2780, 8783, 7274, 326, 3434, 898, 17, 1153, 316, 4123, 279, 980, 16, 518, 903, 8492, 731, 471, 326, 2282, 666, 434, 2114, 2362, 903, 506, 2106, 18, 225, 632, 891, 283, 12406, 67, 3548, 30, 261, 1098, 13, 326, 283, 12406, 2114, 2362, 632, 891, 293, 67, 1734, 11145, 30, 261, 19397, 3936, 1936, 733, 13, 326, 1936, 1399, 358, 845, 3936, 980, 818, 7067, 11754, 18, 2826, 49, 5996, 21926, 3412, 432, 13839, 296, 3355, 2107, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3434, 67, 266, 12406, 67, 3548, 12, 266, 12406, 67, 3548, 16, 293, 67, 1734, 11145, 4672, 3536, 7833, 358, 3434, 1281, 6088, 1625, 279, 2114, 980, 711, 2118, 25621, 1416, 2511, 12318, 279, 7194, 818, 7067, 5373, 18, 12466, 353, 358, 12532, 16, 864, 326, 3751, 20886, 30, 225, 306, 21, 65, 9425, 483, 16, 804, 2811, 9795, 2811, 9795, 306, 22, 65, 605, 26253, 16, 423, 2811, 9795, 2811, 9795, 2621, 2114, 306, 4313, 65, 364, 1898, 1123, 306, 23, 65, 9980, 87, 16, 432, 2811, 9795, 2811, 9795, 1372, 225, 1021, 1122, 1087, 434, 326, 890, 13623, 980, 2424, 715, 11081, 598, 980, 576, 18, 1220, 445, 903, 775, 358, 2917, 333, 20886, 16, 358, 2 ]
self.context = xmlconfig.file("mail.zcml", zope.sendmail.tests)
here = os.path.dirname(__file__) zcmlfile = open(os.path.join(here, "mail.zcml"), 'r') zcml = zcmlfile.read() zcmlfile.close() self.context = xmlconfig.string(zcml.replace('path/to/tmp/mailbox', self.mailbox))
def setUp(self): super(DirectivesTest, self).setUp() self.testMailer = Mailer()
a953102b8fa966699f2007d8a65e5846028f7ebf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9710/a953102b8fa966699f2007d8a65e5846028f7ebf/test_directives.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 2240, 12, 25343, 4709, 16, 365, 2934, 542, 1211, 1435, 365, 18, 3813, 23666, 273, 11542, 264, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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542, 1211, 1435, 365, 18, 3813, 23666, 273, 11542, 264, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.c_func_name = arg
self.c_func_name = repr(arg)
def trace_dispatch_i(self, frame, event, arg): timer = self.timer t = timer() - self.t - self.bias
cc01e4956521e86f264c1ac685aac3acb259c0c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/cc01e4956521e86f264c1ac685aac3acb259c0c4/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2606, 67, 10739, 67, 77, 12, 2890, 16, 2623, 16, 871, 16, 1501, 4672, 5441, 273, 365, 18, 12542, 268, 273, 5441, 1435, 300, 365, 18, 88, 300, 365, 18, 13931, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2606, 67, 10739, 67, 77, 12, 2890, 16, 2623, 16, 871, 16, 1501, 4672, 5441, 273, 365, 18, 12542, 268, 273, 5441, 1435, 300, 365, 18, 88, 300, 365, 18, 13931, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
lib_dir, inc_dir, bin_dir = path_locations(home_dir)
home_dir, lib_dir, inc_dir, bin_dir = path_locations(home_dir)
def create_environment(home_dir, site_packages=True, clear=False, unzip_setuptools=False): """ Creates a new environment in ``home_dir``. If ``site_packages`` is true (the default) then the global ``site-packages/`` directory will be on the path. If ``clear`` is true (default False) then the environment will first be cleared. """ lib_dir, inc_dir, bin_dir = path_locations(home_dir) py_executable = install_python( home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear) install_distutils(lib_dir, home_dir) install_setuptools(py_executable, unzip=unzip_setuptools) install_activate(home_dir, bin_dir)
dc6dda8f6c595f40e2cfb5c2db467fabc291d631 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12981/dc6dda8f6c595f40e2cfb5c2db467fabc291d631/virtualenv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 10274, 12, 8712, 67, 1214, 16, 2834, 67, 10308, 33, 5510, 16, 2424, 33, 8381, 16, 20259, 67, 542, 30693, 33, 8381, 4672, 3536, 10210, 279, 394, 3330, 316, 12176, 8712, 67, 1214, 68, 8338, 225, 971, 12176, 4256, 67, 10308, 10335, 353, 638, 261, 5787, 805, 13, 1508, 326, 2552, 12176, 4256, 17, 10308, 19, 10335, 1867, 903, 506, 603, 326, 589, 18, 225, 971, 12176, 8507, 10335, 353, 638, 261, 1886, 1083, 13, 1508, 326, 3330, 903, 1122, 506, 16054, 18, 3536, 6382, 67, 1214, 16, 2561, 67, 1214, 16, 7290, 67, 1214, 16, 4158, 67, 1214, 273, 589, 67, 12352, 12, 8712, 67, 1214, 13, 225, 2395, 67, 17751, 273, 3799, 67, 8103, 12, 6382, 67, 1214, 16, 2561, 67, 1214, 16, 7290, 67, 1214, 16, 4158, 67, 1214, 16, 2834, 67, 10308, 33, 4256, 67, 10308, 16, 2424, 33, 8507, 13, 225, 3799, 67, 4413, 5471, 12, 2941, 67, 1214, 16, 6382, 67, 1214, 13, 225, 3799, 67, 542, 30693, 12, 2074, 67, 17751, 16, 20259, 33, 318, 4450, 67, 542, 30693, 13, 225, 3799, 67, 10014, 12, 8712, 67, 1214, 16, 4158, 67, 1214, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 10274, 12, 8712, 67, 1214, 16, 2834, 67, 10308, 33, 5510, 16, 2424, 33, 8381, 16, 20259, 67, 542, 30693, 33, 8381, 4672, 3536, 10210, 279, 394, 3330, 316, 12176, 8712, 67, 1214, 68, 8338, 225, 971, 12176, 4256, 67, 10308, 10335, 353, 638, 261, 5787, 805, 13, 1508, 326, 2552, 12176, 4256, 17, 10308, 19, 10335, 1867, 903, 506, 603, 326, 589, 18, 225, 971, 12176, 8507, 10335, 353, 638, 261, 1886, 1083, 13, 1508, 326, 3330, 903, 1122, 506, 16054, 18, 3536, 6382, 67, 1214, 16, 2561, 67, 1214, 16, 7290, 67, 1214, 16, 4158, 67, 1214, 273, 589, 67, 12352, 12, 8712, 67, 1214, 13, 225, 2395, 67, 17751, 273, 3799, 67, 8103, 2 ]
self.color_, self.line_width, self.outline_color_)
self.color_, self.line_width, self.outline_color_, self.custom_symbol)
def _render(self, gc, points, icon_mode=False): """ This same method is used both to render the scatterplot and to draw just the iconified version of this plot, with the latter simply requiring that a few steps be skipped. """
3dd02a2822d486b7aa5eca736b85056a1305253e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13167/3dd02a2822d486b7aa5eca736b85056a1305253e/scatterplot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 12, 2890, 16, 8859, 16, 3143, 16, 4126, 67, 3188, 33, 8381, 4672, 3536, 1220, 1967, 707, 353, 1399, 3937, 358, 1743, 326, 14644, 4032, 471, 358, 3724, 2537, 326, 4126, 939, 1177, 434, 333, 3207, 16, 598, 326, 23740, 8616, 29468, 716, 279, 11315, 6075, 506, 9700, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5902, 12, 2890, 16, 8859, 16, 3143, 16, 4126, 67, 3188, 33, 8381, 4672, 3536, 1220, 1967, 707, 353, 1399, 3937, 358, 1743, 326, 14644, 4032, 471, 358, 3724, 2537, 326, 4126, 939, 1177, 434, 333, 3207, 16, 598, 326, 23740, 8616, 29468, 716, 279, 11315, 6075, 506, 9700, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.parent += msg
messages.append(msg)
def underline(self, match, context, next_state): """Section title.""" lineno = self.state_machine.abs_line_number() if not self.state_machine.match_titles: blocktext = context[0] + '\n' + self.state_machine.line msg = self.reporter.severe( 'Unexpected section title at line %s.' % lineno, '', nodes.literal_block(blocktext, blocktext)) self.parent += msg return [], next_state, [] title = context[0].rstrip() underline = match.string.rstrip() source = title + '\n' + underline if len(title) > len(underline): blocktext = context[0] + '\n' + self.state_machine.line msg = self.reporter.info( 'Title underline too short at line %s.' % lineno, '', nodes.literal_block(blocktext, blocktext)) self.parent += msg style = underline[0] context[:] = [] self.section(title, source, style, lineno - 1) return [], next_state, []
3b276ab058f6fea3778175ae2d6e97f9f883e4ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/3b276ab058f6fea3778175ae2d6e97f9f883e4ca/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 309, 486, 365, 18, 2019, 67, 9149, 18, 1916, 67, 17643, 30, 1203, 955, 273, 819, 63, 20, 65, 397, 2337, 82, 11, 397, 365, 18, 2019, 67, 9149, 18, 1369, 1234, 273, 365, 18, 266, 7988, 18, 307, 502, 73, 12, 296, 7762, 2442, 2077, 622, 980, 738, 87, 1093, 738, 7586, 16, 10226, 2199, 18, 13107, 67, 2629, 12, 2629, 955, 16, 1203, 955, 3719, 2743, 18, 6923, 12, 3576, 13, 327, 5378, 16, 1024, 67, 2019, 16, 5378, 2077, 273, 819, 63, 20, 8009, 86, 6406, 1435, 25985, 273, 845, 18, 1080, 18, 86, 6406, 1435, 1084, 273, 2077, 397, 2337, 82, 11, 397, 25985, 309, 562, 12, 2649, 13, 405, 562, 12, 9341, 1369, 4672, 1203, 955, 273, 819, 63, 20, 65, 397, 2337, 82, 11, 397, 365, 18, 2019, 67, 9149, 18, 1369, 1234, 273, 365, 18, 266, 7988, 18, 1376, 12, 296, 4247, 25985, 4885, 3025, 622, 980, 738, 87, 1093, 738, 7586, 16, 10226, 2199, 18, 13107, 67, 2629, 12, 2629, 955, 16, 1203, 955, 3719, 2743, 18, 6923, 12, 3576, 13, 2154, 273, 25985, 63, 20, 65, 819, 10531, 65, 273, 5378, 365, 18, 3464, 12, 2649, 16, 1084, 16, 2154, 16, 7586, 300, 404, 13, 327, 5378, 16, 1024, 67, 2019, 16, 5378, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 309, 486, 365, 18, 2019, 67, 9149, 18, 1916, 67, 17643, 30, 1203, 955, 273, 819, 63, 20, 65, 397, 2337, 82, 11, 397, 365, 18, 2019, 67, 9149, 18, 1369, 1234, 273, 365, 18, 266, 7988, 18, 307, 502, 73, 12, 296, 7762, 2442, 2077, 622, 980, 738, 87, 1093, 738, 7586, 16, 10226, 2199, 18, 13107, 67, 2629, 12, 2629, 955, 16, 1203, 955, 3719, 2743, 18, 6923, 12, 3576, 13, 327, 5378, 16, 1024, 67, 2019, 16, 5378, 2077, 273, 819, 63, 20, 8009, 86, 2 ]
Deletes vertex, removing all incident edges.
Deletes vertex, removing all incident edges. Deleting a non-existant vertex will raise an exception.
def delete_vertex(self, vertex): """ Deletes vertex, removing all incident edges.
191e77a0bf2525c8c088fd2c0fb6301984c87062 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/191e77a0bf2525c8c088fd2c0fb6301984c87062/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 15281, 12, 2890, 16, 5253, 4672, 3536, 17973, 5253, 16, 9427, 777, 22933, 5231, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 15281, 12, 2890, 16, 5253, 4672, 3536, 17973, 5253, 16, 9427, 777, 22933, 5231, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
data = quopri.decode(data)
decoded = cStringIO.StringIO() quopri.decode(part.fp, decoded) data = decoded.getvalue()
def handle_message(self, message): ''' message - a Message instance
c559531b2814b00cf98d06402ad97aff0b464cb8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/c559531b2814b00cf98d06402ad97aff0b464cb8/mailgw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2150, 12, 2890, 16, 883, 4672, 9163, 883, 300, 279, 2350, 791, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2150, 12, 2890, 16, 883, 4672, 9163, 883, 300, 279, 2350, 791, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Either integers `n,d` such that `d>0`, `gcd(n,d)=1`, `n/d=u (mod m)`, and `T*d*|n|< m`, or ``None``.
Either integers `n,d` such that `d>0`, `\mathop{\mathrm{gcd}}(n,d)=1`, `n/d=u \bmod m`, and `T \* d \* |n| < m`, or ``None``.
def mqrr_rational_reconstruction(u, m, T): r""" Maximal Quotient Rational Reconstruction. FOR research purposes only - this is pure Python, so slow. INPUT: - ``u, m, T`` - integers such that `m > u \ge 0,` `T > 0`. OUTPUT: Either integers `n,d` such that `d>0`, `gcd(n,d)=1`, `n/d=u (mod m)`, and `T*d*|n|< m`, or ``None``. Reference: Monagan, Maximal Quotient Rational Reconstruction: An Almost Optimal Algorithm for Rational Reconstruction (page 11) This algorithm is probabilistic. EXAMPLES:: sage: mqrr_rational_reconstruction(21,3100,13) (21, 1) """ if u == 0: if m > T: return (0,1) else: return None n, d = 0, 0 t0, r0 = 0, m t1, r1 = 1, u while r1 != 0 and r0 > T: q = r0/r1 # C division implicit floor if q > T: n, d, T = r1, t1, q r0, r1 = r1, r0 - q*r1 t0, t1 = t1, t0 - q*t1 if d != 0 and GCD(n,d) == 1: return (n,d) return None
2bbe2334c6ee2df9794388e492bb1effd39e27d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/2bbe2334c6ee2df9794388e492bb1effd39e27d2/arith.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18327, 523, 67, 7034, 287, 67, 266, 591, 4549, 12, 89, 16, 312, 16, 399, 4672, 436, 8395, 4238, 2840, 4783, 352, 1979, 534, 8371, 868, 591, 4549, 18, 225, 12108, 283, 3072, 13694, 1338, 300, 333, 353, 16618, 6600, 16, 1427, 11816, 18, 225, 12943, 30, 225, 300, 12176, 89, 16, 312, 16, 399, 10335, 300, 225, 12321, 4123, 716, 1375, 81, 405, 582, 521, 908, 374, 16, 68, 1375, 56, 405, 374, 8338, 225, 11550, 30, 225, 14635, 12321, 1375, 82, 16, 72, 68, 4123, 716, 1375, 72, 34, 20, 9191, 1375, 64, 15949, 556, 23241, 15949, 8864, 95, 75, 4315, 9090, 12, 82, 16, 72, 13, 33, 21, 9191, 1375, 82, 19, 72, 33, 89, 521, 70, 1711, 312, 9191, 471, 1375, 56, 521, 14, 302, 521, 14, 571, 82, 96, 411, 312, 9191, 578, 12176, 7036, 68, 8338, 225, 6268, 30, 9041, 346, 304, 16, 4238, 2840, 4783, 352, 1979, 534, 8371, 868, 591, 4549, 30, 1922, 2262, 10329, 12056, 2840, 15067, 364, 534, 8371, 868, 591, 4549, 261, 2433, 4648, 13, 225, 1220, 4886, 353, 3137, 22681, 5846, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 18327, 523, 67, 7034, 287, 67, 266, 591, 4549, 12, 5340, 16, 23, 6625, 16, 3437, 13, 261, 5340, 16, 404, 13, 3536, 309, 582, 422, 374, 30, 309, 312, 405, 399, 30, 327, 261, 20, 16, 21, 13, 469, 30, 327, 599, 290, 16, 302, 273, 374, 16, 374, 268, 20, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18327, 523, 67, 7034, 287, 67, 266, 591, 4549, 12, 89, 16, 312, 16, 399, 4672, 436, 8395, 4238, 2840, 4783, 352, 1979, 534, 8371, 868, 591, 4549, 18, 225, 12108, 283, 3072, 13694, 1338, 300, 333, 353, 16618, 6600, 16, 1427, 11816, 18, 225, 12943, 30, 225, 300, 12176, 89, 16, 312, 16, 399, 10335, 300, 225, 12321, 4123, 716, 1375, 81, 405, 582, 521, 908, 374, 16, 68, 1375, 56, 405, 374, 8338, 225, 11550, 30, 225, 14635, 12321, 1375, 82, 16, 72, 68, 4123, 716, 1375, 72, 34, 20, 9191, 1375, 64, 15949, 556, 23241, 15949, 8864, 95, 75, 4315, 9090, 12, 82, 16, 72, 13, 33, 21, 9191, 1375, 82, 19, 72, 33, 89, 2 ]
if self.token=="DISCARDABLE": self.getToken() if self.token=="MOVEABLE": self.getToken() self.getToken()
while not self.token.startswith('"'): self.getToken()
def parse_bitmap_or_icon(self, name, dic): self.getToken() if self.token=="DISCARDABLE": self.getToken() if self.token=="MOVEABLE": self.getToken() # PURE self.getToken() # bmpname bmf = self.token[1:-1] # quotes dic[name] = bmf
6607b8df7f10522d254a3356f18efd66dfcaef31 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/6607b8df7f10522d254a3356f18efd66dfcaef31/win32rcparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3682, 1458, 67, 280, 67, 3950, 12, 2890, 16, 508, 16, 11681, 4672, 365, 18, 588, 1345, 1435, 309, 365, 18, 2316, 31713, 2565, 2312, 8085, 2782, 6877, 365, 18, 588, 1345, 1435, 309, 365, 18, 2316, 31713, 16537, 2782, 6877, 365, 18, 588, 1345, 1435, 468, 453, 4830, 365, 18, 588, 1345, 1435, 468, 324, 1291, 529, 324, 16126, 273, 365, 18, 2316, 63, 21, 30, 17, 21, 65, 468, 10681, 11681, 63, 529, 65, 273, 324, 16126, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3682, 1458, 67, 280, 67, 3950, 12, 2890, 16, 508, 16, 11681, 4672, 365, 18, 588, 1345, 1435, 309, 365, 18, 2316, 31713, 2565, 2312, 8085, 2782, 6877, 365, 18, 588, 1345, 1435, 309, 365, 18, 2316, 31713, 16537, 2782, 6877, 365, 18, 588, 1345, 1435, 468, 453, 4830, 365, 18, 588, 1345, 1435, 468, 324, 1291, 529, 324, 16126, 273, 365, 18, 2316, 63, 21, 30, 17, 21, 65, 468, 10681, 11681, 63, 529, 65, 273, 324, 16126, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if not s.wait: q.put(s)
def add_dep(self, q, *deps): self.wait += len(deps) for s in deps: s.rdeps.append(self) if not s.wait: q.put(s)
31a172669051f612c39ad10e813c996483107c44 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6150/31a172669051f612c39ad10e813c996483107c44/hectic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 15037, 12, 2890, 16, 1043, 16, 380, 14877, 4672, 365, 18, 7048, 1011, 562, 12, 14877, 13, 364, 272, 316, 8740, 30, 272, 18, 86, 14877, 18, 6923, 12, 2890, 13, 309, 486, 272, 18, 7048, 30, 1043, 18, 458, 12, 87, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 15037, 12, 2890, 16, 1043, 16, 380, 14877, 4672, 365, 18, 7048, 1011, 562, 12, 14877, 13, 364, 272, 316, 8740, 30, 272, 18, 86, 14877, 18, 6923, 12, 2890, 13, 309, 486, 272, 18, 7048, 30, 1043, 18, 458, 12, 87, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self.tk.call(self._w, 'show', 'entry', entry)
return self.tk.call(self._w, 'show', 'entry', entry)
def show_entry(self, entry):
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 4099, 12, 2890, 16, 1241, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2405, 67, 4099, 12, 2890, 16, 1241, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
file_handler = logging.handlers.FileHandler(filename, "w") root_logger.addHandler(file_handler)
file_handler = logging.FileHandler(filename, "w") pyreadline_logger.addHandler(file_handler)
def start_file_log(filename): global file_handler file_handler = logging.handlers.FileHandler(filename, "w") root_logger.addHandler(file_handler)
5d2f4c4c341a80eafd16226a0eb73a0ee192fb32 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12063/5d2f4c4c341a80eafd16226a0eb73a0ee192fb32/logger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 768, 67, 1330, 12, 3459, 4672, 2552, 585, 67, 4176, 585, 67, 4176, 273, 2907, 18, 28942, 12, 3459, 16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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 768, 67, 1330, 12, 3459, 4672, 2552, 585, 67, 4176, 585, 67, 4176, 273, 2907, 18, 28942, 12, 3459, 16, 315, 91, 7923, 2395, 896, 1369, 67, 4901, 18, 1289, 1503, 12, 768, 67, 4176, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"""
""" % arg
def do_help(self, arg): msg = """
27e83a3774587a84532112eaada08ead41debbe9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/27e83a3774587a84532112eaada08ead41debbe9/shell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5201, 12, 2890, 16, 1501, 4672, 1234, 273, 3536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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5201, 12, 2890, 16, 1501, 4672, 1234, 273, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
encodedFilename = filename.encode(self.targetSite.encoding())
def process_filename(self): # Isolate the pure name filename = self.url if '/' in filename: filename = filename.split('/')[-1] if '\\' in filename: filename = filename.split('\\')[-1] if self.urlEncoding: filename = urllib.unquote(filename.decode(self.urlEncoding)) if self.useFilename: filename = self.useFilename if not self.keepFilename: wikipedia.output(u"The filename on the target wiki will default to: %s" % filename) # ask newfn until it's valid ok = False # FIXME: these 2 belong somewhere else, presumably in family forbidden = '/' # to be extended allowed_formats = (u'gif', u'jpg', u'jpeg', u'mid', u'midi', u'ogg', u'png', u'svg', u'xcf', u'djvu') while not ok: ok = True newfn = wikipedia.input(u'Enter a better name, or press enter to accept:') if newfn == "": newfn = filename ext = os.path.splitext(newfn)[1].lower().strip('.') for c in forbidden: if c in newfn: print "Invalid character: %s. Please try again" % c ok = False if ext not in allowed_formats and ok: choice = wikipedia.inputChoice(u"File format is not one of [%s], but %s. Continue?" % (u' '.join(allowed_formats), ext), ['yes', 'no'], ['y', 'N'], 'N') if choice == 'n': ok = False if newfn != '': filename = newfn # MediaWiki doesn't allow spaces in the file name. # Replace them here to avoid an extra confirmation form filename = filename.replace(' ', '_') # Convert the filename (currently Unicode) to the encoding used on the # target wiki encodedFilename = filename.encode(self.targetSite.encoding()) # A proper description for the submission. wikipedia.output(u"The suggested description is:") wikipedia.output(self.description) if self.verifyDescription: newDescription = u'' choice = wikipedia.inputChoice(u'Do you want to change this description?', ['Yes', 'No'], ['y', 'N'], 'n') if choice == 'y': import editarticle editor = editarticle.TextEditor() newDescription = editor.edit(self.description) # if user saved / didn't press Cancel if newDescription: self.description = newDescription
0e14ce78a459ccc07571a16bcb85c7af55f5de78 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/0e14ce78a459ccc07571a16bcb85c7af55f5de78/upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3459, 12, 2890, 4672, 468, 2585, 30144, 326, 16618, 508, 1544, 273, 365, 18, 718, 225, 309, 2023, 316, 1544, 30, 1544, 273, 1544, 18, 4939, 2668, 2473, 13, 18919, 21, 65, 225, 309, 5282, 316, 1544, 30, 1544, 273, 1544, 18, 4939, 2668, 1695, 6134, 18919, 21, 65, 225, 309, 365, 18, 718, 4705, 30, 1544, 273, 11527, 18, 318, 6889, 12, 3459, 18, 3922, 12, 2890, 18, 718, 4705, 3719, 225, 309, 365, 18, 1202, 5359, 30, 1544, 273, 365, 18, 1202, 5359, 309, 486, 365, 18, 10102, 5359, 30, 21137, 18, 2844, 12, 89, 6, 1986, 1544, 603, 326, 1018, 9050, 903, 805, 358, 30, 738, 87, 6, 738, 1544, 13, 468, 6827, 394, 4293, 3180, 518, 1807, 923, 1529, 273, 1083, 468, 9852, 30, 4259, 576, 10957, 22234, 469, 16, 4075, 379, 6906, 316, 6755, 17987, 273, 2023, 468, 358, 506, 7021, 2935, 67, 11962, 273, 261, 89, 11, 13905, 2187, 582, 11, 14362, 2187, 582, 11, 14423, 2187, 582, 17784, 350, 2187, 582, 17784, 350, 77, 2187, 582, 11, 23972, 2187, 582, 11, 6446, 2187, 582, 1807, 20105, 2187, 582, 11, 6511, 74, 2187, 582, 14271, 78, 90, 89, 6134, 1323, 486, 1529, 30, 1529, 273, 1053, 394, 4293, 273, 21137, 18, 2630, 12, 89, 11, 10237, 279, 7844, 508, 16, 578, 11779, 6103, 358, 2791, 2497, 13, 309, 394, 4293, 422, 1408, 30, 394, 4293, 273, 1544, 1110, 273, 1140, 18, 803, 18, 4939, 408, 12, 2704, 4293, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3459, 12, 2890, 4672, 468, 2585, 30144, 326, 16618, 508, 1544, 273, 365, 18, 718, 225, 309, 2023, 316, 1544, 30, 1544, 273, 1544, 18, 4939, 2668, 2473, 13, 18919, 21, 65, 225, 309, 5282, 316, 1544, 30, 1544, 273, 1544, 18, 4939, 2668, 1695, 6134, 18919, 21, 65, 225, 309, 365, 18, 718, 4705, 30, 1544, 273, 11527, 18, 318, 6889, 12, 3459, 18, 3922, 12, 2890, 18, 718, 4705, 3719, 225, 309, 365, 18, 1202, 5359, 30, 1544, 273, 365, 18, 1202, 5359, 309, 486, 365, 18, 10102, 5359, 30, 21137, 18, 2844, 12, 89, 6, 1986, 1544, 603, 326, 1018, 9050, 903, 805, 358, 30, 738, 87, 6, 738, 1544, 13, 468, 6827, 2 ]
tag = message[4:].strip().replace(' ','_')
tag = message[4:].strip().split('\n')[0].replace(' ','_')
def log(s): logsock.write("[%s] %s" % (time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), s)) logsock.flush()
4360d96213698afa858bcf0412a499115af9b897 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8703/4360d96213698afa858bcf0412a499115af9b897/darcs-fast-export.py
[ 1, 8585, 326, 22398, 316,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 12, 87, 4672, 5963, 975, 18, 2626, 2932, 14451, 87, 65, 738, 87, 6, 738, 261, 957, 18, 701, 9982, 27188, 61, 6456, 81, 6456, 72, 738, 44, 5319, 49, 5319, 55, 3113, 813, 18, 3729, 957, 1435, 3631, 272, 3719, 5963, 975, 18, 11330, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.assertEqual (db.full_tag_path ('/tags/%s/foo/rating' % user),
self.assertEqual(db.full_tag_path('/tags/%s/foo/rating' % user),
def testFullTagPath (self): db = self.db user = db.credentials.username self.assertEqual (db.full_tag_path ('rating'), '/tags/%s/rating' % user) self.assertEqual (db.full_tag_path ('/%s/rating' % user), '/tags/%s/rating' % user) self.assertEqual (db.full_tag_path ('/tags/%s/rating' % user), '/tags/%s/rating' % user) self.assertEqual (db.full_tag_path ('foo/rating'), '/tags/%s/foo/rating' % user) self.assertEqual (db.full_tag_path ('/%s/foo/rating' % user), '/tags/%s/foo/rating' % user) self.assertEqual (db.full_tag_path ('/tags/%s/foo/rating' % user), '/tags/%s/foo/rating' % user)
e75848841ac96982524448e932e12fd6ff9cbe0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12637/e75848841ac96982524448e932e12fd6ff9cbe0c/fdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5080, 1805, 743, 261, 2890, 4672, 1319, 273, 365, 18, 1966, 729, 273, 1319, 18, 11687, 18, 5053, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 17326, 19899, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 5258, 87, 19, 17326, 11, 738, 729, 3631, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 19, 4156, 5258, 87, 19, 17326, 11, 738, 729, 3631, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 11351, 19, 17326, 19899, 1173, 4156, 5258, 87, 19, 11351, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 5258, 87, 19, 11351, 19, 17326, 11, 738, 729, 3631, 1173, 4156, 5258, 87, 19, 11351, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 12, 1966, 18, 2854, 67, 2692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1805, 743, 261, 2890, 4672, 1319, 273, 365, 18, 1966, 729, 273, 1319, 18, 11687, 18, 5053, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 17326, 19899, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 5258, 87, 19, 17326, 11, 738, 729, 3631, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 67, 803, 7707, 19, 4156, 5258, 87, 19, 17326, 11, 738, 729, 3631, 1173, 4156, 5258, 87, 19, 17326, 11, 738, 729, 13, 365, 18, 11231, 5812, 261, 1966, 18, 2854, 67, 2692, 2 ]
class planet:
class Planet:
def __str__(self): if self.i == None or self.j == None: return "Nowhere" return "%s - %s" % (self.i+1, self.j+1)
e571d502c19abfb5a3320300c347793da7b43d05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/e571d502c19abfb5a3320300c347793da7b43d05/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 309, 365, 18, 77, 422, 599, 578, 365, 18, 78, 422, 599, 30, 327, 315, 8674, 14852, 6, 327, 2213, 87, 300, 738, 87, 6, 738, 261, 2890, 18, 77, 15, 21, 16, 365, 18, 78, 15, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 309, 365, 18, 77, 422, 599, 578, 365, 18, 78, 422, 599, 30, 327, 315, 8674, 14852, 6, 327, 2213, 87, 300, 738, 87, 6, 738, 261, 2890, 18, 77, 15, 21, 16, 365, 18, 78, 15, 21, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
raise SMTPRecipientsRefused(string.join( map(lambda x:"%s: %s" % (x[0], x[1][1]), senderrs.items()), '; ')) code=self.data(msg) if code <>250 :
raise SMTPRecipientsRefused(senderrs) (code,resp)=self.data(msg) if code <> 250:
def sendmail(self, from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]): """This command performs an entire mail transaction.
053a07b597f875016b8bc478c8a905c8baf4efe4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/053a07b597f875016b8bc478c8a905c8baf4efe4/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2492, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2492, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ]
source.close()
def test_checkcache(self): getline = linecache.getline try: # Create a source file and cache its contents source_name = support.TESTFN + '.py' with open(source_name, 'w') as source: source.write(SOURCE_1) source.close() getline(source_name, 1)
9958c56eb0e2b71c1bea5abcc627899d0bed17dc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/9958c56eb0e2b71c1bea5abcc627899d0bed17dc/test_linecache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1893, 2493, 12, 2890, 4672, 336, 1369, 273, 4739, 557, 807, 18, 588, 1369, 775, 30, 468, 1788, 279, 1084, 585, 471, 1247, 2097, 2939, 1084, 67, 529, 273, 2865, 18, 16961, 19793, 397, 2418, 2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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1893, 2493, 12, 2890, 4672, 336, 1369, 273, 4739, 557, 807, 18, 588, 1369, 775, 30, 468, 1788, 279, 1084, 585, 471, 1247, 2097, 2939, 1084, 67, 529, 273, 2865, 18, 16961, 19793, 397, 2418, 2074, 11, 598, 1696, 12, 3168, 67, 529, 16, 296, 91, 6134, 487, 1084, 30, 1084, 18, 2626, 12, 6537, 67, 21, 13, 336, 1369, 12, 3168, 67, 529, 16, 404, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
objects.append(pointer.address[0])
def add_reachable_to_stack2(self, obj, objects, target_addr, source_addr): size_gc_header = self.gcheaderbuilder.size_gc_header gc_info = obj - size_gc_header hdr = llmemory.cast_adr_to_ptr(gc_info, self.HDRPTR) if hdr.typeid & 1: return typeid = hdr.typeid >> 1 offsets = self.offsets_to_gc_pointers(typeid) i = 0 while i < len(offsets): pointer = obj + offsets[i] objects.append(pointer.address[0]) # ------------------------------------------------- # begin difference from collect if pointer.address[0] == target_addr: pointer.address[0] = source_addr # end difference from collect # ------------------------------------------------- i += 1 if self.is_varsize(typeid): offset = self.varsize_offset_to_variable_part( typeid) length = (obj + self.varsize_offset_to_length(typeid)).signed[0] obj += offset offsets = self.varsize_offsets_to_gcpointers_in_var_part(typeid) itemlength = self.varsize_item_sizes(typeid) i = 0 while i < length: item = obj + itemlength * i j = 0 while j < len(offsets): objects.append((item + offsets[j]).address[0]) # ------------------------------------------------- # begin difference from collect pointer = item + offsets[j] if pointer.address[0] == target_addr: pointer.address[0] = source_addr ## end difference from collect # ------------------------------------------------- j += 1 i += 1
21591058a5d5e5ea0a2e29862bef780d185bf55d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/21591058a5d5e5ea0a2e29862bef780d185bf55d/gc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 17246, 67, 869, 67, 3772, 22, 12, 2890, 16, 1081, 16, 2184, 16, 1018, 67, 4793, 16, 1084, 67, 4793, 4672, 963, 67, 13241, 67, 3374, 273, 365, 18, 75, 343, 18105, 9574, 18, 1467, 67, 13241, 67, 3374, 8859, 67, 1376, 273, 1081, 300, 963, 67, 13241, 67, 3374, 7723, 273, 6579, 7858, 18, 4155, 67, 361, 86, 67, 869, 67, 6723, 12, 13241, 67, 1376, 16, 365, 18, 44, 6331, 1856, 54, 13, 309, 7723, 18, 723, 350, 473, 404, 30, 327, 618, 350, 273, 7723, 18, 723, 350, 1671, 404, 8738, 273, 365, 18, 16542, 67, 869, 67, 13241, 67, 10437, 87, 12, 723, 350, 13, 277, 273, 374, 1323, 277, 411, 562, 12, 16542, 4672, 4407, 273, 1081, 397, 8738, 63, 77, 65, 468, 13420, 468, 2376, 7114, 628, 3274, 309, 4407, 18, 2867, 63, 20, 65, 422, 1018, 67, 4793, 30, 4407, 18, 2867, 63, 20, 65, 273, 1084, 67, 4793, 468, 679, 7114, 628, 3274, 468, 13420, 277, 1011, 404, 309, 365, 18, 291, 67, 1401, 1467, 12, 723, 350, 4672, 1384, 273, 365, 18, 1401, 1467, 67, 3348, 67, 869, 67, 6105, 67, 2680, 12, 618, 350, 13, 769, 273, 261, 2603, 397, 365, 18, 1401, 1467, 67, 3348, 67, 869, 67, 2469, 12, 723, 350, 13, 2934, 5679, 63, 20, 65, 1081, 1011, 1384, 8738, 273, 365, 18, 1401, 1467, 67, 16542, 67, 869, 67, 75, 4057, 2480, 87, 67, 267, 67, 1401, 67, 2680, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17246, 67, 869, 67, 3772, 22, 12, 2890, 16, 1081, 16, 2184, 16, 1018, 67, 4793, 16, 1084, 67, 4793, 4672, 963, 67, 13241, 67, 3374, 273, 365, 18, 75, 343, 18105, 9574, 18, 1467, 67, 13241, 67, 3374, 8859, 67, 1376, 273, 1081, 300, 963, 67, 13241, 67, 3374, 7723, 273, 6579, 7858, 18, 4155, 67, 361, 86, 67, 869, 67, 6723, 12, 13241, 67, 1376, 16, 365, 18, 44, 6331, 1856, 54, 13, 309, 7723, 18, 723, 350, 473, 404, 30, 327, 618, 350, 273, 7723, 18, 723, 350, 1671, 404, 8738, 273, 365, 18, 16542, 67, 869, 67, 13241, 67, 10437, 87, 12, 723, 350, 13, 277, 273, 374, 1323, 277, 411, 562, 2 ]
for f in new_furnishings:
for f in furnishings:
def save_classroom(self, program): """ Steps for saving a classroom: - Find the previous list of resources - Create a new list of resources - Move over resource assignments - Delete old resources """
f3b5b7f97286580553bc413f4a464b43d8cd7ffc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12041/f3b5b7f97286580553bc413f4a464b43d8cd7ffc/resources.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 1106, 13924, 12, 2890, 16, 5402, 4672, 3536, 7780, 1121, 364, 12392, 279, 667, 13924, 30, 300, 282, 4163, 326, 2416, 666, 434, 2703, 300, 282, 1788, 279, 394, 666, 434, 2703, 300, 282, 9933, 1879, 1058, 13610, 300, 282, 2504, 1592, 2703, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1923, 67, 1106, 13924, 12, 2890, 16, 5402, 4672, 3536, 7780, 1121, 364, 12392, 279, 667, 13924, 30, 300, 282, 4163, 326, 2416, 666, 434, 2703, 300, 282, 1788, 279, 394, 666, 434, 2703, 300, 282, 9933, 1879, 1058, 13610, 300, 282, 2504, 1592, 2703, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
curl.perform()
try: curl.perform() except: print 'Error retrieving', url
def run(self): while 1: url, html, handle = self.queue.get() if url == None: break b = cStringIO.StringIO() curl = pycurl.Curl() curl.setopt(pycurl.WRITEFUNCTION, b.write) curl.setopt(pycurl.FOLLOWLOCATION, 1) curl.setopt(pycurl.MAXREDIRS, 5) curl.setopt(pycurl.URL, url) curl.perform() curl.close() threads_enter() html.write(handle, b.getvalue()) html.end(handle, HTML_STREAM_OK) threads_leave()
0b588b6558655c350e5625a4b6113395b7461e97 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10805/0b588b6558655c350e5625a4b6113395b7461e97/gtkhtml_demo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1323, 404, 30, 880, 16, 1729, 16, 1640, 273, 365, 18, 4000, 18, 588, 1435, 309, 880, 422, 599, 30, 898, 324, 273, 276, 780, 4294, 18, 780, 4294, 1435, 3363, 273, 2395, 13504, 18, 17123, 1435, 3363, 18, 6676, 12, 2074, 13504, 18, 11677, 7788, 16, 324, 18, 2626, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 29890, 15277, 16, 404, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 6694, 862, 4537, 55, 16, 1381, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 1785, 16, 880, 13, 775, 30, 3363, 18, 16092, 1435, 1335, 30, 1172, 296, 668, 17146, 2187, 880, 3363, 18, 4412, 1435, 7403, 67, 2328, 1435, 1729, 18, 2626, 12, 4110, 16, 324, 18, 588, 1132, 10756, 1729, 18, 409, 12, 4110, 16, 3982, 67, 13693, 67, 3141, 13, 7403, 67, 19574, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1323, 404, 30, 880, 16, 1729, 16, 1640, 273, 365, 18, 4000, 18, 588, 1435, 309, 880, 422, 599, 30, 898, 324, 273, 276, 780, 4294, 18, 780, 4294, 1435, 3363, 273, 2395, 13504, 18, 17123, 1435, 3363, 18, 6676, 12, 2074, 13504, 18, 11677, 7788, 16, 324, 18, 2626, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 29890, 15277, 16, 404, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 6694, 862, 4537, 55, 16, 1381, 13, 3363, 18, 6676, 12, 2074, 13504, 18, 1785, 16, 880, 13, 775, 30, 3363, 18, 16092, 1435, 1335, 30, 1172, 296, 668, 17146, 2187, 880, 3363, 18, 4412, 1435, 7403, 67, 2328, 1435, 1729, 18, 2626, 12, 2 ]
elif type == "radioButton": type, widget, value, callback = self._guiElements[index] setattr(self, value, not self.getdeepattr(value)) if callback: callback() elif type in ["hSlider", "qwtHSlider", "spin"]: type, widget, value, min, max, step, callback = self._guiElements[index] currentValue = self.getdeepattr(value) if currentValue == min: setattr(self, value, currentValue+step) elif currentValue == max: setattr(self, value, currentValue-step) else: setattr(self, value, currentValue + [-step,step][random.randint(0,1)]) if callback: callback() elif type == "comboBox": type, widget, value, sendSelectedValue, valueType, callback = self._guiElements[index] if widget.count(): pos = random.randint(0, widget.count()-1) if sendSelectedValue: setattr(self, value, valueType(str(widget.text(pos)))) else: setattr(self, value, pos)
elif type == "listBox": type, widget, value, callback = self._guiElements[index] if widget.count(): itemIndex = random.randint(0, widget.count()-1) newValue = "Listbox %s. Changed selection of item %d to %s" % (value, itemIndex, not widget.isSelected(itemIndex)) widget.setSelected(itemIndex, not widget.isSelected(itemIndex)) if callback: callback() elif type == "radioButtonsInBox": type, widget, value, callback = self._guiElements[index] radioIndex = random.randint(0, len(widget.buttons)-1) if widget.buttons[radioIndex].isEnabled(): newValue = "Set radio button %s to index %d" % (value, radioIndex) setattr(self, value, radioIndex) if callback: callback() elif type == "radioButton": type, widget, value, callback = self._guiElements[index] setattr(self, value, not self.getdeepattr(value)) newValue = "Set radio button %s to %d" % (value, self.getdeepattr(value))
def randomlyChangeSettings(self): if len(self._guiElements) == 0: return index = random.randint(0, len(self._guiElements)-1) type, widget = self._guiElements[index][0], self._guiElements[index][1] if not widget.isEnabled(): return if type == "checkBox": type, widget, value, callback = self._guiElements[index] setattr(self, value, not self.getdeepattr(value)) if callback: callback() elif type == "button": type, widget, callback = self._guiElements[index] if widget.isToggleButton(): widget.setOn(not widget.isOn()) if callback: callback() elif type == "listBox": type, widget, value, callback = self._guiElements[index] if widget.count(): itemIndex = random.randint(0, widget.count()-1) widget.setSelected(itemIndex, not widget.isSelected(itemIndex)) if callback: callback() elif type == "radioButtonsInBox": type, widget, value, callback = self._guiElements[index] radioIndex = random.randint(0, len(widget.buttons)-1) if widget.buttons[radioIndex].isEnabled(): setattr(self, value, radioIndex) if callback: callback() elif type == "radioButton": type, widget, value, callback = self._guiElements[index] setattr(self, value, not self.getdeepattr(value)) if callback: callback() elif type in ["hSlider", "qwtHSlider", "spin"]: type, widget, value, min, max, step, callback = self._guiElements[index] currentValue = self.getdeepattr(value) if currentValue == min: setattr(self, value, currentValue+step) elif currentValue == max: setattr(self, value, currentValue-step) else: setattr(self, value, currentValue + [-step,step][random.randint(0,1)]) if callback: callback() elif type == "comboBox": type, widget, value, sendSelectedValue, valueType, callback = self._guiElements[index] if widget.count(): pos = random.randint(0, widget.count()-1) if sendSelectedValue: setattr(self, value, valueType(str(widget.text(pos)))) else: setattr(self, value, pos) if callback: callback()
06680e1d0b3d35030b3ed380885403a9dc197a15 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/06680e1d0b3d35030b3ed380885403a9dc197a15/OWBaseWidget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20153, 3043, 2628, 12, 2890, 4672, 309, 562, 12, 2890, 6315, 20292, 3471, 13, 422, 374, 30, 327, 225, 770, 273, 2744, 18, 7884, 474, 12, 20, 16, 562, 12, 2890, 6315, 20292, 3471, 24950, 21, 13, 618, 16, 3604, 273, 365, 6315, 20292, 3471, 63, 1615, 6362, 20, 6487, 365, 6315, 20292, 3471, 63, 1615, 6362, 21, 65, 309, 486, 3604, 18, 291, 1526, 13332, 327, 309, 618, 422, 315, 1893, 3514, 6877, 618, 16, 3604, 16, 460, 16, 1348, 273, 365, 6315, 20292, 3471, 63, 1615, 65, 9241, 12, 2890, 16, 460, 16, 486, 365, 18, 588, 16589, 1747, 12, 1132, 3719, 309, 1348, 30, 1348, 1435, 1327, 618, 422, 315, 5391, 6877, 618, 16, 3604, 16, 1348, 273, 365, 6315, 20292, 3471, 63, 1615, 65, 309, 3604, 18, 291, 17986, 3616, 13332, 3604, 18, 542, 1398, 12, 902, 3604, 18, 291, 1398, 10756, 309, 1348, 30, 1348, 1435, 1327, 618, 422, 315, 1098, 3514, 6877, 618, 16, 3604, 16, 460, 16, 1348, 273, 365, 6315, 20292, 3471, 63, 1615, 65, 309, 3604, 18, 1883, 13332, 761, 1016, 273, 2744, 18, 7884, 474, 12, 20, 16, 3604, 18, 1883, 1435, 17, 21, 13, 3604, 18, 542, 7416, 12, 1726, 1016, 16, 486, 3604, 18, 291, 7416, 12, 1726, 1016, 3719, 309, 1348, 30, 1348, 1435, 1327, 618, 422, 315, 17006, 14388, 382, 3514, 6877, 618, 16, 3604, 16, 460, 16, 1348, 273, 365, 6315, 20292, 3471, 63, 1615, 65, 13512, 1016, 273, 2744, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20153, 3043, 2628, 12, 2890, 4672, 309, 562, 12, 2890, 6315, 20292, 3471, 13, 422, 374, 30, 327, 225, 770, 273, 2744, 18, 7884, 474, 12, 20, 16, 562, 12, 2890, 6315, 20292, 3471, 24950, 21, 13, 618, 16, 3604, 273, 365, 6315, 20292, 3471, 63, 1615, 6362, 20, 6487, 365, 6315, 20292, 3471, 63, 1615, 6362, 21, 65, 309, 486, 3604, 18, 291, 1526, 13332, 327, 309, 618, 422, 315, 1893, 3514, 6877, 618, 16, 3604, 16, 460, 16, 1348, 273, 365, 6315, 20292, 3471, 63, 1615, 65, 9241, 12, 2890, 16, 460, 16, 486, 365, 18, 588, 16589, 1747, 12, 1132, 3719, 309, 1348, 30, 1348, 1435, 1327, 618, 422, 315, 5391, 6877, 618, 16, 3604, 2 ]
fileList.prepend(fileName)
fileList.prepend(fileName)
def _updateRecentFileList(self, fileName): '''Add the <fileName> into the recent file list ''' LIST_CAPACITY = 4 #This could be set by user preference, not added yet from MWsemantics import recentfiles_use_QSettings #bruce 050919 debug code #####@@@@@ if recentfiles_use_QSettings: prefsSetting = QSettings() fileList = prefsSetting.readListEntry('/Nanorex/nE-1/recentFiles')[0] else: fileName = str(fileName) prefsSetting = preferences.prefs_context() fileList = prefsSetting.get('/Nanorex/nE-1/recentFiles', []) if len(fileList) > 0: if fileName == fileList[0]: return else: for ii in range(len(fileList)): if fileList[ii] == fileName: ## Put this one at the top del fileList[ii] break if recentfiles_use_QSettings: fileList.prepend(fileName) else: fileList.insert(0, fileName) fileList = fileList[:LIST_CAPACITY] if recentfiles_use_QSettings: prefsSetting.writeEntry('/Nanorex/nE-1/recentFiles', fileList) else: prefsSetting['/Nanorex/nE-1/recentFiles'] = fileList del prefsSetting self._createRecentFilesList()
826f4ef4a94ba0f35d121a8803805349b4eb1eb3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/826f4ef4a94ba0f35d121a8803805349b4eb1eb3/ops_files.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 17076, 26098, 12, 2890, 16, 3968, 4672, 9163, 986, 326, 411, 17812, 34, 1368, 326, 8399, 585, 666, 9163, 15130, 67, 17296, 30041, 273, 1059, 468, 2503, 3377, 506, 444, 635, 729, 11555, 16, 486, 3096, 4671, 628, 16948, 18756, 1930, 8399, 2354, 67, 1202, 67, 53, 2628, 468, 2848, 3965, 374, 5995, 3657, 1198, 981, 468, 1970, 30989, 30989, 36, 225, 309, 8399, 2354, 67, 1202, 67, 53, 2628, 30, 15503, 5568, 273, 2238, 2628, 1435, 18645, 273, 15503, 5568, 18, 896, 27899, 2668, 19, 10312, 479, 92, 19, 82, 41, 17, 21, 19, 20872, 2697, 6134, 63, 20, 65, 469, 30, 3968, 273, 609, 12, 17812, 13, 15503, 5568, 273, 12750, 18, 1484, 2556, 67, 2472, 1435, 18645, 273, 15503, 5568, 18, 588, 2668, 19, 10312, 479, 92, 19, 82, 41, 17, 21, 19, 20872, 2697, 2187, 5378, 13, 225, 309, 562, 12, 768, 682, 13, 405, 374, 30, 309, 3968, 422, 18645, 63, 20, 14542, 327, 469, 30, 364, 6072, 316, 1048, 12, 1897, 12, 768, 682, 3719, 30, 309, 18645, 63, 2835, 65, 422, 3968, 30, 7541, 4399, 333, 1245, 622, 326, 1760, 1464, 18645, 63, 2835, 65, 898, 225, 309, 8399, 2354, 67, 1202, 67, 53, 2628, 30, 18645, 18, 23100, 12, 17812, 13, 469, 30, 18645, 18, 6387, 12, 20, 16, 3968, 13, 225, 18645, 273, 18645, 10531, 7085, 67, 17296, 30041, 65, 225, 309, 8399, 2354, 67, 1202, 67, 53, 2628, 30, 15503, 5568, 18, 2626, 1622, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2725, 17076, 26098, 12, 2890, 16, 3968, 4672, 9163, 986, 326, 411, 17812, 34, 1368, 326, 8399, 585, 666, 9163, 15130, 67, 17296, 30041, 273, 1059, 468, 2503, 3377, 506, 444, 635, 729, 11555, 16, 486, 3096, 4671, 628, 16948, 18756, 1930, 8399, 2354, 67, 1202, 67, 53, 2628, 468, 2848, 3965, 374, 5995, 3657, 1198, 981, 468, 1970, 30989, 30989, 36, 225, 309, 8399, 2354, 67, 1202, 67, 53, 2628, 30, 15503, 5568, 273, 2238, 2628, 1435, 18645, 273, 15503, 5568, 18, 896, 27899, 2668, 19, 10312, 479, 92, 19, 82, 41, 17, 21, 19, 20872, 2697, 6134, 63, 20, 65, 469, 30, 3968, 273, 609, 12, 17812, 13, 15503, 5568, 273, 12750, 18, 1484, 2556, 2 ]
stageSig = ipIsr.ISR_ILLUM,
stageSig = isrLib.ISR_ILLUM,
def IlluminationCorrection(exposure, illum, policy, stageSig = ipIsr.ISR_ILLUM, stageName = 'lsst.ip.isr.illuminationcorrection'): # common input test metadata = exposure.getMetadata() if chunkMetadata.exists(stageSig): pexLog.Trace(stageName, 4, '%s has already been run' % (stageSig)) return imetadata = illum.getMetadata() filenameKeyword = policy.getString('filenameKeyword') filename = imetadata(filenameKeyword) scalingKeyword = policy.getString('illumScaleKeyword') # e.g. MEAN illumscaling = dmetadata.getDouble(scalingKeyword) mi = exposure.getMaskedImage() #imi = afwImage.MaskedImageF(illum.getMaskedImage(), True) #if illumscaling != 1.: # imi /= illumscaling #mi /= imi mi.scaledDivides(1./illumscaling, illum.getMaskedImage()) # common outputs stageSummary = 'using %s with scale=%.2f' % (filename, flatscaling) pexLog.Trace(stageName, 4, '%s %s' % (stageSig, stageSummary)) metadata.setString(stageSig, '%s; %s' % (stageSummary, time.asctime()))
9178ba52aa57399136f285c8a065b1707c990801 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6526/9178ba52aa57399136f285c8a065b1707c990801/IsrStages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 467, 13376, 1735, 20884, 12, 22739, 16, 277, 13376, 16, 3329, 16, 6009, 8267, 225, 273, 353, 86, 5664, 18, 5127, 54, 67, 15125, 2799, 16, 6009, 461, 273, 296, 3251, 334, 18, 625, 18, 291, 86, 18, 737, 379, 1735, 20916, 11, 4672, 225, 468, 2975, 810, 1842, 1982, 282, 273, 14620, 18, 588, 2277, 1435, 309, 2441, 2277, 18, 1808, 12, 12869, 8267, 4672, 293, 338, 1343, 18, 3448, 12, 12869, 461, 16, 1059, 16, 1995, 87, 711, 1818, 2118, 1086, 11, 738, 261, 12869, 8267, 3719, 327, 225, 709, 1175, 540, 273, 277, 13376, 18, 588, 2277, 1435, 1544, 8736, 282, 273, 3329, 18, 588, 780, 2668, 3459, 8736, 6134, 1544, 1850, 273, 709, 1175, 12, 3459, 8736, 13, 225, 10612, 8736, 565, 273, 3329, 18, 588, 780, 2668, 737, 379, 5587, 8736, 6134, 468, 425, 18, 75, 18, 7733, 1258, 277, 13376, 24576, 1377, 273, 302, 4165, 18, 588, 5265, 12, 24576, 8736, 13, 225, 12837, 282, 273, 14620, 18, 588, 5796, 329, 2040, 1435, 468, 381, 77, 225, 273, 10073, 91, 2040, 18, 5796, 329, 2040, 42, 12, 737, 379, 18, 588, 5796, 329, 2040, 9334, 1053, 13, 468, 430, 277, 13376, 24576, 480, 404, 29710, 468, 565, 709, 77, 9531, 277, 13376, 24576, 468, 9197, 225, 9531, 709, 77, 12837, 18, 20665, 7244, 4369, 12, 21, 18, 19, 737, 379, 24576, 16, 277, 13376, 18, 588, 5796, 329, 2040, 10756, 225, 468, 2975, 6729, 6009, 4733, 273, 296, 9940, 738, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 467, 13376, 1735, 20884, 12, 22739, 16, 277, 13376, 16, 3329, 16, 6009, 8267, 225, 273, 353, 86, 5664, 18, 5127, 54, 67, 15125, 2799, 16, 6009, 461, 273, 296, 3251, 334, 18, 625, 18, 291, 86, 18, 737, 379, 1735, 20916, 11, 4672, 225, 468, 2975, 810, 1842, 1982, 282, 273, 14620, 18, 588, 2277, 1435, 309, 2441, 2277, 18, 1808, 12, 12869, 8267, 4672, 293, 338, 1343, 18, 3448, 12, 12869, 461, 16, 1059, 16, 1995, 87, 711, 1818, 2118, 1086, 11, 738, 261, 12869, 8267, 3719, 327, 225, 709, 1175, 540, 273, 277, 13376, 18, 588, 2277, 1435, 1544, 8736, 282, 273, 3329, 18, 588, 780, 2668, 3459, 8736, 6134, 1544, 1850, 273, 709, 1175, 2 ]
def poll(self, _deadstate=None):
def _internal_poll(self, _deadstate=None):
def poll(self, _deadstate=None): """Check if child process has terminated. Returns returncode attribute.""" if self.returncode is None: if WaitForSingleObject(self._handle, 0) == WAIT_OBJECT_0: self.returncode = GetExitCodeProcess(self._handle) return self.returncode
b93764dbf95774117c067d54bb934ffa05ad406d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/b93764dbf95774117c067d54bb934ffa05ad406d/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7236, 67, 13835, 12, 2890, 16, 389, 22097, 2019, 33, 7036, 4672, 3536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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7236, 67, 13835, 12, 2890, 16, 389, 22097, 2019, 33, 7036, 4672, 3536, 1564, 309, 1151, 1207, 711, 14127, 18, 225, 2860, 18125, 1566, 12123, 309, 365, 18, 2463, 710, 353, 599, 30, 309, 24129, 5281, 921, 12, 2890, 6315, 4110, 16, 374, 13, 422, 26859, 67, 9422, 67, 20, 30, 365, 18, 2463, 710, 273, 968, 29008, 2227, 12, 2890, 6315, 4110, 13, 327, 365, 18, 2463, 710, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.log.info("BACKENDS: %r" % (self.backends)) self.log.info("APPS: %r" % (self.apps)) self.log.info("SERVING FOREVER...")
self.info("BACKENDS: %r" % (self.backends)) self.info("APPS: %r" % (self.apps)) self.info("SERVING FOREVER...")
def start (self): # dump some debug info for now self.log.info("BACKENDS: %r" % (self.backends)) self.log.info("APPS: %r" % (self.apps)) self.log.info("SERVING FOREVER...")
736bb30cfa3926d5cec9bec857a8a48c0b5cdc7d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11809/736bb30cfa3926d5cec9bec857a8a48c0b5cdc7d/router.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 261, 2890, 4672, 468, 4657, 2690, 1198, 1123, 364, 2037, 365, 18, 1330, 18, 1376, 2932, 8720, 1157, 3948, 30, 738, 86, 6, 738, 261, 2890, 18, 823, 5839, 3719, 365, 18, 1330, 18, 1376, 2932, 2203, 5857, 30, 738, 86, 6, 738, 261, 2890, 18, 11411, 3719, 365, 18, 1330, 18, 1376, 2932, 31066, 1360, 478, 8607, 2204, 7070, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 261, 2890, 4672, 468, 4657, 2690, 1198, 1123, 364, 2037, 365, 18, 1330, 18, 1376, 2932, 8720, 1157, 3948, 30, 738, 86, 6, 738, 261, 2890, 18, 823, 5839, 3719, 365, 18, 1330, 18, 1376, 2932, 2203, 5857, 30, 738, 86, 6, 738, 261, 2890, 18, 11411, 3719, 365, 18, 1330, 18, 1376, 2932, 31066, 1360, 478, 8607, 2204, 7070, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return issns.get(journal_name, 'def')
return issns.get(journal_name, '')
def format(bfo): """ Returns the ISSN of the record, if known.<br/> Note that you HAVE to pre-generate the correspondances journal->ISSN if you want this element to return something (Run <code>python bfe_issn.py -h</code> to get help). """ issns = { 'acta phys. pol. a': '0587-4246', 'adv. colloid interface sci.': '0001-8686', 'appl. phys.': '0340-3793', 'asimmetrie': '1827-1383', 'atom': '0004-7015', 'biophys. chem.': '0301-4622', 'bulg. j. phys.': '1310-0157', 'curr. appl. phys.': '1567-1739', 'curr. opin. colloid. interface sci.': '1359-0294', 'electron. j. theor. phys.': '1729-5254', 'eur. j. solid state inorg. chem.': '0992-4361', 'eur. trans. electr. power': '1546-3109', 'eur. union': '1472-3395', 'high energy density phys.': '1574-1818', 'hit j. sci. eng.': '1565-5008', 'int. j. appl. electromagn. mech.': '1383-5416', 'int. j. hum.-comput. stud.': '1071-5819', 'int. j. mass spectrom.': '1387-3806', 'int. j. mass spectrom. ion process.': '0168-1176', 'int. j. prod. econ.': '0925-5273', 'int. j. radiat. appl. instrum. a': '0883-2889', 'int. j. rock mech. min. sci.': '1365-1609', 'int. j. therm. sci.': '1290-0729', 'ipn sci.': '1622-5120', 'itbm-rbm': '1297-9562', 'itbm-rbm news': '1297-9570', 'j. colloid interface sci.': '0021-9797', 'j. fluids struct.': '0889-9746', 'j. interlibr. loan doc. deliv. electron. reserve': '1072-303X', 'j. magn. reson.': '1090-7807', 'j. magn. reson. a': '1064-1858', 'j. magn. reson. b': '1064-1866', 'j. microcomput. appl.': '0745-7138', 'j. netw. comput. appl.': '1084-8045', 'j. non-newton. fluid mech.': '0377-0257', 'j. oper. manage.': '0272-6963', 'j. sound vib.': '0022-460X', 'j. vis. commun. image represent.': '1047-3203', 'jpn. j. appl. phys.': '1347-4065', 'kek news': '1343-3547', 'magn. reson. imaging': '0730-725X', 'mech. syst. signal process.': '0888-3270', 'netw. comput.': '1046-4468', 'nucl. eng. technol.': '1738-5733', 'nucl. phys. news': '1050-6896', 'nucl. tracks': '0191-278X', 'nucl. tracks radiat. meas.': '0191-278X', 'opt. fiber technol.': '1068-5200', 'opt. switch. netw.': '1573-4277', 'optik': '0030-4026', 'philips j. res.': '0165-5817', 'photonics nanostruct., fundam. appl.': '1569-4410', 'phys. life rev.': '1571-0645', 'phys. rev.': '0031-899X', 'phys. rev. (ser. i)': '0031-899X', 'plasmas ions': '1288-3255', 'polym. gels netw.': '0966-7822', 'prog. nucl. magn. reson. spectrosc.': '0079-6565', 'rbm-news': '0222-0776', 'real time imaging': '1077-2014', 'res. inf.': '1744-8026', 'rev. g\xc3\xa9n. therm.': '0035-3159', 'rom. rep. phys.': '1841-8759', 'sens. actuators b': '0925-4005', 'simul. model. pract. theory': '1569-190X', 'solid state sci.': '1293-2558', 'stat. sci.': '0883-4237', 'superlattices microstruct.': '0749-6036', 'tsinghua sci. technol.': '1007-0214', 'world pat. inf.': '0172-2190', 'z. phys.': '0044-3328'} journal_name = bfo.field('210__%') # Here you might want to process journal name # by doing the same operation that has been # done when saving the mappings journal_name = journal_name.lower().strip() if journal_name.endswith("[online]"): journal_name = journal_name[:-8].rstrip() return issns.get(journal_name, 'def')
dfcf49680940de37bce783df8f7ede7e1dec915a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/dfcf49680940de37bce783df8f7ede7e1dec915a/bfe_issn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 70, 617, 4672, 3536, 2860, 326, 467, 1260, 50, 434, 326, 1409, 16, 309, 4846, 22782, 2848, 21259, 3609, 716, 1846, 21926, 3412, 358, 675, 17, 7163, 326, 4325, 6872, 13001, 2122, 25689, 50, 309, 1846, 2545, 333, 930, 358, 327, 5943, 261, 1997, 411, 710, 34, 8103, 324, 3030, 67, 1054, 82, 18, 2074, 300, 76, 1757, 710, 34, 358, 336, 2809, 2934, 3536, 3385, 2387, 273, 288, 282, 296, 621, 69, 24758, 18, 2952, 18, 279, 4278, 296, 6260, 11035, 17, 24, 3247, 26, 2187, 296, 28107, 18, 645, 383, 350, 1560, 31363, 1093, 30, 296, 13304, 17, 5292, 5292, 2187, 296, 438, 412, 18, 24758, 1093, 30, 296, 4630, 7132, 17, 6418, 11180, 2187, 296, 345, 381, 81, 3333, 4278, 296, 2643, 5324, 17, 3437, 10261, 2187, 296, 7466, 4278, 296, 31262, 17, 27, 1611, 25, 2187, 296, 13266, 23169, 1900, 18, 19028, 1093, 30, 296, 4630, 1611, 17, 8749, 3787, 2187, 296, 18715, 75, 18, 525, 18, 24758, 1093, 30, 296, 3437, 2163, 17, 1611, 10321, 2187, 296, 17016, 18, 27808, 18, 24758, 1093, 30, 296, 3600, 9599, 17, 4033, 5520, 2187, 296, 17016, 18, 1061, 267, 18, 645, 383, 350, 18, 1560, 31363, 1093, 30, 296, 3437, 6162, 17, 3103, 11290, 2187, 296, 13759, 1949, 18, 525, 18, 326, 280, 18, 24758, 1093, 30, 296, 4033, 5540, 17, 25, 26261, 2187, 296, 73, 295, 18, 525, 18, 18035, 919, 316, 3341, 18, 19028, 1093, 30, 296, 20, 2733, 22, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 70, 617, 4672, 3536, 2860, 326, 467, 1260, 50, 434, 326, 1409, 16, 309, 4846, 22782, 2848, 21259, 3609, 716, 1846, 21926, 3412, 358, 675, 17, 7163, 326, 4325, 6872, 13001, 2122, 25689, 50, 309, 1846, 2545, 333, 930, 358, 327, 5943, 261, 1997, 411, 710, 34, 8103, 324, 3030, 67, 1054, 82, 18, 2074, 300, 76, 1757, 710, 34, 358, 336, 2809, 2934, 3536, 3385, 2387, 273, 288, 282, 296, 621, 69, 24758, 18, 2952, 18, 279, 4278, 296, 6260, 11035, 17, 24, 3247, 26, 2187, 296, 28107, 18, 645, 383, 350, 1560, 31363, 1093, 30, 296, 13304, 17, 5292, 5292, 2187, 296, 438, 412, 18, 24758, 1093, 30, 296, 4630, 7132, 17, 6418, 11180, 2 ]
try: isFlavor = obj.hasStereotype('flavor', umlprofile=self.uml_profile) except AttributeError: isFlavor = False if isFlavor == True:
if obj.hasStereoType('flavor'):
def _getFieldSpecFromAssoc(self, rel, classelement, indent_level=0, back=False): """Return the schema field code."""
d80ab06e0950cf5094eaf5a4d7448aea04f8e9fb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11941/d80ab06e0950cf5094eaf5a4d7448aea04f8e9fb/ArchetypesGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 974, 1990, 1265, 16974, 12, 2890, 16, 1279, 16, 667, 2956, 16, 3504, 67, 2815, 33, 20, 16, 1473, 33, 8381, 4672, 3536, 990, 326, 1963, 652, 981, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 588, 974, 1990, 1265, 16974, 12, 2890, 16, 1279, 16, 667, 2956, 16, 3504, 67, 2815, 33, 20, 16, 1473, 33, 8381, 4672, 3536, 990, 326, 1963, 652, 981, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
line = f.readline()
line = f.readline().strip()
def verifyEntry(self, f, time=None, subsys=None, severity=None, summary=None, detail=None, error=None): # skip to the beginning of next entry line = f.readline() while line != "------\n": if not line: self.fail("can't find entry in log file") line = f.readline() line = f.readline().strip() _time, rest = line.split(" ", 1) if time is not None: self.assertEqual(_time, time) if subsys is not None: self.assert_(rest.find(subsys) != -1, "subsystem mismatch") if severity is not None and severity >= self._severity: s = severity_string[severity] self.assert_(rest.find(s) != -1, "severity mismatch") if summary is not None: self.assert_(rest.find(summary) != -1, "summary mismatch") if detail is not None: line = f.readline() self.assert_(line.find(detail) != -1, "missing detail") if error is not None: line = f.readline() self.assert_(line.startswith('Traceback'), "missing traceback") last = "%s: %s\n" % (error[0], error[1]) if last.startswith("exceptions."): last = last[len("exceptions."):] while 1: line = f.readline() if not line: self.fail("couldn't find end of traceback") if line == "------\n": self.fail("couldn't find end of traceback") if line == last: break
9924a490be5015de4c951b6e5d15183582e55271 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9656/9924a490be5015de4c951b6e5d15183582e55271/testzLog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 1622, 12, 2890, 16, 284, 16, 813, 33, 7036, 16, 720, 9499, 33, 7036, 16, 11426, 33, 7036, 16, 4916, 33, 7036, 16, 7664, 33, 7036, 16, 555, 33, 7036, 4672, 468, 2488, 358, 326, 8435, 434, 1024, 1241, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 1323, 980, 480, 315, 13093, 64, 82, 6877, 309, 486, 980, 30, 365, 18, 6870, 2932, 4169, 1404, 1104, 1241, 316, 613, 585, 7923, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 225, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 389, 957, 16, 3127, 273, 980, 18, 4939, 2932, 3104, 404, 13, 309, 813, 353, 486, 599, 30, 365, 18, 11231, 5812, 24899, 957, 16, 813, 13, 309, 720, 9499, 353, 486, 599, 30, 365, 18, 11231, 67, 12, 8792, 18, 4720, 12, 1717, 9499, 13, 480, 300, 21, 16, 315, 1717, 4299, 13484, 7923, 309, 11426, 353, 486, 599, 471, 11426, 1545, 365, 6315, 27341, 30, 272, 273, 11426, 67, 1080, 63, 27341, 65, 365, 18, 11231, 67, 12, 8792, 18, 4720, 12, 87, 13, 480, 300, 21, 16, 315, 27341, 13484, 7923, 309, 4916, 353, 486, 599, 30, 365, 18, 11231, 67, 12, 8792, 18, 4720, 12, 7687, 13, 480, 300, 21, 16, 315, 7687, 13484, 7923, 309, 7664, 353, 486, 599, 30, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 365, 18, 11231, 67, 12, 1369, 18, 4720, 12, 8992, 13, 480, 300, 21, 16, 315, 7337, 7664, 7923, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 1622, 12, 2890, 16, 284, 16, 813, 33, 7036, 16, 720, 9499, 33, 7036, 16, 11426, 33, 7036, 16, 4916, 33, 7036, 16, 7664, 33, 7036, 16, 555, 33, 7036, 4672, 468, 2488, 358, 326, 8435, 434, 1024, 1241, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 1323, 980, 480, 315, 13093, 64, 82, 6877, 309, 486, 980, 30, 365, 18, 6870, 2932, 4169, 1404, 1104, 1241, 316, 613, 585, 7923, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 225, 980, 273, 284, 18, 896, 1369, 7675, 6406, 1435, 389, 957, 16, 3127, 273, 980, 18, 4939, 2932, 3104, 404, 13, 309, 813, 353, 486, 599, 30, 365, 18, 11231, 5812, 24899, 957, 16, 813, 2 ]
self.__getParamConfigFile() self.__getParamLongArg() self.__getParamShortArg()
self.loadConfig(self.configFile) self.processArgs()
def getParam(self, noDialog=None, nCol = 1, checkArgs=True, useTkinter=None, verbose=False): ''' Get parameters from commandline option, configuration file, a parameter input dialog (if ``tkInter`` or ``wxPython`` is available and if *noDialog* is ``False``), and from interactive user input. ''' if noDialog in [True, False]: self.noDialog = noDialog elif '--noDialog' in sys.argv: self.noDialog = True else: self.noDialog = False # if useTkinter in [True, False]: self.useTkinter = useTkinter elif '--useTkinter' in sys.argv: self.useTkinter = True else: self.useTkinter = None # first try to use wxPython if not self.useTkinter: try: # wxPython might not exist imp.find_module('wx') except: self.useWxPython = False else: self.useWxPython = True # then tkInter if self.useTkinter or not self.useWxPython: # Tkinter should almost always exists, but ... try: imp.find_module('Tkinter') except: print "Tkinter can not be loaded. Please check your Python installation." self.useTkinter = False else: self.useTkinter = True # if self.noDialog or '-h' in sys.argv[1:] or '--help' in sys.argv[1:] \ or True not in map(lambda x:x.has_key('label'), self.options): return self.__termGetParam(False, True) else: # first assign values from non-GUI sources self.processedArgs = [] if self.configFile is not None: self.__getParamConfigFile() self.__getParamLongArg() self.__getParamShortArg() # for opt in self.options: if opt.has_key('separator'): continue if opt['value'] is None and opt.has_key('default'): opt['value'] = opt['default'] # look if any argument was not processed for i in range(1, len(sys.argv)): if (not sys.argv[i] in allowed_commandline_options) and (not i in self.processedArgs): raise exceptions.ValueError("Unprocessed command line argument: " + sys.argv[i]) # call dialog title = os.path.split(sys.argv[0])[-1] if self.useTkinter: return _tkParamDialog(self.options, title, self.doc, self.details, nCol).getParam() elif self.useWxPython: return _wxParamDialog(self.options, title, self.doc, self.details, nCol).getParam() else: return self.__termGetParam(self.options, False, True) return False
84f4cb18ad1ca1b3b2af57319388a364da1f8f6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/401/84f4cb18ad1ca1b3b2af57319388a364da1f8f6a/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9027, 12, 2890, 16, 1158, 6353, 33, 7036, 16, 290, 914, 273, 404, 16, 866, 2615, 33, 5510, 16, 999, 56, 79, 2761, 33, 7036, 16, 3988, 33, 8381, 4672, 9163, 968, 1472, 628, 28305, 1456, 16, 1664, 585, 16, 279, 1569, 810, 6176, 261, 430, 12176, 16099, 2465, 10335, 578, 12176, 27226, 15774, 10335, 353, 2319, 471, 309, 380, 2135, 6353, 14, 353, 12176, 8381, 10335, 3631, 471, 628, 12625, 729, 810, 18, 9163, 309, 1158, 6353, 316, 306, 5510, 16, 1083, 14542, 365, 18, 2135, 6353, 273, 1158, 6353, 1327, 3534, 2135, 6353, 11, 316, 2589, 18, 19485, 30, 365, 18, 2135, 6353, 273, 1053, 469, 30, 365, 18, 2135, 6353, 273, 1083, 468, 309, 999, 56, 79, 2761, 316, 306, 5510, 16, 1083, 14542, 365, 18, 1202, 56, 79, 2761, 273, 999, 56, 79, 2761, 1327, 3534, 1202, 56, 79, 2761, 11, 316, 2589, 18, 19485, 30, 365, 18, 1202, 56, 79, 2761, 273, 1053, 469, 30, 365, 18, 1202, 56, 79, 2761, 273, 599, 468, 1122, 775, 358, 999, 7075, 15774, 309, 486, 365, 18, 1202, 56, 79, 2761, 30, 775, 30, 468, 7075, 15774, 4825, 486, 1005, 1646, 18, 4720, 67, 2978, 2668, 27226, 6134, 1335, 30, 365, 18, 1202, 59, 92, 15774, 273, 1083, 469, 30, 365, 18, 1202, 59, 92, 15774, 273, 1053, 468, 1508, 13030, 2465, 309, 365, 18, 1202, 56, 79, 2761, 578, 486, 365, 18, 1202, 59, 92, 15774, 30, 468, 399, 79, 2761, 1410, 23889, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9027, 12, 2890, 16, 1158, 6353, 33, 7036, 16, 290, 914, 273, 404, 16, 866, 2615, 33, 5510, 16, 999, 56, 79, 2761, 33, 7036, 16, 3988, 33, 8381, 4672, 9163, 968, 1472, 628, 28305, 1456, 16, 1664, 585, 16, 279, 1569, 810, 6176, 261, 430, 12176, 16099, 2465, 10335, 578, 12176, 27226, 15774, 10335, 353, 2319, 471, 309, 380, 2135, 6353, 14, 353, 12176, 8381, 10335, 3631, 471, 628, 12625, 729, 810, 18, 9163, 309, 1158, 6353, 316, 306, 5510, 16, 1083, 14542, 365, 18, 2135, 6353, 273, 1158, 6353, 1327, 3534, 2135, 6353, 11, 316, 2589, 18, 19485, 30, 365, 18, 2135, 6353, 273, 1053, 469, 30, 365, 18, 2135, 6353, 273, 1083, 468, 309, 999, 2 ]
if comment.attribHas("type"):
if comment.attribHas(attrib, "type"):
def handleClassDefinition(docTree, item): params = item.getChild("params") paramsLen = len(params.children); if paramsLen == 1: superClassName = "Object" ctorItem = None elif paramsLen == 2: superClassName = "Object" ctorItem = params.children[1] elif paramsLen == 3: superClassName = assembleVariable(params.children[1]) ctorItem = params.children[2] else: raise DocException("defineClass call has more than three parameters: " + str(len(params.children)), item) className = params.children[0].get("value") classNode = getClassNode(docTree, className) if superClassName != "Object": superClassNode = getClassNode(docTree, superClassName) childClasses = superClassNode.get("childClasses", False) if childClasses: childClasses += "," + className else: childClasses = className superClassNode.set("childClasses", childClasses) classNode.set("superClass", superClassName) commentAttributes = comment.parseNode(item) for attrib in commentAttributes: if attrib["category"] == "event": # Add the event if comment.attribHas("type"): addEventNode(classNode, item, attrib); else: addError(classNode, "Documentation contains malformed event attribute.", item) # Add the constructor if ctorItem and ctorItem.type == "function": ctor = handleFunction(ctorItem, commentAttributes, classNode) ctor.set("isCtor", True) classNode.addListChild("constructor", ctor) # Check for methods defined in the constructor # (for method definition style that supports real private methods) ctorBlock = ctorItem.getChild("body").getChild("block") if ctorBlock.hasChildren(): for item in ctorBlock.children: if item.type == "assignment": leftItem = item.getFirstListChild("left") rightItem = item.getFirstListChild("right") # It's a method definition if leftItem.type == "variable" and len(leftItem.children) == 2 and (leftItem.children[0].get("name") == "this" or leftItem.children[0].get("name") == "self") and rightItem.type == "function": handleMethodDefinition(item, False, classNode) elif ctorItem and ctorItem.type == "map": for keyvalueItem in ctorItem.children: valueItem = keyvalueItem.getChild("value").getFirstChild() if (valueItem.type == "function"): handleMethodDefinition(keyvalueItem, True, classNode) else: handleConstantDefinition(keyvalueItem, classNode) return classNode;
8c21679870f9bbaac5b35e37c93cad5bb8ab73ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5718/8c21679870f9bbaac5b35e37c93cad5bb8ab73ba/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 797, 1852, 12, 2434, 2471, 16, 761, 4672, 859, 273, 761, 18, 588, 1763, 2932, 2010, 7923, 225, 859, 2891, 273, 562, 12, 2010, 18, 5906, 1769, 309, 859, 2891, 422, 404, 30, 2240, 3834, 273, 315, 921, 6, 15120, 1180, 273, 599, 1327, 859, 2891, 422, 576, 30, 2240, 3834, 273, 315, 921, 6, 15120, 1180, 273, 859, 18, 5906, 63, 21, 65, 1327, 859, 2891, 422, 890, 30, 2240, 3834, 273, 19540, 3092, 12, 2010, 18, 5906, 63, 21, 5717, 15120, 1180, 273, 859, 18, 5906, 63, 22, 65, 469, 30, 1002, 3521, 503, 2932, 11255, 797, 745, 711, 1898, 2353, 8925, 1472, 30, 315, 397, 609, 12, 1897, 12, 2010, 18, 5906, 13, 3631, 761, 13, 225, 2658, 273, 859, 18, 5906, 63, 20, 8009, 588, 2932, 1132, 7923, 25822, 273, 2900, 907, 12, 2434, 2471, 16, 2658, 13, 225, 309, 2240, 3834, 480, 315, 921, 6877, 18846, 907, 273, 2900, 907, 12, 2434, 2471, 16, 2240, 3834, 13, 1151, 4818, 273, 18846, 907, 18, 588, 2932, 3624, 4818, 3113, 1083, 13, 309, 1151, 4818, 30, 1151, 4818, 1011, 5753, 397, 2658, 469, 30, 1151, 4818, 273, 2658, 18846, 907, 18, 542, 2932, 3624, 4818, 3113, 1151, 4818, 13, 225, 25822, 18, 542, 2932, 9565, 797, 3113, 2240, 3834, 13, 225, 2879, 2498, 273, 2879, 18, 2670, 907, 12, 1726, 13, 225, 364, 5885, 316, 2879, 2498, 30, 309, 5885, 9614, 4743, 11929, 422, 315, 2575, 6877, 468, 1436, 326, 871, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 797, 1852, 12, 2434, 2471, 16, 761, 4672, 859, 273, 761, 18, 588, 1763, 2932, 2010, 7923, 225, 859, 2891, 273, 562, 12, 2010, 18, 5906, 1769, 309, 859, 2891, 422, 404, 30, 2240, 3834, 273, 315, 921, 6, 15120, 1180, 273, 599, 1327, 859, 2891, 422, 576, 30, 2240, 3834, 273, 315, 921, 6, 15120, 1180, 273, 859, 18, 5906, 63, 21, 65, 1327, 859, 2891, 422, 890, 30, 2240, 3834, 273, 19540, 3092, 12, 2010, 18, 5906, 63, 21, 5717, 15120, 1180, 273, 859, 18, 5906, 63, 22, 65, 469, 30, 1002, 3521, 503, 2932, 11255, 797, 745, 711, 1898, 2353, 8925, 1472, 30, 315, 397, 609, 12, 1897, 12, 2010, 18, 5906, 13, 3631, 2 ]
""" fl_add_event_callback(win, ev, py_wincb, user_data) -> event callback ref.
""" fl_add_event_callback(win, ev, py_wincb, user_data) -> event callback
def fl_add_event_callback(win, ev, py_wincb, user_data): """ fl_add_event_callback(win, ev, py_wincb, user_data) -> event callback ref. """ c_wincb = FL_APPEVENT_CB(py_wincb) retval = _fl_add_event_callback(win, ev, c_wincb, user_data) _cfunc_refs[tmpval1] = c_wincb return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 2395, 67, 8082, 7358, 16, 729, 67, 892, 4672, 3536, 1183, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 2395, 67, 8082, 7358, 16, 729, 67, 892, 13, 317, 871, 1348, 3536, 225, 276, 67, 8082, 7358, 273, 31358, 67, 2203, 1423, 6465, 67, 8876, 12, 2074, 67, 8082, 7358, 13, 5221, 273, 389, 2242, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 276, 67, 8082, 7358, 16, 729, 67, 892, 13, 389, 71, 644, 67, 9316, 63, 5645, 1125, 21, 65, 273, 276, 67, 8082, 7358, 327, 5221, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 2395, 67, 8082, 7358, 16, 729, 67, 892, 4672, 3536, 1183, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 2395, 67, 8082, 7358, 16, 729, 67, 892, 13, 317, 871, 1348, 3536, 225, 276, 67, 8082, 7358, 273, 31358, 67, 2203, 1423, 6465, 67, 8876, 12, 2074, 67, 8082, 7358, 13, 5221, 273, 389, 2242, 67, 1289, 67, 2575, 67, 3394, 12, 8082, 16, 2113, 16, 276, 67, 8082, 7358, 16, 729, 67, 892, 13, 389, 71, 644, 67, 9316, 63, 5645, 1125, 21, 65, 273, 276, 67, 8082, 7358, 327, 5221, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
subtype = list(attr_types)
subtype = attr_types[:]
def ifa_split_no_confusion(cl, dcpa, varnum, classes_nr, nr_classes, csites, allnodes, split): '''creation sites on single path: split them off, possibly reusing contour''' attr_types = nr_classes[dcpa] noconf = set([n for n in csites if len(n.paths)==1]) others = len(csites) - len(noconf) subtype_csites = {} for node in noconf: assign_set = node.paths[0] if len(attr_types) == 1 and list(attr_types)[0] == assign_set: # XXX only one var others += 1 else: subtype = list(attr_types) subtype[varnum] = assign_set subtype = tuple(subtype) try: subtype_csites[subtype].append(node) except KeyError: subtype_csites[subtype] = [node] items = subtype_csites.items() if not others: items = items[1:] for subtype, csites in subtype_csites.iteritems(): if subtype in classes_nr: # reuse contour nr = classes_nr[subtype] split.append((cl, dcpa, csites, nr)) cl.splits[nr] = dcpa else: # create new contour classes_nr[subtype] = cl.newdcpa ifa_split_class(cl, dcpa, csites, split)
1e46cb49994e29bdac7a6514502ee2e2b0d5d451 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4470/1e46cb49994e29bdac7a6514502ee2e2b0d5d451/infer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 309, 69, 67, 4939, 67, 2135, 67, 3923, 7063, 12, 830, 16, 302, 4057, 69, 16, 569, 2107, 16, 3318, 67, 11611, 16, 9884, 67, 4701, 16, 2873, 2997, 16, 777, 4690, 16, 1416, 4672, 9163, 17169, 9180, 603, 2202, 589, 30, 1416, 2182, 3397, 16, 10016, 283, 9940, 15332, 26418, 1604, 67, 2352, 273, 9884, 67, 4701, 63, 72, 4057, 69, 65, 290, 16550, 74, 273, 444, 3816, 82, 364, 290, 316, 2873, 2997, 309, 562, 12, 82, 18, 4481, 13, 631, 21, 5717, 10654, 273, 562, 12, 2143, 2997, 13, 300, 562, 12, 82, 16550, 74, 13, 12308, 67, 2143, 2997, 273, 2618, 364, 756, 316, 290, 16550, 74, 30, 2683, 67, 542, 273, 756, 18, 4481, 63, 20, 65, 309, 562, 12, 1747, 67, 2352, 13, 422, 404, 471, 666, 12, 1747, 67, 2352, 25146, 20, 65, 422, 2683, 67, 542, 30, 468, 11329, 1338, 1245, 569, 10654, 1011, 404, 469, 30, 12308, 273, 1604, 67, 2352, 10531, 65, 12308, 63, 90, 1303, 379, 65, 273, 2683, 67, 542, 12308, 273, 3193, 12, 21974, 13, 775, 30, 12308, 67, 2143, 2997, 63, 21974, 8009, 6923, 12, 2159, 13, 1335, 4999, 30, 12308, 67, 2143, 2997, 63, 21974, 65, 273, 306, 2159, 65, 1516, 273, 12308, 67, 2143, 2997, 18, 3319, 1435, 309, 486, 10654, 30, 1516, 273, 1516, 63, 21, 26894, 364, 12308, 16, 2873, 2997, 316, 12308, 67, 2143, 2997, 18, 2165, 3319, 13332, 309, 12308, 316, 3318, 67, 11611, 30, 468, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 309, 69, 67, 4939, 67, 2135, 67, 3923, 7063, 12, 830, 16, 302, 4057, 69, 16, 569, 2107, 16, 3318, 67, 11611, 16, 9884, 67, 4701, 16, 2873, 2997, 16, 777, 4690, 16, 1416, 4672, 9163, 17169, 9180, 603, 2202, 589, 30, 1416, 2182, 3397, 16, 10016, 283, 9940, 15332, 26418, 1604, 67, 2352, 273, 9884, 67, 4701, 63, 72, 4057, 69, 65, 290, 16550, 74, 273, 444, 3816, 82, 364, 290, 316, 2873, 2997, 309, 562, 12, 82, 18, 4481, 13, 631, 21, 5717, 10654, 273, 562, 12, 2143, 2997, 13, 300, 562, 12, 82, 16550, 74, 13, 12308, 67, 2143, 2997, 273, 2618, 364, 756, 316, 290, 16550, 74, 30, 2683, 67, 542, 273, 756, 18, 2 ]
def __getReplicaManager(self):
def __getReplicaManager( self ):
def __getReplicaManager(self): if not self.rm: self.rm = ReplicaManager()
203b3f482634aa69b2569c32c04bfbf6f7a10c51 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/203b3f482634aa69b2569c32c04bfbf6f7a10c51/PutAndRegister.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 14222, 1318, 12, 365, 262, 30, 309, 486, 365, 18, 8864, 30, 365, 18, 8864, 273, 16928, 1318, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 588, 14222, 1318, 12, 365, 262, 30, 309, 486, 365, 18, 8864, 30, 365, 18, 8864, 273, 16928, 1318, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
output.stat = bps / 1e9
output.stat = (etherdev.rxBandwidth + etherdev.txBandwidth) / 1e9
def display(): if options.graph: output.graph(command, options.graphdir, proxy) else: output.display(command, options.binned, options.printmode)
29f50d934549f10b073a5492bd0d441d71534ace /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6787/29f50d934549f10b073a5492bd0d441d71534ace/stats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 13332, 309, 702, 18, 4660, 30, 876, 18, 4660, 12, 3076, 16, 702, 18, 4660, 1214, 16, 2889, 13, 469, 30, 876, 18, 5417, 12, 3076, 16, 702, 18, 4757, 11748, 16, 702, 18, 1188, 3188, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13332, 309, 702, 18, 4660, 30, 876, 18, 4660, 12, 3076, 16, 702, 18, 4660, 1214, 16, 2889, 13, 469, 30, 876, 18, 5417, 12, 3076, 16, 702, 18, 4757, 11748, 16, 702, 18, 1188, 3188, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print 'Opened %s' % format_title(d)
log.debug('Opened %s' % d.file_name)
def dict_opened(d): progress.setValue(progress.value() + 1) print 'Opened %s' % format_title(d) if d not in self.dictionaries: self.dictionaries.append(d)
67a3086e42b74c3a053a1f3d5818584b41ba19d4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14305/67a3086e42b74c3a053a1f3d5818584b41ba19d4/qtui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2065, 67, 25304, 12, 72, 4672, 4007, 18, 542, 620, 12, 8298, 18, 1132, 1435, 397, 404, 13, 613, 18, 4148, 2668, 23115, 738, 87, 11, 738, 302, 18, 768, 67, 529, 13, 309, 302, 486, 316, 365, 18, 72, 14336, 30, 365,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2065, 67, 25304, 12, 72, 4672, 4007, 18, 542, 620, 12, 8298, 18, 1132, 1435, 397, 404, 13, 613, 18, 4148, 2668, 23115, 738, 87, 11, 738, 302, 18, 768, 67, 529, 13, 309, 302, 486, 316, 365, 18, 72, 14336, 30, 365, 18, 72, 14336, 18, 6923, 12, 72, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]