rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
txt = INSTALLER_DEB_FILE[1:].replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH).replace("PV",PYTHONV.replace("python", ""))
|
txt = INSTALLER_DEB_FILE[1:].replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH).replace("PV",PV)
|
def MakeInstallerLinux(): import compileall PYTHONV=SDK["PYTHONVERSION"] if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") if (os.path.exists("/usr/bin/rpmbuild")): oscmd("rm -rf `rpm -E '%_target_cpu'`") if (os.path.exists("/usr/bin/dpkg-deb")): oscmd("rm -rf `dpkg --print-architecture`") oscmd("mkdir -p linuxroot/usr/bin") oscmd("mkdir -p linuxroot/usr/include") oscmd("mkdir -p linuxroot/usr/share/panda3d") oscmd("mkdir -p linuxroot/usr/share/panda3d/direct") oscmd("mkdir -p linuxroot/usr/lib/panda3d") oscmd("mkdir -p linuxroot/usr/lib/"+PYTHONV+"/lib-dynload") oscmd("mkdir -p linuxroot/usr/lib/"+PYTHONV+"/site-packages") oscmd("mkdir -p linuxroot/etc/ld.so.conf.d") WriteFile("linuxroot/usr/share/panda3d/direct/__init__.py", "") oscmd("sed -e 's@model-cache-@# model-cache-@' -e 's@$THIS_PRC_DIR/[.][.]@/usr/share/panda3d@' < "+GetOutputDir()+"/etc/Config.prc > linuxroot/etc/Config.prc") oscmd("cp "+GetOutputDir()+"/etc/Confauto.prc linuxroot/etc/Confauto.prc") oscmd("cp --recursive "+GetOutputDir()+"/include linuxroot/usr/include/panda3d") oscmd("cp --recursive direct/src/* linuxroot/usr/share/panda3d/direct") oscmd("cp --recursive "+GetOutputDir()+"/pandac linuxroot/usr/share/panda3d/pandac") oscmd("cp --recursive "+GetOutputDir()+"/models linuxroot/usr/share/panda3d/models") if os.path.isdir("samples"): oscmd("cp --recursive samples linuxroot/usr/share/panda3d/samples") if os.path.isdir(GetOutputDir()+"/Pmw"): oscmd("cp --recursive "+GetOutputDir()+"/Pmw linuxroot/usr/share/panda3d/Pmw") if os.path.isdir(GetOutputDir()+"/plugins"): oscmd("cp --recursive "+GetOutputDir()+"/plugins linuxroot/usr/share/panda3d/plugins") oscmd("cp doc/LICENSE linuxroot/usr/share/panda3d/LICENSE") oscmd("cp doc/LICENSE linuxroot/usr/include/panda3d/LICENSE") oscmd("cp doc/ReleaseNotes linuxroot/usr/share/panda3d/ReleaseNotes") oscmd("echo '/usr/lib/panda3d' > linuxroot/etc/ld.so.conf.d/panda3d.conf") oscmd("echo '/usr/share/panda3d' > linuxroot/usr/lib/"+PYTHONV+"/site-packages/panda3d.pth") oscmd("echo '/usr/lib/panda3d' >> linuxroot/usr/lib/"+PYTHONV+"/site-packages/panda3d.pth") oscmd("cp "+GetOutputDir()+"/bin/* linuxroot/usr/bin/") for base in os.listdir(GetOutputDir()+"/lib"): oscmd("cp "+GetOutputDir()+"/lib/"+base+" linuxroot/usr/lib/panda3d/"+base) for base in os.listdir("linuxroot/usr/share/panda3d/direct"): if ((base != "extensions") and (base != "extensions_native")): compileall.compile_dir("linuxroot/usr/share/panda3d/direct/"+base) compileall.compile_dir("linuxroot/usr/share/panda3d/Pmw") DeleteCVS("linuxroot") oscmd("chmod -R 555 linuxroot/usr/share/panda3d") if (os.path.exists("/usr/bin/rpmbuild") and not os.path.exists("/usr/bin/dpkg-deb")): oscmd("rm -rf linuxroot/DEBIAN") oscmd("rpm -E '%_target_cpu' > "+GetOutputDir()+"/tmp/architecture.txt") ARCH=ReadFile(GetOutputDir()+"/tmp/architecture.txt").strip() pandasource = os.path.abspath(os.getcwd()) txt = INSTALLER_SPEC_FILE[1:].replace("VERSION",VERSION).replace("PANDASOURCE",pandasource).replace("PYTHONV",PYTHONV) WriteFile("panda3d.spec", txt) oscmd("rpmbuild --define '_rpmdir "+pandasource+"' -bb panda3d.spec") oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-1."+ARCH+".rpm .") if (os.path.exists("/usr/bin/dpkg-deb")): oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt") ARCH=ReadFile(GetOutputDir()+"/tmp/architecture.txt").strip() txt = INSTALLER_DEB_FILE[1:].replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH).replace("PV",PYTHONV.replace("python", "")) oscmd("mkdir -p linuxroot/DEBIAN") oscmd("cd linuxroot ; (find usr -type f -exec md5sum {} \;) > DEBIAN/md5sums") oscmd("cd linuxroot ; (find etc -type f -exec md5sum {} \;) >> DEBIAN/md5sums") WriteFile("linuxroot/DEBIAN/conffiles","/etc/Config.prc\n") WriteFile("linuxroot/DEBIAN/control",txt) WriteFile("linuxroot/DEBIAN/postinst","#!/bin/sh\necho running ldconfig\nldconfig\n") oscmd("chmod 755 linuxroot/DEBIAN/postinst") oscmd("cp linuxroot/DEBIAN/postinst linuxroot/DEBIAN/postrm") oscmd("dpkg-deb -b linuxroot panda3d_"+VERSION+"_"+ARCH+".deb") oscmd("chmod -R 755 linuxroot") if not(os.path.exists("/usr/bin/rpmbuild") or os.path.exists("/usr/bin/dpkg-deb")): exit("To build an installer, either rpmbuild or dpkg-deb must be present on your system!")
|
1cee87c07dc1b8760246d75942a03c7bdbf4aeae /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/1cee87c07dc1b8760246d75942a03c7bdbf4aeae/makepanda.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4344,
18678,
19475,
13332,
1930,
4074,
454,
12191,
20131,
58,
33,
22625,
9614,
16235,
20131,
5757,
11929,
309,
261,
538,
18,
803,
18,
291,
1214,
2932,
20132,
3085,
6,
3719,
30,
31476,
1264,
2932,
343,
1711,
300,
54,
2371,
2539,
19725,
3085,
7923,
31476,
1264,
2932,
8864,
300,
5809,
19725,
3085,
501,
18,
11718,
18,
9764,
3325,
18,
11718,
18,
9764,
293,
464,
69,
23,
72,
18,
2793,
7923,
309,
261,
538,
18,
803,
18,
1808,
2932,
19,
13640,
19,
4757,
19,
13832,
1627,
680,
6,
3719,
30,
31476,
1264,
2932,
8864,
300,
5809,
1375,
86,
7755,
300,
41,
1995,
67,
3299,
67,
11447,
11,
68,
7923,
309,
261,
538,
18,
803,
18,
1808,
2932,
19,
13640,
19,
4757,
19,
72,
10657,
17,
31888,
6,
3719,
30,
31476,
1264,
2932,
8864,
300,
5809,
1375,
72,
10657,
1493,
1188,
17,
991,
18123,
68,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
4757,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
6702,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
14419,
19,
84,
464,
69,
23,
72,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
14419,
19,
84,
464,
69,
23,
72,
19,
7205,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
2941,
19,
84,
464,
69,
23,
72,
7923,
31476,
1264,
2932,
26686,
300,
84,
19725,
3085,
19,
13640,
19,
2941,
4898,
15,
16235,
20131,
58,
9078,
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,
4344,
18678,
19475,
13332,
1930,
4074,
454,
12191,
20131,
58,
33,
22625,
9614,
16235,
20131,
5757,
11929,
309,
261,
538,
18,
803,
18,
291,
1214,
2932,
20132,
3085,
6,
3719,
30,
31476,
1264,
2932,
343,
1711,
300,
54,
2371,
2539,
19725,
3085,
7923,
31476,
1264,
2932,
8864,
300,
5809,
19725,
3085,
501,
18,
11718,
18,
9764,
3325,
18,
11718,
18,
9764,
293,
464,
69,
23,
72,
18,
2793,
7923,
309,
261,
538,
18,
803,
18,
1808,
2932,
19,
13640,
19,
4757,
19,
13832,
1627,
680,
6,
3719,
30,
31476,
1264,
2932,
8864,
300,
5809,
1375,
86,
7755,
300,
41,
1995,
67,
3299,
67,
11447,
11,
68,
7923,
309,
261,
538,
18,
803,
18,
1808,
2932,
19,
13640,
19,
2
] |
backend_list = ['spam','double spam','triple spam','quadruple spam'] debug_cat_t = ('header',language['debugging'])
|
backend_list = [] debug_cat_t = ('header', language['debugging'])
|
def __init__(self,body,pos,ui,dbus=None): global daemon, wireless, wired
|
4fa245b79a41a22da17ae3febbf053c5dd751a5f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12280/4fa245b79a41a22da17ae3febbf053c5dd751a5f/prefs_curses.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3432,
16,
917,
16,
4881,
16,
1966,
407,
33,
7036,
4672,
2552,
8131,
16,
6636,
2656,
16,
341,
2921,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3432,
16,
917,
16,
4881,
16,
1966,
407,
33,
7036,
4672,
2552,
8131,
16,
6636,
2656,
16,
341,
2921,
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
] |
_translation = RoundupNullTranslations()
|
_translation = null_translation_class()
|
def get_translation(language=None, domain=DOMAIN): """Return Translation object for given language and domain""" if language: _languages = [language] else: # use OS environment _languages = None # except for english ("en") language, add english fallback if available if language == "en": _fallback = None else: try: _fallback = translation(domain=domain, languages=["en"], class_=RoundupTranslations) except IOError: # no .mo files found _fallback = None # get the translation try: _translation = translation(domain=domain, languages=_languages, class_=RoundupTranslations) except IOError: _translation = None # see what's found if _translation and _fallback: _translation.add_fallback(_fallback) elif _fallback: _translation = _fallback elif not _translation: _translation = RoundupNullTranslations() return _translation
|
f273e5051ed346960e0a84c1f1aa4ac3b3142d19 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/f273e5051ed346960e0a84c1f1aa4ac3b3142d19/i18n.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
10173,
12,
4923,
33,
7036,
16,
2461,
33,
18192,
4672,
3536,
990,
17427,
733,
364,
864,
2653,
471,
2461,
8395,
309,
2653,
30,
389,
14045,
273,
306,
4923,
65,
469,
30,
468,
999,
5932,
3330,
389,
14045,
273,
599,
468,
1335,
364,
26858,
7566,
275,
7923,
2653,
16,
527,
26858,
5922,
309,
2319,
309,
2653,
422,
315,
275,
6877,
389,
16471,
273,
599,
469,
30,
775,
30,
389,
16471,
273,
4794,
12,
4308,
33,
4308,
16,
8191,
33,
9614,
275,
6,
6487,
667,
67,
33,
11066,
416,
12297,
13,
1335,
8340,
30,
468,
1158,
263,
8683,
1390,
1392,
389,
16471,
273,
599,
468,
336,
326,
4794,
775,
30,
389,
10173,
273,
4794,
12,
4308,
33,
4308,
16,
8191,
33,
67,
14045,
16,
667,
67,
33,
11066,
416,
12297,
13,
1335,
8340,
30,
389,
10173,
273,
599,
468,
2621,
4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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
10173,
12,
4923,
33,
7036,
16,
2461,
33,
18192,
4672,
3536,
990,
17427,
733,
364,
864,
2653,
471,
2461,
8395,
309,
2653,
30,
389,
14045,
273,
306,
4923,
65,
469,
30,
468,
999,
5932,
3330,
389,
14045,
273,
599,
468,
1335,
364,
26858,
7566,
275,
7923,
2653,
16,
527,
26858,
5922,
309,
2319,
309,
2653,
422,
315,
275,
6877,
389,
16471,
273,
599,
469,
30,
775,
30,
389,
16471,
273,
4794,
12,
4308,
33,
4308,
16,
8191,
33,
9614,
275,
6,
6487,
667,
67,
33,
11066,
416,
12297,
13,
1335,
8340,
30,
468,
1158,
263,
8683,
1390,
1392,
389,
16471,
273,
599,
468,
336,
326,
4794,
775,
30,
389,
10173,
273,
4794,
12,
4308,
33,
4308,
2
] |
return SelectEditor(parent,node,**kwargs)
|
lineedit = None if node.templatenode.hasAttribute('editable'): lineedit = editorclass(parent,node,**kwargs) assert lineedit==None or isinstance(lineedit,QtGui.QLineEdit), 'Editor class must derive from QLineEdit.' return SelectEditor(parent,node,lineedit=lineedit,**kwargs)
|
def createEditor(node,parent=None,selectwithradio=False,**kwargs): """Returns an editor for the specified TypedStore node, as child of the supplied parent QWidget. """ assert isinstance(node,xmlstore.Node), 'First argument to createEditor must be of type node.' assert parent==None or isinstance(parent,QtGui.QWidget), 'If a parent is supplied to createEditor, it must derive from QWidget.' editorclass = getEditors().get(node.getValueType(),None) assert editorclass!=None, 'No editor available for node of type "%s".' % node.getValueType() if issubclass(editorclass,AbstractSelectEditor) or not node.templatenode.hasAttribute('hasoptions'): return editorclass(parent,node,**kwargs) else: if selectwithradio: return SelectEditorRadio(parent,node,**kwargs) else: return SelectEditor(parent,node,**kwargs)
|
1175067b857f59fb960128341deca2948af2ca20 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/381/1175067b857f59fb960128341deca2948af2ca20/gui_qt4.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
6946,
12,
2159,
16,
2938,
33,
7036,
16,
4025,
1918,
17006,
33,
8381,
16,
636,
4333,
4672,
3536,
1356,
392,
4858,
364,
326,
1269,
13833,
2257,
756,
16,
487,
1151,
434,
326,
4580,
982,
2238,
4609,
18,
3536,
1815,
1549,
12,
2159,
16,
2902,
2233,
18,
907,
3631,
296,
3759,
1237,
358,
752,
6946,
1297,
506,
434,
618,
756,
1093,
1815,
982,
631,
7036,
578,
1549,
12,
2938,
16,
23310,
18070,
18,
53,
4609,
3631,
296,
2047,
279,
982,
353,
4580,
358,
752,
6946,
16,
518,
1297,
14763,
628,
2238,
4609,
1093,
4858,
1106,
273,
21221,
1383,
7675,
588,
12,
2159,
18,
588,
17930,
9334,
7036,
13,
1815,
4858,
1106,
5,
33,
7036,
16,
296,
2279,
4858,
2319,
364,
756,
434,
618,
2213,
87,
12013,
738,
756,
18,
588,
17930,
1435,
309,
14664,
12,
9177,
1106,
16,
7469,
3391,
6946,
13,
578,
486,
756,
18,
27380,
270,
20680,
18,
5332,
1499,
2668,
5332,
2116,
11,
4672,
327,
4858,
1106,
12,
2938,
16,
2159,
16,
636,
4333,
13,
469,
30,
309,
2027,
1918,
17006,
30,
327,
6766,
6946,
19984,
12,
2938,
16,
2159,
16,
636,
4333,
13,
469,
30,
980,
4619,
273,
599,
309,
756,
18,
27380,
270,
20680,
18,
5332,
1499,
2668,
19653,
11,
4672,
980,
4619,
273,
4858,
1106,
12,
2938,
16,
2159,
16,
636,
4333,
13,
1815,
980,
4619,
631,
7036,
578,
1549,
12,
1369,
4619,
16,
23310,
18070,
18,
53,
1670,
4666,
3631,
296,
6946,
667,
1297,
14763,
628,
2238,
1670,
4666,
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,
752,
6946,
12,
2159,
16,
2938,
33,
7036,
16,
4025,
1918,
17006,
33,
8381,
16,
636,
4333,
4672,
3536,
1356,
392,
4858,
364,
326,
1269,
13833,
2257,
756,
16,
487,
1151,
434,
326,
4580,
982,
2238,
4609,
18,
3536,
1815,
1549,
12,
2159,
16,
2902,
2233,
18,
907,
3631,
296,
3759,
1237,
358,
752,
6946,
1297,
506,
434,
618,
756,
1093,
1815,
982,
631,
7036,
578,
1549,
12,
2938,
16,
23310,
18070,
18,
53,
4609,
3631,
296,
2047,
279,
982,
353,
4580,
358,
752,
6946,
16,
518,
1297,
14763,
628,
2238,
4609,
1093,
4858,
1106,
273,
21221,
1383,
7675,
588,
12,
2159,
18,
588,
17930,
9334,
7036,
13,
1815,
4858,
1106,
5,
33,
7036,
16,
296,
2279,
4858,
2
] |
def __del__(self): self.wait()
|
def __del__(self): self.wait()
|
5be5ea0a42c7a511b293ecabfd5f833194bd15fe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11141/5be5ea0a42c7a511b293ecabfd5f833194bd15fe/importer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
3771,
972,
12,
2890,
4672,
365,
18,
7048,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3771,
972,
12,
2890,
4672,
365,
18,
7048,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
"hp:b:rxec", ["help", "port=", "baud=", "rtscts", "xonxoff", "echo", "cr"]
|
"hp:b:rxecD", ["help", "port=", "baud=", "rtscts", "xonxoff", "echo", "cr", "debug"]
|
def usage(): sys.stderr.write("""USAGE: %s [options] Simple Terminal Programm for the serial port. options: -p, --port=PORT: port, a number, default = 0 or a device name -b, --baud=BAUD: baudrate, default 9600 -r, --rtscts: enable RTS/CTS flow control (default off) -x, --xonxoff: enable software flow control (default off) -e, --echo: enable local echo (default off) -c, --cr: disable LF -> CR+LF translation
|
2058d5aea957c9249e4292871e7759f180cd05dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10955/2058d5aea957c9249e4292871e7759f180cd05dc/miniterm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
2589,
18,
11241,
18,
2626,
2932,
3660,
29550,
30,
738,
87,
306,
2116,
65,
4477,
18778,
13586,
81,
364,
326,
2734,
1756,
18,
225,
702,
30,
300,
84,
16,
1493,
655,
33,
6354,
30,
1756,
16,
279,
1300,
16,
805,
273,
374,
578,
279,
2346,
508,
300,
70,
16,
1493,
12124,
1100,
33,
12536,
12587,
30,
9846,
1100,
5141,
16,
805,
19332,
713,
300,
86,
16,
1493,
86,
3428,
299,
87,
30,
565,
4237,
534,
8047,
19,
1268,
55,
4693,
3325,
261,
1886,
3397,
13,
300,
92,
16,
1493,
92,
265,
92,
3674,
30,
282,
4237,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
2589,
18,
11241,
18,
2626,
2932,
3660,
29550,
30,
738,
87,
306,
2116,
65,
4477,
18778,
13586,
81,
364,
326,
2734,
1756,
18,
225,
702,
30,
300,
84,
16,
1493,
655,
33,
6354,
30,
1756,
16,
279,
1300,
16,
805,
273,
374,
578,
279,
2346,
508,
300,
70,
16,
1493,
12124,
1100,
33,
12536,
12587,
30,
9846,
1100,
5141,
16,
805,
19332,
713,
300,
86,
16,
1493,
86,
3428,
299,
87,
30,
565,
4237,
534,
8047,
19,
1268,
55,
4693,
3325,
261,
1886,
3397,
13,
300,
92,
16,
1493,
92,
265,
92,
3674,
30,
282,
4237,
17888,
4693,
3325,
261,
1886,
3397,
13,
300,
73,
16,
1493,
12946,
30,
1377,
4237,
1191,
3376,
261,
1886,
3397,
2
] |
jspec.transformation = '%s/runGen-00-00-01' % Client.baseURLSUB
|
jspec.transformation = '%s/runGen-00-00-02' % Client.baseURLSUB
|
def prepare(self,app,appsubconfig,appmasterconfig,jobmasterconfig): '''prepare the subjob specific configuration'''
|
0de971d1c818d2bef860a39a93ed9cf131d99767 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/0de971d1c818d2bef860a39a93ed9cf131d99767/ExecutablePandaRTHandler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2911,
12,
2890,
16,
2910,
16,
11411,
373,
1425,
16,
2910,
7525,
1425,
16,
4688,
7525,
1425,
4672,
9163,
9366,
326,
720,
4688,
2923,
1664,
26418,
2,
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,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2911,
12,
2890,
16,
2910,
16,
11411,
373,
1425,
16,
2910,
7525,
1425,
16,
4688,
7525,
1425,
4672,
9163,
9366,
326,
720,
4688,
2923,
1664,
26418,
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
] |
if not i % 1000:
|
if not i % 10000:
|
def list_iterator(self, lst): i = 0 for x in lst: yield x i += 1 if not i % 1000: msg("%d entries reduced" % i) msg("Reduce done: %d entries reduced in total" % i)
|
9b9e294a8c73f3ff7e553aa13e4aee896beb00cd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/373/9b9e294a8c73f3ff7e553aa13e4aee896beb00cd/disco_worker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
666,
67,
9838,
12,
2890,
16,
9441,
4672,
277,
273,
374,
364,
619,
316,
9441,
30,
2824,
619,
277,
1011,
404,
309,
486,
277,
738,
12619,
30,
1234,
27188,
72,
3222,
13162,
6,
738,
277,
13,
1234,
2932,
12944,
2731,
30,
738,
72,
3222,
13162,
316,
2078,
6,
738,
277,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
9838,
12,
2890,
16,
9441,
4672,
277,
273,
374,
364,
619,
316,
9441,
30,
2824,
619,
277,
1011,
404,
309,
486,
277,
738,
12619,
30,
1234,
27188,
72,
3222,
13162,
6,
738,
277,
13,
1234,
2932,
12944,
2731,
30,
738,
72,
3222,
13162,
316,
2078,
6,
738,
277,
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
] |
ORDER BY COALESCE(priority.value,'')='',CAST(priority.value AS int),t.id""")
|
ORDER BY COALESCE(priority.value,'')='',""" + EXPECTED_VAL + """,t.id""")
|
def test_all_ordered_by_priority(self): query = Query(self.env) # priority is default order sql, args = query.get_sql() self.assertEqualSQL(sql,
|
ab72d93ad7c7e07c5207b5749d7a7a056be11463 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9317/ab72d93ad7c7e07c5207b5749d7a7a056be11463/query.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
454,
67,
9885,
67,
1637,
67,
8457,
12,
2890,
4672,
843,
273,
2770,
12,
2890,
18,
3074,
13,
468,
4394,
353,
805,
1353,
1847,
16,
833,
273,
843,
18,
588,
67,
4669,
1435,
365,
18,
11231,
5812,
3997,
12,
4669,
16,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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18,
11231,
5812,
3997,
12,
4669,
16,
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
] |
def update( self, env ):
|
def update(self, env):
|
def update( self, env ): """ Update the environment with specific flags """
|
673dc1809b97d0e00c5d3cd27ab262e3c03ce32b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6794/673dc1809b97d0e00c5d3cd27ab262e3c03ce32b/egglib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
16,
1550,
4672,
3536,
2315,
326,
3330,
598,
2923,
2943,
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,
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398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
16,
1550,
4672,
3536,
2315,
326,
3330,
598,
2923,
2943,
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
] |
val=evt.GetSelection()+1 getSynth().voice=val getSynth().rate=self.oldRate getSynth().pitch=self.oldPitch config.conf["speech"][getSynth().name]["voice"]=val
|
getSynth().voice=evt.GetSelection()+1 rate=getSynth().rate self.rateSlider.SetValue(rate) pitch=getSynth().pitch self.pitchSlider.SetValue(pitch) volume=getSynth().volume self.volumeSlider.SetValue(volume)
|
def onVoiceChange(self,evt): val=evt.GetSelection()+1 getSynth().voice=val getSynth().rate=self.oldRate getSynth().pitch=self.oldPitch config.conf["speech"][getSynth().name]["voice"]=val
|
b670d693246a684fec02acc72945aee58aa471d5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/b670d693246a684fec02acc72945aee58aa471d5/settingsDialogs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
14572,
3043,
12,
2890,
16,
73,
11734,
4672,
1244,
33,
73,
11734,
18,
967,
6233,
1435,
15,
21,
1322,
878,
451,
7675,
25993,
33,
1125,
1322,
878,
451,
7675,
5141,
33,
2890,
18,
1673,
4727,
1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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,
603,
14572,
3043,
12,
2890,
16,
73,
11734,
4672,
1244,
33,
73,
11734,
18,
967,
6233,
1435,
15,
21,
1322,
878,
451,
7675,
25993,
33,
1125,
1322,
878,
451,
7675,
5141,
33,
2890,
18,
1673,
4727,
1322,
878,
451,
7675,
25910,
33,
2890,
18,
1673,
52,
1437,
642,
18,
3923,
9614,
87,
12510,
6,
6362,
588,
10503,
451,
7675,
529,
6362,
6,
25993,
11929,
33,
1125,
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
] |
return name
|
return to_unicode(name)
|
def _pwd_ui_username(self, uid, limit=None): # loginuid is set to -1 on init. if uid is None or uid == 0xFFFFFFFF: loginid = _("<unset>") name = _("System") + " " + loginid if limit is not None and len(name) > limit: name = loginid return name
|
5ed28957b426248d58b30772110f888e6b2c3a1b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5445/5ed28957b426248d58b30772110f888e6b2c3a1b/output.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
27487,
67,
4881,
67,
5053,
12,
2890,
16,
4555,
16,
1800,
33,
7036,
4672,
468,
3925,
1911,
353,
444,
358,
300,
21,
603,
1208,
18,
309,
4555,
353,
599,
578,
4555,
422,
374,
28949,
30,
3925,
350,
273,
389,
2932,
32,
18579,
2984,
13,
508,
273,
389,
2932,
3163,
7923,
397,
315,
315,
397,
3925,
350,
309,
1800,
353,
486,
599,
471,
562,
12,
529,
13,
405,
1800,
30,
508,
273,
3925,
350,
327,
508,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
27487,
67,
4881,
67,
5053,
12,
2890,
16,
4555,
16,
1800,
33,
7036,
4672,
468,
3925,
1911,
353,
444,
358,
300,
21,
603,
1208,
18,
309,
4555,
353,
599,
578,
4555,
422,
374,
28949,
30,
3925,
350,
273,
389,
2932,
32,
18579,
2984,
13,
508,
273,
389,
2932,
3163,
7923,
397,
315,
315,
397,
3925,
350,
309,
1800,
353,
486,
599,
471,
562,
12,
529,
13,
405,
1800,
30,
508,
273,
3925,
350,
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
] |
tx.setXPos(m) tx._textOut(string.join(words),1)
|
setXPos(tx,m) tx._textOut(join(words),1) setXPos(tx,-m)
|
def _centerDrawParaLine( tx, offset, extraspace, words, last=0): m = offset + 0.5 * extraspace tx.setXPos(m) tx._textOut(string.join(words),1)
|
8f8ad2094f390b0f1bc05d368540a202a73fdeef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/8f8ad2094f390b0f1bc05d368540a202a73fdeef/paragraph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5693,
6493,
23529,
1670,
12,
2229,
16,
1384,
16,
11875,
909,
16,
4511,
16,
1142,
33,
20,
4672,
312,
273,
1384,
397,
374,
18,
25,
380,
11875,
909,
23733,
1616,
12,
978,
16,
81,
13,
2229,
6315,
955,
1182,
12,
5701,
12,
3753,
3631,
21,
13,
23733,
1616,
12,
978,
16,
17,
81,
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,
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23733,
1616,
12,
978,
16,
17,
81,
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
] |
if req.method == 'POST' and 'owner' in req.args and \
|
if req.method == 'POST' and 'field_owner' in req.args and \
|
def process_newticket_request(self, req): req.perm.require('TICKET_CREATE') data = {} db = self.env.get_db_cnx()
|
e6b13b9e91cb2080d2d4f953f790fe3cac7ecc34 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/e6b13b9e91cb2080d2d4f953f790fe3cac7ecc34/web_ui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
67,
2704,
16282,
67,
2293,
12,
2890,
16,
1111,
4672,
1111,
18,
12160,
18,
6528,
2668,
56,
16656,
1584,
67,
9344,
6134,
501,
273,
2618,
1319,
273,
365,
18,
3074,
18,
588,
67,
1966,
67,
10305,
92,
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,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
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
67,
2704,
16282,
67,
2293,
12,
2890,
16,
1111,
4672,
1111,
18,
12160,
18,
6528,
2668,
56,
16656,
1584,
67,
9344,
6134,
501,
273,
2618,
1319,
273,
365,
18,
3074,
18,
588,
67,
1966,
67,
10305,
92,
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
] |
m_tseries = initial_state.time_series(timesteps, 1)
|
m_tseries = initial_state.time_series(timesteps, timesteps - 1)
|
def knockout_concentration_matrix(knockout_network, ref_conc_matrix, timesteps) : """compute a matrix of expression values obtained from single gene
|
7b4d404d385acdff7ab344cb466eda00cb52b547 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1770/7b4d404d385acdff7ab344cb466eda00cb52b547/transdisrupt.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15516,
975,
659,
67,
11504,
8230,
367,
67,
5667,
12,
21112,
975,
659,
67,
5185,
16,
1278,
67,
11504,
67,
5667,
16,
17145,
13058,
13,
294,
3536,
9200,
279,
3148,
434,
2652,
924,
12700,
628,
2202,
7529,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15516,
975,
659,
67,
11504,
8230,
367,
67,
5667,
12,
21112,
975,
659,
67,
5185,
16,
1278,
67,
11504,
67,
5667,
16,
17145,
13058,
13,
294,
3536,
9200,
279,
3148,
434,
2652,
924,
12700,
628,
2202,
7529,
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
] |
import string
|
def runtest(self): import string for prog in 'distcc', 'distccd': out, err = self.runcmd("%s --version" % prog) assert out[-1] == '\n' out = out[:-1] line1,line2,trash = string.split(out, '\n', 2) self.assert_re_match(r'^%s [\w.-]+ [.\w-]+$' % prog, line1) self.assert_re_match(r'^[ \t]+\(protocol.*\) \(default port 3632\)$' , line2)
|
c113ba17e90da226b1e0b4c65576f800ab939f6a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4521/c113ba17e90da226b1e0b4c65576f800ab939f6a/testdistcc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
3813,
12,
2890,
4672,
364,
11243,
316,
296,
4413,
952,
2187,
296,
4413,
952,
72,
4278,
596,
16,
393,
273,
365,
18,
86,
551,
1264,
27188,
87,
1493,
1589,
6,
738,
11243,
13,
1815,
596,
18919,
21,
65,
422,
2337,
82,
11,
596,
273,
596,
10531,
17,
21,
65,
980,
21,
16,
1369,
22,
16,
28665,
273,
533,
18,
4939,
12,
659,
16,
2337,
82,
2187,
576,
13,
365,
18,
11231,
67,
266,
67,
1916,
12,
86,
19856,
9,
87,
23781,
91,
18,
23238,
306,
8403,
91,
23238,
9227,
738,
11243,
16,
980,
21,
13,
365,
18,
11231,
67,
266,
67,
1916,
12,
86,
19856,
63,
521,
88,
26446,
12,
8373,
4509,
64,
13,
30103,
1886,
1756,
6580,
1578,
64,
13,
9227,
269,
980,
22,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
3813,
12,
2890,
4672,
364,
11243,
316,
296,
4413,
952,
2187,
296,
4413,
952,
72,
4278,
596,
16,
393,
273,
365,
18,
86,
551,
1264,
27188,
87,
1493,
1589,
6,
738,
11243,
13,
1815,
596,
18919,
21,
65,
422,
2337,
82,
11,
596,
273,
596,
10531,
17,
21,
65,
980,
21,
16,
1369,
22,
16,
28665,
273,
533,
18,
4939,
12,
659,
16,
2337,
82,
2187,
576,
13,
365,
18,
11231,
67,
266,
67,
1916,
12,
86,
19856,
9,
87,
23781,
91,
18,
23238,
306,
8403,
91,
23238,
9227,
738,
11243,
16,
980,
21,
13,
365,
18,
11231,
67,
266,
67,
1916,
12,
86,
19856,
63,
521,
88,
26446,
12,
8373,
4509,
64,
13,
30103,
1886,
1756,
2
] |
|
raise AssertionError, "'...%s......' % u'abc' failed to raise an exception"
|
print "*** formatting failed ...%s......' % u'abc' failed to raise an exception"
|
test('capwords', u'abc\t def \nghi', u'Abc Def Ghi')
|
846257382602e1579b041073ae469bf990873b04 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/846257382602e1579b041073ae469bf990873b04/test_unicode.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1842,
2668,
5909,
3753,
2187,
582,
11,
18947,
64,
88,
282,
1652,
225,
521,
3368,
12266,
2187,
582,
11,
5895,
71,
10922,
611,
12266,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
2668,
5909,
3753,
2187,
582,
11,
18947,
64,
88,
282,
1652,
225,
521,
3368,
12266,
2187,
582,
11,
5895,
71,
10922,
611,
12266,
6134,
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
] |
NSApp.sendAction_to_from_("performMiniaturize:", None, sender)
|
NSApp().sendAction_to_from_("performMiniaturize:", None, sender)
|
def handleMenuItem_(self, sender): if self.action == "HideMiro": NSApp.hide_(None)
|
1d95cb1e450c4175f3e0f98bf5d5c0a84aee5cde /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/1d95cb1e450c4175f3e0f98bf5d5c0a84aee5cde/osxmenus.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
12958,
67,
12,
2890,
16,
5793,
4672,
309,
365,
18,
1128,
422,
315,
15690,
49,
11373,
6877,
11472,
3371,
18,
11248,
67,
12,
7036,
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,
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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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
logger.setLevel(logging.WARNING)
|
logger.setLevel(logging.INFO)
|
def initLogging(options): global logger if logger is None: # Make PROFILEDIR available within the logging config file logging.PROFILEDIR = options.profileDir logConfFile = options.logging if os.path.isfile(logConfFile): # Replacing the standard fileConfig with our own, below # logging.config.fileConfig(options.logging) fileConfig(options.logging) else: # Log config file doesn't exist #logging.basicConfig(level=logging.WARNING, # format='%(asctime)s %(name)s %(levelname)s: %(message)s', # filename=os.path.join(options.profileDir, 'chandler.log'), # filemode='a') logger = logging.getLogger() fileHandler = logging.handlers.RotatingFileHandler(os.path.join(options.profileDir, 'chandler.log'), 'a', 1000000, 2) fileFormatter = logging.Formatter('%(asctime)s %(name)s %(levelname)s: %(message)s') fileHandler.setFormatter(fileFormatter) logger.addHandler(fileHandler) logger.setLevel(logging.WARNING) logger = logging.getLogger(__name__) # If there is a logging FileHandler writing to a chandler.log, # then put twisted.log next to it. Otherwise send twisted output # to twisted.log in the profile directory twistedLogDir = options.profileDir try: rootLogger = logging.getLogger() for handler in rootLogger.handlers: if isinstance(handler, logging.RotatingFileHandler): if handler.baseFilename.endswith('chandler.log'): # We found the chandler.log handler. Let's put # twisted.log here next to it chandlerLogDir = os.path.dirname(handler.baseFilename) twistedLogDir = chandlerLogDir break except: pass # Just stick with profileDir import twisted.python.log import twisted.python.logfile twistedlog = twisted.python.logfile.LogFile("twisted.log", twistedLogDir) twisted.python.log.startLogging(twistedlog, 0) logger.warning("Twisted logging output to %s folder" % twistedLogDir)
|
b14ff5434aff73807913a17a1c4cbda93f000dc5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/b14ff5434aff73807913a17a1c4cbda93f000dc5/Utility.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
7735,
12,
2116,
4672,
2552,
1194,
225,
309,
1194,
353,
599,
30,
468,
4344,
4629,
3776,
4537,
2319,
3470,
326,
2907,
642,
585,
2907,
18,
22462,
4537,
273,
702,
18,
5040,
1621,
225,
613,
3976,
812,
273,
702,
18,
11167,
309,
1140,
18,
803,
18,
291,
768,
12,
1330,
3976,
812,
4672,
468,
868,
412,
5330,
326,
4529,
585,
809,
598,
3134,
4953,
16,
5712,
468,
2907,
18,
1425,
18,
768,
809,
12,
2116,
18,
11167,
13,
585,
809,
12,
2116,
18,
11167,
13,
469,
30,
468,
1827,
642,
585,
3302,
1404,
1005,
468,
11167,
18,
13240,
809,
12,
2815,
33,
11167,
18,
9511,
16,
468,
565,
740,
2218,
17105,
345,
21261,
13,
87,
8975,
529,
13,
87,
8975,
31994,
13,
87,
30,
8975,
2150,
13,
87,
2187,
468,
565,
1544,
33,
538,
18,
803,
18,
5701,
12,
2116,
18,
5040,
1621,
16,
296,
343,
464,
749,
18,
1330,
19899,
468,
565,
585,
3188,
2218,
69,
6134,
225,
1194,
273,
2907,
18,
588,
3328,
1435,
225,
585,
1503,
282,
273,
2907,
18,
11046,
18,
8570,
1776,
28942,
12,
538,
18,
803,
18,
5701,
12,
2116,
18,
5040,
1621,
16,
296,
343,
464,
749,
18,
1330,
19899,
296,
69,
2187,
15088,
16,
576,
13,
585,
5074,
273,
2907,
18,
5074,
2668,
17105,
345,
21261,
13,
87,
8975,
529,
13,
87,
8975,
31994,
13,
87,
30,
8975,
2150,
13,
87,
6134,
225,
585,
1503,
18,
542,
5074,
12,
768,
5074,
13,
225,
1194,
18,
1289,
1503,
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,
1208,
7735,
12,
2116,
4672,
2552,
1194,
225,
309,
1194,
353,
599,
30,
468,
4344,
4629,
3776,
4537,
2319,
3470,
326,
2907,
642,
585,
2907,
18,
22462,
4537,
273,
702,
18,
5040,
1621,
225,
613,
3976,
812,
273,
702,
18,
11167,
309,
1140,
18,
803,
18,
291,
768,
12,
1330,
3976,
812,
4672,
468,
868,
412,
5330,
326,
4529,
585,
809,
598,
3134,
4953,
16,
5712,
468,
2907,
18,
1425,
18,
768,
809,
12,
2116,
18,
11167,
13,
585,
809,
12,
2116,
18,
11167,
13,
469,
30,
468,
1827,
642,
585,
3302,
1404,
1005,
468,
11167,
18,
13240,
809,
12,
2815,
33,
11167,
18,
9511,
16,
468,
565,
740,
2218,
17105,
345,
21261,
13,
87,
8975,
529,
13,
2
] |
with mock_contextmanager_generator():
|
with mock:
|
def foo(): counter = 0 while True: counter += 1 with mock_contextmanager_generator(): counter += 10 return counter counter += 100 # Not reached
|
afdd86b7b62a10436d30c234429c23b9e539a372 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6753/afdd86b7b62a10436d30c234429c23b9e539a372/test_with.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8431,
13332,
3895,
273,
374,
1323,
1053,
30,
3895,
1011,
404,
598,
5416,
30,
3895,
1011,
1728,
327,
3895,
3895,
1011,
2130,
468,
2288,
8675,
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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404,
598,
5416,
30,
3895,
1011,
1728,
327,
3895,
3895,
1011,
2130,
468,
2288,
8675,
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
] |
if p_name == "hostlist" and value == "all":
|
if p_name == "hostlist" and p_value == "all":
|
def contents(self): # fencing resource if self.cts_cib: return self.cts_cib
|
b9e65cbbd732cd81ad5c5bd6a13a13b41fa530e6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11962/b9e65cbbd732cd81ad5c5bd6a13a13b41fa530e6/CIB.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2939,
12,
2890,
4672,
468,
284,
15495,
1058,
309,
365,
18,
299,
87,
67,
71,
495,
30,
327,
365,
18,
299,
87,
67,
71,
495,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2939,
12,
2890,
4672,
468,
284,
15495,
1058,
309,
365,
18,
299,
87,
67,
71,
495,
30,
327,
365,
18,
299,
87,
67,
71,
495,
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
] |
osd._deletefromcache(self.filename)
|
osd.bitmapcache.__delitem__(self.filename)
|
def eventhandler(self, event):
|
82305d6658bbf2261c5e116ee58f57fc46b8633b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/82305d6658bbf2261c5e116ee58f57fc46b8633b/viewer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
4176,
12,
2890,
16,
871,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
4176,
12,
2890,
16,
871,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
fids = self.core.get_files()
|
fids = self.sm.get_files()
|
def event_links(self, args): fids = self.core.get_files() if len(fids) == 0: return ["INFO: No links."] lines = [] for fid in fids: info = self.core.get_file_info(fid) lines.append('LINK #%d: %s [%s]' % (fid, info["filename"], info["status_type"])) return lines
|
f6597059303316c4ff1c6e04602082b1c3184c14 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/f6597059303316c4ff1c6e04602082b1c3184c14/IRCInterface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
67,
7135,
12,
2890,
16,
833,
4672,
284,
2232,
273,
365,
18,
4808,
18,
588,
67,
2354,
1435,
309,
562,
12,
74,
2232,
13,
422,
374,
30,
327,
8247,
5923,
30,
2631,
4716,
1199,
65,
225,
2362,
273,
5378,
364,
13444,
316,
284,
2232,
30,
1123,
273,
365,
18,
3644,
18,
588,
67,
768,
67,
1376,
12,
27268,
13,
2362,
18,
6923,
2668,
10554,
31974,
72,
30,
738,
87,
9799,
87,
3864,
738,
261,
27268,
16,
1123,
9614,
3459,
6,
6487,
1123,
9614,
2327,
67,
723,
11929,
3719,
225,
327,
2362,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
67,
7135,
12,
2890,
16,
833,
4672,
284,
2232,
273,
365,
18,
4808,
18,
588,
67,
2354,
1435,
309,
562,
12,
74,
2232,
13,
422,
374,
30,
327,
8247,
5923,
30,
2631,
4716,
1199,
65,
225,
2362,
273,
5378,
364,
13444,
316,
284,
2232,
30,
1123,
273,
365,
18,
3644,
18,
588,
67,
768,
67,
1376,
12,
27268,
13,
2362,
18,
6923,
2668,
10554,
31974,
72,
30,
738,
87,
9799,
87,
3864,
738,
261,
27268,
16,
1123,
9614,
3459,
6,
6487,
1123,
9614,
2327,
67,
723,
11929,
3719,
225,
327,
2362,
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
] |
inc.tu = Parser().parse(open(path).read(), path, Parser.current.includedirs)
|
inc.tu = Parser().parse(open(path).read(), path, Parser.current.includedirs, Parser.current.errout)
|
def p_ProtocolIncludeStmt(p): """ProtocolIncludeStmt : INCLUDE PROTOCOL STRING""" loc = locFromTok(p, 1) Parser.current.loc = loc inc = ProtocolInclude(loc, p[3]) path = Parser.current.resolveIncludePath(inc.file) if path is None: raise ParseError(loc, "can't locate protocol include file `%s'"% ( inc.file)) inc.tu = Parser().parse(open(path).read(), path, Parser.current.includedirs) p[0] = inc
|
3699a4fd2471c0a402eea3ca9c768c23892d76f1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/3699a4fd2471c0a402eea3ca9c768c23892d76f1/parser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
293,
67,
5752,
8752,
8952,
12,
84,
4672,
3536,
5752,
8752,
8952,
294,
28062,
24245,
9469,
8395,
1515,
273,
1515,
1265,
20477,
12,
84,
16,
404,
13,
6783,
18,
2972,
18,
1829,
273,
1515,
7290,
273,
4547,
8752,
12,
1829,
16,
293,
63,
23,
5717,
225,
589,
273,
6783,
18,
2972,
18,
10828,
8752,
743,
12,
9523,
18,
768,
13,
309,
589,
353,
599,
30,
1002,
17372,
12,
1829,
16,
315,
4169,
1404,
10627,
1771,
2341,
585,
12430,
87,
4970,
9,
261,
7290,
18,
768,
3719,
225,
7290,
18,
88,
89,
273,
6783,
7675,
2670,
12,
3190,
12,
803,
2934,
896,
9334,
589,
16,
6783,
18,
2972,
18,
20405,
10539,
16,
6783,
18,
2972,
18,
264,
7028,
13,
293,
63,
20,
65,
273,
7290,
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,
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8395,
1515,
273,
1515,
1265,
20477,
12,
84,
16,
404,
13,
6783,
18,
2972,
18,
1829,
273,
1515,
7290,
273,
4547,
8752,
12,
1829,
16,
293,
63,
23,
5717,
225,
589,
273,
6783,
18,
2972,
18,
10828,
8752,
743,
12,
9523,
18,
768,
13,
309,
589,
353,
599,
30,
1002,
17372,
12,
1829,
16,
315,
4169,
1404,
10627,
1771,
2341,
585,
12430,
87,
4970,
9,
261,
7290,
18,
768,
3719,
225,
7290,
18,
88,
89,
273,
6783,
7675,
2670,
12,
3190,
12,
803,
2934,
896,
9334,
589,
16,
6783,
18,
2972,
18,
20405,
10539,
16,
6783,
18,
2972,
18,
264,
7028,
13,
2
] |
updateSQL = "UPDATE `ntf_Notifications` SET Read=1 WHERE User=%s" % user
|
updateSQL = "UPDATE `ntf_Notifications` SET Seen=1 WHERE User=%s" % user
|
def markNotificationsAsRead( self, user, msgIds = False ): if user not in CS.getAllUsers(): return S_ERROR( "%s is an unknown user" % user ) result = self._escapeString( user ) if not result[ 'OK' ]: return result user = result[ 'Value' ] updateSQL = "UPDATE `ntf_Notifications` SET Read=1 WHERE User=%s" % user escapedIDs = [] if msgIds: for id in msgIds: result = self._escapeString( str( id ) ) if not result[ 'OK' ]: return result escapedIDs.append( result[ 'Value' ] ) updateSQL = "%s AND Id in ( %s ) " % ( delSQL, ",".join( escapedIDs ) ) return self._update( updateSQL )
|
b1f7dec49230c2137cb53ea5f79a0addfc014261 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/b1f7dec49230c2137cb53ea5f79a0addfc014261/NotificationDB.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2267,
14111,
1463,
1994,
12,
365,
16,
729,
16,
1234,
2673,
273,
1083,
262,
30,
309,
729,
486,
316,
6761,
18,
588,
1595,
6588,
13332,
327,
348,
67,
3589,
12,
2213,
87,
353,
392,
5917,
729,
6,
738,
729,
262,
563,
273,
365,
6315,
6939,
780,
12,
729,
262,
309,
486,
563,
63,
296,
3141,
11,
308,
30,
327,
563,
729,
273,
563,
63,
296,
620,
11,
308,
1089,
3997,
273,
315,
8217,
1375,
496,
74,
67,
14111,
68,
7855,
3265,
275,
33,
21,
4852,
2177,
5095,
87,
6,
738,
729,
8345,
5103,
273,
5378,
309,
1234,
2673,
30,
364,
612,
316,
1234,
2673,
30,
563,
273,
365,
6315,
6939,
780,
12,
609,
12,
612,
262,
262,
309,
486,
563,
63,
296,
3141,
11,
308,
30,
327,
563,
8345,
5103,
18,
6923,
12,
563,
63,
296,
620,
11,
308,
262,
1089,
3997,
273,
2213,
87,
4116,
3124,
316,
261,
738,
87,
262,
315,
738,
261,
1464,
3997,
16,
5753,
18,
5701,
12,
8345,
5103,
262,
262,
327,
365,
6315,
2725,
12,
1089,
3997,
262,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2267,
14111,
1463,
1994,
12,
365,
16,
729,
16,
1234,
2673,
273,
1083,
262,
30,
309,
729,
486,
316,
6761,
18,
588,
1595,
6588,
13332,
327,
348,
67,
3589,
12,
2213,
87,
353,
392,
5917,
729,
6,
738,
729,
262,
563,
273,
365,
6315,
6939,
780,
12,
729,
262,
309,
486,
563,
63,
296,
3141,
11,
308,
30,
327,
563,
729,
273,
563,
63,
296,
620,
11,
308,
1089,
3997,
273,
315,
8217,
1375,
496,
74,
67,
14111,
68,
7855,
3265,
275,
33,
21,
4852,
2177,
5095,
87,
6,
738,
729,
8345,
5103,
273,
5378,
309,
1234,
2673,
30,
364,
612,
316,
1234,
2673,
30,
563,
273,
365,
6315,
6939,
780,
12,
609,
12,
612,
262,
262,
309,
2
] |
raise xml.dom.NamespaceErr("illegal use of prefix without namespaces")
|
raise xml.dom.NamespaceErr( "illegal use of prefix without namespaces") element = doc.createElementNS(namespaceURI, qualifiedName) doc.appendChild(element)
|
def createDocument(self, namespaceURI, qualifiedName, doctype): if doctype and doctype.parentNode is not None: raise xml.dom.WrongDocumentErr("doctype object owned by another DOM tree") doc = Document() if doctype is None: doctype = self.createDocumentType(qualifiedName, None, None) if qualifiedName: prefix, localname = _nssplit(qualifiedName) if prefix == "xml" \ and namespaceURI != "http://www.w3.org/XML/1998/namespace": raise xml.dom.NamespaceErr("illegal use of 'xml' prefix") if prefix and not namespaceURI: raise xml.dom.NamespaceErr("illegal use of prefix without namespaces") doctype.parentNode = doc doc.doctype = doctype doc.implementation = self return doc
|
9e1fe1ec675386a4be12471a8b785a385d326316 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/9e1fe1ec675386a4be12471a8b785a385d326316/minidom.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
27569,
12,
2890,
16,
19421,
16,
24133,
16,
24909,
4672,
309,
24909,
471,
24909,
18,
2938,
907,
353,
486,
599,
30,
1002,
2025,
18,
9859,
18,
13634,
2519,
2524,
2932,
2896,
12387,
733,
16199,
635,
4042,
4703,
2151,
7923,
997,
273,
4319,
1435,
309,
24909,
353,
599,
30,
24909,
273,
365,
18,
2640,
2519,
559,
12,
19724,
461,
16,
599,
16,
599,
13,
309,
24133,
30,
1633,
16,
1191,
529,
273,
389,
82,
1049,
1127,
12,
19724,
461,
13,
309,
1633,
422,
315,
2902,
6,
521,
471,
19421,
480,
315,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4201,
19,
19818,
28,
19,
4937,
6877,
1002,
2025,
18,
9859,
18,
3402,
2524,
2932,
31751,
999,
434,
296,
2902,
11,
1633,
7923,
309,
1633,
471,
486,
19421,
30,
1002,
2025,
18,
9859,
18,
3402,
2524,
12,
315,
31751,
999,
434,
1633,
2887,
7728,
7923,
930,
273,
997,
18,
2640,
1046,
3156,
12,
4937,
3098,
16,
24133,
13,
997,
18,
6923,
1763,
12,
2956,
13,
225,
24909,
18,
2938,
907,
273,
997,
997,
18,
2896,
12387,
273,
24909,
997,
18,
30810,
273,
365,
327,
997,
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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4703,
2151,
7923,
997,
273,
4319,
1435,
309,
24909,
353,
599,
30,
24909,
273,
365,
18,
2640,
2519,
559,
12,
19724,
461,
16,
599,
16,
599,
13,
309,
24133,
30,
1633,
16,
1191,
529,
273,
389,
82,
1049,
1127,
12,
19724,
461,
13,
309,
1633,
422,
315,
2902,
6,
521,
471,
19421,
480,
315,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4201,
19,
19818,
28,
19,
4937,
6877,
1002,
2025,
18,
9859,
18,
3402,
2524,
2932,
31751,
999,
434,
296,
2
] |
self['entryProcessVarRefTotal'].set_property( 'xalign', 0.5 ) self['entryProcessVarRefPositive'].set_property( 'xalign', 0.5 ) self['entryProcessVarRefZero'].set_property( 'xalign', 0.5 ) self['entryProcessVarRefNegative'].set_property( 'xalign', 0.5 )
|
self['entryProcessVarRefTotal'].set_property( 'xalign', 1 ) self['entryProcessVarRefPositive'].set_property( 'xalign', 1 ) self['entryProcessVarRefZero'].set_property( 'xalign', 1 ) self['entryProcessVarRefNegative'].set_property( 'xalign', 1 )
|
def openWindow( self ): #self.openWindow() OsogoPluginWindow.openWindow(self) # add handers self.addHandlers( { 'on_checkViewAll_toggled' : self.updateViewAllProperties } )
|
04edfb35a037d21e3341c3726966e4db72dcb216 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/04edfb35a037d21e3341c3726966e4db72dcb216/PropertyWindow.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
3829,
12,
365,
262,
30,
468,
2890,
18,
3190,
3829,
1435,
31799,
717,
83,
3773,
3829,
18,
3190,
3829,
12,
2890,
13,
225,
468,
527,
948,
414,
365,
18,
1289,
6919,
12,
288,
296,
265,
67,
1893,
1767,
1595,
67,
88,
23972,
1259,
11,
294,
365,
18,
2725,
1767,
1595,
2297,
289,
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,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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,
1696,
3829,
12,
365,
262,
30,
468,
2890,
18,
3190,
3829,
1435,
31799,
717,
83,
3773,
3829,
18,
3190,
3829,
12,
2890,
13,
225,
468,
527,
948,
414,
365,
18,
1289,
6919,
12,
288,
296,
265,
67,
1893,
1767,
1595,
67,
88,
23972,
1259,
11,
294,
365,
18,
2725,
1767,
1595,
2297,
289,
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
] |
queue.send(self, value, exc)
|
Queue.send(self, value, exc)
|
def send(self, value=None, exc=None): if exc is not None or not self.has_error(): queue.send(self, value, exc)
|
51f9cee438f7498269c63a69121e9cf8b16b7d62 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10078/51f9cee438f7498269c63a69121e9cf8b16b7d62/protocol.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1366,
12,
2890,
16,
460,
33,
7036,
16,
3533,
33,
7036,
4672,
309,
3533,
353,
486,
599,
578,
486,
365,
18,
5332,
67,
1636,
13332,
2389,
18,
4661,
12,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1366,
12,
2890,
16,
460,
33,
7036,
16,
3533,
33,
7036,
4672,
309,
3533,
353,
486,
599,
578,
486,
365,
18,
5332,
67,
1636,
13332,
2389,
18,
4661,
12,
2890,
16,
460,
16,
3533,
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
] |
if ((not self._show_private) and var.uid().is_private()): continue
|
def _extract_term_index(self): """ @return: Two dictionaries: - the first maps keys to terms - the second maks keys to lists of links @rtype: C{dictionary} """ terms = {} links = {} for (uid, doc) in self._docmap.items(): if (not self._show_private) and uid.is_private(): continue if uid.is_function(): link = Link(uid.name(), uid.module()) elif uid.is_method(): link = Link(uid.name(), uid.cls()) else: link = Link(uid.name(), uid)
|
dad6dd09c82d3878a78d977cc13da79d4420db2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/dad6dd09c82d3878a78d977cc13da79d4420db2b/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
8004,
67,
6408,
67,
1615,
12,
2890,
4672,
3536,
632,
2463,
30,
16896,
16176,
30,
300,
326,
1122,
7565,
1311,
358,
6548,
300,
326,
2205,
29796,
87,
1311,
358,
6035,
434,
4716,
632,
86,
723,
30,
385,
95,
15556,
97,
3536,
6548,
273,
2618,
4716,
273,
2618,
364,
261,
1911,
16,
997,
13,
316,
365,
6315,
2434,
1458,
18,
3319,
13332,
309,
261,
902,
365,
6315,
4500,
67,
1152,
13,
471,
4555,
18,
291,
67,
1152,
13332,
1324,
225,
309,
4555,
18,
291,
67,
915,
13332,
1692,
273,
4048,
12,
1911,
18,
529,
9334,
4555,
18,
2978,
10756,
1327,
4555,
18,
291,
67,
2039,
13332,
1692,
273,
4048,
12,
1911,
18,
529,
9334,
4555,
18,
6429,
10756,
469,
30,
1692,
273,
4048,
12,
1911,
18,
529,
9334,
4555,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
8004,
67,
6408,
67,
1615,
12,
2890,
4672,
3536,
632,
2463,
30,
16896,
16176,
30,
300,
326,
1122,
7565,
1311,
358,
6548,
300,
326,
2205,
29796,
87,
1311,
358,
6035,
434,
4716,
632,
86,
723,
30,
385,
95,
15556,
97,
3536,
6548,
273,
2618,
4716,
273,
2618,
364,
261,
1911,
16,
997,
13,
316,
365,
6315,
2434,
1458,
18,
3319,
13332,
309,
261,
902,
365,
6315,
4500,
67,
1152,
13,
471,
4555,
18,
291,
67,
1152,
13332,
1324,
225,
309,
4555,
18,
291,
67,
915,
13332,
1692,
273,
4048,
12,
1911,
18,
529,
9334,
4555,
18,
2978,
10756,
1327,
4555,
18,
291,
67,
2039,
13332,
1692,
273,
4048,
12,
1911,
18,
529,
9334,
4555,
18,
6429,
10756,
2
] |
|
c = self.rawq[self.irawq]
|
c = self.rawq[self.irawq:self.irawq+1]
|
def rawq_getchar(self): """Get next char from raw queue.
|
3de7fb86fc9e053955dae144b4fe6e080f5a4d81 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/3de7fb86fc9e053955dae144b4fe6e080f5a4d81/telnetlib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1831,
85,
67,
588,
3001,
12,
2890,
4672,
3536,
967,
1024,
1149,
628,
1831,
2389,
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,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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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"""
|
"""
|
def fl_create_generic_button(objclass, type, x, y, w, h, label): """ fl_create_generic_button(objclass, type, x, y, w, h, label) -> object """ retval = _fl_create_generic_button(objclass, type, x, y, w, h, label) return retval
|
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
4672,
3536,
1183,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
4672,
3536,
1183,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
13540,
67,
5391,
12,
2603,
1106,
16,
618,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
327,
5221,
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
] |
param = range(nb_arc) self.kv= [ param[ 0 ] ]*degree step = (param[-1]-param[0]) / float(((nb_arc-2)*degree+1)) for i in range((nb_arc-2)*degree+2): self.kv.append( param[0]+i*step ) self.kv.extend( [param[ -1 ]]*degree )
|
param = map(float,range(nb_arc+1)) self.kv= [ param[ 0 ] ]*(degree+1) step = (param[-1]-param[0]) / float(nb_arc) for i in range(1,nb_arc): self.kv.extend([param[0]+i*step]*degree) self.kv.extend( [param[ -1 ]]*(degree+1) )
|
def bezier_kv(self, is_linear=False): """ Compute a nurbs knot vector from Bezier control points. bezier_kv(linear=False) -> knot_vector
|
730af3f1e883a661b5d7f77d1c5afa2da8bb2268 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/799/730af3f1e883a661b5d7f77d1c5afa2da8bb2268/cspline.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29368,
67,
18152,
12,
2890,
16,
353,
67,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29368,
67,
18152,
12,
2890,
16,
353,
67,
12379,
33,
8381,
4672,
3536,
8155,
279,
290,
295,
2038,
22278,
3806,
628,
4823,
18377,
3325,
3143,
18,
29368,
67,
18152,
12,
12379,
33,
8381,
13,
317,
22278,
67,
7737,
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
] |
def add_install(self, widget, data=None):
|
def add_install(self, widget=None, data=None):
|
def add_install(self, widget, data=None): repos_tree = self.gld.get_widget("treeview") page = self._get_selected_page(repos_tree)
|
8d887e6509e2d71a2f13e91bd822bc9a5fc668ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2654/8d887e6509e2d71a2f13e91bd822bc9a5fc668ca/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
5425,
12,
2890,
16,
3604,
33,
7036,
16,
501,
33,
7036,
4672,
13686,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
3413,
1945,
7923,
1363,
273,
365,
6315,
588,
67,
8109,
67,
2433,
12,
15564,
67,
3413,
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,
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,
527,
67,
5425,
12,
2890,
16,
3604,
33,
7036,
16,
501,
33,
7036,
4672,
13686,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
3413,
1945,
7923,
1363,
273,
365,
6315,
588,
67,
8109,
67,
2433,
12,
15564,
67,
3413,
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
] |
if abs(tz_offset) > 12:
|
if abs(tz_offset) >= 11:
|
def tz_validate(self, tz_string): """validate the time zone offset string
|
f9afbead5f39e69361c4cf9fa30b466e3d3397ef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10749/f9afbead5f39e69361c4cf9fa30b466e3d3397ef/bottime.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6016,
67,
5662,
12,
2890,
16,
6016,
67,
1080,
4672,
3536,
5662,
326,
813,
4157,
1384,
533,
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,
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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,
-100,
-100,
-100,
-100,
-100
] |
func(*args, **kwargs)
|
return func(*args, **kwargs)
|
def retry(func, *args, **kwargs): retry = 5 while True: try: func(*args, **kwargs) except (appscript.CommandError, AttributeError), error: print error print "Safari not ready, retrying in 3 seconds..." time.sleep(3) retry -= 1 if not retry: self.close() raise RuntimeError("Could not run appscript in Safari")
|
2f94f8e352b1d317bcaef6739bd2e956c4b250fb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10655/2f94f8e352b1d317bcaef6739bd2e956c4b250fb/safari.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3300,
12,
644,
16,
380,
1968,
16,
2826,
4333,
4672,
3300,
273,
1381,
1323,
1053,
30,
775,
30,
327,
1326,
30857,
1968,
16,
2826,
4333,
13,
1335,
261,
2910,
4263,
18,
2189,
668,
16,
6394,
3631,
555,
30,
1172,
555,
1172,
315,
55,
19328,
486,
5695,
16,
21081,
316,
890,
3974,
7070,
813,
18,
19607,
12,
23,
13,
3300,
3947,
404,
309,
486,
3300,
30,
365,
18,
4412,
1435,
1002,
7265,
2932,
4445,
486,
1086,
595,
4263,
316,
26690,
7923,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3300,
12,
644,
16,
380,
1968,
16,
2826,
4333,
4672,
3300,
273,
1381,
1323,
1053,
30,
775,
30,
327,
1326,
30857,
1968,
16,
2826,
4333,
13,
1335,
261,
2910,
4263,
18,
2189,
668,
16,
6394,
3631,
555,
30,
1172,
555,
1172,
315,
55,
19328,
486,
5695,
16,
21081,
316,
890,
3974,
7070,
813,
18,
19607,
12,
23,
13,
3300,
3947,
404,
309,
486,
3300,
30,
365,
18,
4412,
1435,
1002,
7265,
2932,
4445,
486,
1086,
595,
4263,
316,
26690,
7923,
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
] |
try:
|
message_date = self["Date"] if message_date is not None:
|
def extractTime(self): # When we create a new copy of a message, we need to specify # a timestamp for the message. If the message has a date header # we use that. Otherwise, we use the current time. try: return imaplib.Time2Internaldate(\ time.mktime(parsedate(self["Date"]))) except KeyError: return imaplib.Time2Internaldate(time.time())
|
03b549987a287a60e30e06a4030e3bdb2145257a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/03b549987a287a60e30e06a4030e3bdb2145257a/imapfilter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
950,
12,
2890,
4672,
468,
5203,
732,
752,
279,
394,
1610,
434,
279,
883,
16,
732,
1608,
358,
4800,
468,
279,
2858,
364,
326,
883,
18,
225,
971,
326,
883,
711,
279,
1509,
1446,
468,
732,
999,
716,
18,
225,
5272,
16,
732,
999,
326,
783,
813,
18,
883,
67,
712,
273,
365,
9614,
1626,
11929,
309,
883,
67,
712,
353,
486,
599,
30,
327,
709,
69,
6673,
18,
950,
22,
3061,
712,
4713,
813,
18,
24816,
957,
12,
2670,
712,
12,
2890,
9614,
1626,
11929,
20349,
1335,
4999,
30,
327,
709,
69,
6673,
18,
950,
22,
3061,
712,
12,
957,
18,
957,
10756,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
950,
12,
2890,
4672,
468,
5203,
732,
752,
279,
394,
1610,
434,
279,
883,
16,
732,
1608,
358,
4800,
468,
279,
2858,
364,
326,
883,
18,
225,
971,
326,
883,
711,
279,
1509,
1446,
468,
732,
999,
716,
18,
225,
5272,
16,
732,
999,
326,
783,
813,
18,
883,
67,
712,
273,
365,
9614,
1626,
11929,
309,
883,
67,
712,
353,
486,
599,
30,
327,
709,
69,
6673,
18,
950,
22,
3061,
712,
4713,
813,
18,
24816,
957,
12,
2670,
712,
12,
2890,
9614,
1626,
11929,
20349,
1335,
4999,
30,
327,
709,
69,
6673,
18,
950,
22,
3061,
712,
12,
957,
18,
957,
10756,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
r.d = lambda x: aux_d(x, asfarray(other)) if not self.is_oovar:
|
r.d = lambda x: aux_d(x, other) if not self.is_oovar and other.size == 1:
|
def f(x, y): if x.size != 1 and y.size != 1 and x.size != y.size: raise FuncDesignerException('for oofun multiplications a*b should be size(a)=size(b) or size(a)=1 or size(b)=1') return x*y
|
bc3cbc09e2fa2633a863a5ddbd306d3917ead965 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6196/bc3cbc09e2fa2633a863a5ddbd306d3917ead965/ooFun.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
284,
12,
92,
16,
677,
4672,
309,
619,
18,
1467,
480,
404,
471,
677,
18,
1467,
480,
404,
471,
619,
18,
1467,
480,
677,
18,
1467,
30,
1002,
6165,
15478,
264,
503,
2668,
1884,
320,
792,
318,
23066,
87,
279,
14,
70,
1410,
506,
963,
12,
69,
13,
33,
1467,
12,
70,
13,
578,
963,
12,
69,
13,
33,
21,
578,
963,
12,
70,
13,
33,
21,
6134,
327,
619,
14,
93,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
284,
12,
92,
16,
677,
4672,
309,
619,
18,
1467,
480,
404,
471,
677,
18,
1467,
480,
404,
471,
619,
18,
1467,
480,
677,
18,
1467,
30,
1002,
6165,
15478,
264,
503,
2668,
1884,
320,
792,
318,
23066,
87,
279,
14,
70,
1410,
506,
963,
12,
69,
13,
33,
1467,
12,
70,
13,
578,
963,
12,
69,
13,
33,
21,
578,
963,
12,
70,
13,
33,
21,
6134,
327,
619,
14,
93,
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
] |
if self.isFinished and not wasFinished:
|
if self.isFinished() and not wasFinished:
|
def updateStatus(cls, data): self = _getDownloader (dlid=data['dlid']) # print data if self is not None: if self.status == data: return wasFinished = self.isFinished() self.status = data # Store the time the download finished if self.isFinished and not wasFinished: for item in self.itemList: item.onDownloadFinished() self.signalChange()
|
b0e2a82918e95c5ebd6403c71ebbedf38bee1453 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/b0e2a82918e95c5ebd6403c71ebbedf38bee1453/downloader.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
1482,
12,
6429,
16,
501,
4672,
365,
273,
389,
588,
4164,
6714,
261,
5761,
350,
33,
892,
3292,
5761,
350,
19486,
468,
1172,
501,
309,
365,
353,
486,
599,
30,
309,
365,
18,
2327,
422,
501,
30,
327,
1703,
10577,
273,
365,
18,
291,
10577,
1435,
365,
18,
2327,
273,
501,
468,
4994,
326,
813,
326,
4224,
6708,
309,
365,
18,
291,
10577,
1435,
471,
486,
1703,
10577,
30,
364,
761,
316,
365,
18,
1726,
682,
30,
761,
18,
265,
7109,
10577,
1435,
365,
18,
10420,
3043,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
1482,
12,
6429,
16,
501,
4672,
365,
273,
389,
588,
4164,
6714,
261,
5761,
350,
33,
892,
3292,
5761,
350,
19486,
468,
1172,
501,
309,
365,
353,
486,
599,
30,
309,
365,
18,
2327,
422,
501,
30,
327,
1703,
10577,
273,
365,
18,
291,
10577,
1435,
365,
18,
2327,
273,
501,
468,
4994,
326,
813,
326,
4224,
6708,
309,
365,
18,
291,
10577,
1435,
471,
486,
1703,
10577,
30,
364,
761,
316,
365,
18,
1726,
682,
30,
761,
18,
265,
7109,
10577,
1435,
365,
18,
10420,
3043,
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
] |
print str(time.localtime(self.begin).tm_wday) while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.end < now)): print time.strftime("%c", time.localtime(self.begin)) print time.strftime("%c", time.localtime(self.end)) self.begin += 86400 self.end += 86400
|
def processRepeated(self): print "ProcessRepeated" print time.strftime("%c", time.localtime(self.begin)) print time.strftime("%c", time.localtime(self.end)) if (self.repeated != 0): now = int(time.time()) + 1 day = [] flags = self.repeated for x in range(0, 7): if (flags & 1 == 1): day.append(0) print "Day: " + str(x) else: day.append(1) flags = flags >> 1
|
18fe904a07ad9fd15d53f80361e35b481507f2be /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/18fe904a07ad9fd15d53f80361e35b481507f2be/timer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
20730,
12,
2890,
4672,
1172,
315,
2227,
20730,
6,
1172,
813,
18,
701,
9982,
27188,
71,
3113,
813,
18,
3729,
957,
12,
2890,
18,
10086,
3719,
1172,
813,
18,
701,
9982,
27188,
71,
3113,
813,
18,
3729,
957,
12,
2890,
18,
409,
3719,
309,
261,
2890,
18,
266,
9061,
480,
374,
4672,
2037,
273,
509,
12,
957,
18,
957,
10756,
397,
404,
225,
2548,
273,
5378,
2943,
273,
365,
18,
266,
9061,
364,
619,
316,
1048,
12,
20,
16,
2371,
4672,
309,
261,
7133,
473,
404,
422,
404,
4672,
2548,
18,
6923,
12,
20,
13,
1172,
315,
4245,
30,
315,
397,
609,
12,
92,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
20730,
12,
2890,
4672,
1172,
315,
2227,
20730,
6,
1172,
813,
18,
701,
9982,
27188,
71,
3113,
813,
18,
3729,
957,
12,
2890,
18,
10086,
3719,
1172,
813,
18,
701,
9982,
27188,
71,
3113,
813,
18,
3729,
957,
12,
2890,
18,
409,
3719,
309,
261,
2890,
18,
266,
9061,
480,
374,
4672,
2037,
273,
509,
12,
957,
18,
957,
10756,
397,
404,
225,
2548,
273,
5378,
2943,
273,
365,
18,
266,
9061,
364,
619,
316,
1048,
12,
20,
16,
2371,
4672,
309,
261,
7133,
473,
404,
422,
404,
4672,
2548,
18,
6923,
12,
20,
13,
1172,
315,
4245,
30,
315,
397,
609,
12,
92,
13,
469,
30,
2548,
18,
6923,
12,
21,
13,
2943,
273,
2943,
1671,
2
] |
|
if allow_rule_identities is not None and str(watcher) in allow_rule_identities: allow_rule_identities.remove(str(watcher)) if len(allow_rule_identities) == 0: prules.remove(allow_rule) if block_rule_identities is not None and str(watcher) in block_rule_identities: block_rule_identities.remove(str(watcher)) if len(block_rule_identities) == 0: prules.remove(block_rule) if polite_block_rule_identities is not None and str(watcher) in polite_block_rule_identities: polite_block_rule_identities.remove(str(watcher)) if len(polite_block_rule_identities) == 0: prules.remove(polite_block_rule)
|
if allowed: if allow_rule_identities is not None and str(watcher) in allow_rule_identities: allow_rule_identities.remove(str(watcher)) if len(allow_rule_identities) == 0: prules.remove(allow_rule) if blocked: if block_rule_identities is not None and str(watcher) in block_rule_identities: block_rule_identities.remove(str(watcher)) if len(block_rule_identities) == 0: prules.remove(block_rule) if pblocked: if polite_block_rule_identities is not None and str(watcher) in polite_block_rule_identities: polite_block_rule_identities.remove(str(watcher)) if len(polite_block_rule_identities) == 0: prules.remove(polite_block_rule)
|
def remove_watcher(watcher): global prules, prules_etag, allow_rule_identities, block_rule_identities, polite_block_rule_identities for i in xrange(3): if prules is None: get_prules() if prules is not None: if allow_rule_identities is not None and str(watcher) in allow_rule_identities: allow_rule_identities.remove(str(watcher)) if len(allow_rule_identities) == 0: prules.remove(allow_rule) if block_rule_identities is not None and str(watcher) in block_rule_identities: block_rule_identities.remove(str(watcher)) if len(block_rule_identities) == 0: prules.remove(block_rule) if polite_block_rule_identities is not None and str(watcher) in polite_block_rule_identities: polite_block_rule_identities.remove(str(watcher)) if len(polite_block_rule_identities) == 0: prules.remove(polite_block_rule) try: res = xcap_client.put('pres-rules', prules.toxml(pretty_print=True), etag=prules_etag, headers={'Content-Type': 'application/auth-policy+xml'}) except HTTPError, e: print "Cannot PUT 'pres-rules' document: %s" % str(e) prules = None else: prules_etag = res.etag if show_xml: print "Presence rules document:" print prules.toxml(pretty_print=True) print "Watcher %s has been removed from the rules" % watcher break sleep(0.1) else: print "Could not politely block authorization of watcher %s" % watcher
|
8a57cd4193e769754b0f25bf2428f9f5a372aed3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/8a57cd4193e769754b0f25bf2428f9f5a372aed3/xcap_pres_rules.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1206,
67,
23894,
12,
23894,
4672,
2552,
846,
1513,
16,
846,
1513,
67,
20788,
16,
1699,
67,
5345,
67,
6392,
1961,
16,
1203,
67,
5345,
67,
6392,
1961,
16,
2952,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
364,
277,
316,
12314,
12,
23,
4672,
309,
846,
1513,
353,
599,
30,
336,
67,
683,
1513,
1435,
309,
846,
1513,
353,
486,
599,
30,
309,
2935,
30,
309,
1699,
67,
5345,
67,
6392,
1961,
353,
486,
599,
471,
609,
12,
23894,
13,
316,
1699,
67,
5345,
67,
6392,
1961,
30,
1699,
67,
5345,
67,
6392,
1961,
18,
4479,
12,
701,
12,
23894,
3719,
309,
562,
12,
5965,
67,
5345,
67,
6392,
1961,
13,
422,
374,
30,
846,
1513,
18,
4479,
12,
5965,
67,
5345,
13,
309,
14547,
30,
309,
1203,
67,
5345,
67,
6392,
1961,
353,
486,
599,
471,
609,
12,
23894,
13,
316,
1203,
67,
5345,
67,
6392,
1961,
30,
1203,
67,
5345,
67,
6392,
1961,
18,
4479,
12,
701,
12,
23894,
3719,
309,
562,
12,
2629,
67,
5345,
67,
6392,
1961,
13,
422,
374,
30,
846,
1513,
18,
4479,
12,
2629,
67,
5345,
13,
309,
293,
23156,
30,
309,
2952,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
353,
486,
599,
471,
609,
12,
23894,
13,
316,
2952,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
30,
2952,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
18,
4479,
12,
701,
12,
23894,
3719,
309,
562,
12,
3915,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
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,
1206,
67,
23894,
12,
23894,
4672,
2552,
846,
1513,
16,
846,
1513,
67,
20788,
16,
1699,
67,
5345,
67,
6392,
1961,
16,
1203,
67,
5345,
67,
6392,
1961,
16,
2952,
1137,
67,
2629,
67,
5345,
67,
6392,
1961,
364,
277,
316,
12314,
12,
23,
4672,
309,
846,
1513,
353,
599,
30,
336,
67,
683,
1513,
1435,
309,
846,
1513,
353,
486,
599,
30,
309,
2935,
30,
309,
1699,
67,
5345,
67,
6392,
1961,
353,
486,
599,
471,
609,
12,
23894,
13,
316,
1699,
67,
5345,
67,
6392,
1961,
30,
1699,
67,
5345,
67,
6392,
1961,
18,
4479,
12,
701,
12,
23894,
3719,
309,
562,
12,
5965,
67,
5345,
67,
6392,
1961,
13,
422,
374,
30,
846,
1513,
18,
2
] |
print 'could not find address range %s in known set' % (ip,)
|
print 'adding address range %s' % (ip,)
|
def add_missing_address(addr_set): for ip in addr_set: lo=str(ip.min) hi=str(ip.max) if cert.address_range.filter(lo=lo, hi=hi).count() == 0: # ensure that this range wasn't previously seen from another of our parents for v in models.AddressRange.objects.filter(lo=lo, hi=hi): # determine if this resource is delegated from another parent as well if v.from_cert.filter(parent__in=conf.parents.all()).count(): cert.address_range.add(v) break else: if verbose: print 'could not find address range %s in known set' % (ip,) cert.address_range.create(lo=lo, hi=hi) cert.save()
|
966e1a015aea7e4c038aebb18c31f0e21a0b160b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/119/966e1a015aea7e4c038aebb18c31f0e21a0b160b/list_resources.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
7337,
67,
2867,
12,
4793,
67,
542,
4672,
364,
2359,
316,
3091,
67,
542,
30,
437,
33,
701,
12,
625,
18,
1154,
13,
10118,
33,
701,
12,
625,
18,
1896,
13,
309,
3320,
18,
2867,
67,
3676,
18,
2188,
12,
383,
33,
383,
16,
10118,
33,
12266,
2934,
1883,
1435,
422,
374,
30,
468,
3387,
716,
333,
1048,
14487,
1404,
7243,
5881,
628,
4042,
434,
3134,
6298,
364,
331,
316,
3679,
18,
1887,
2655,
18,
6911,
18,
2188,
12,
383,
33,
383,
16,
10118,
33,
12266,
4672,
468,
4199,
309,
333,
1058,
353,
30055,
628,
4042,
982,
487,
5492,
309,
331,
18,
2080,
67,
7593,
18,
2188,
12,
2938,
972,
267,
33,
3923,
18,
12606,
18,
454,
1435,
2934,
1883,
13332,
3320,
18,
2867,
67,
3676,
18,
1289,
12,
90,
13,
898,
469,
30,
309,
3988,
30,
1172,
296,
3439,
1758,
1048,
738,
87,
11,
738,
261,
625,
16,
13,
3320,
18,
2867,
67,
3676,
18,
2640,
12,
383,
33,
383,
16,
10118,
33,
12266,
13,
3320,
18,
5688,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
7337,
67,
2867,
12,
4793,
67,
542,
4672,
364,
2359,
316,
3091,
67,
542,
30,
437,
33,
701,
12,
625,
18,
1154,
13,
10118,
33,
701,
12,
625,
18,
1896,
13,
309,
3320,
18,
2867,
67,
3676,
18,
2188,
12,
383,
33,
383,
16,
10118,
33,
12266,
2934,
1883,
1435,
422,
374,
30,
468,
3387,
716,
333,
1048,
14487,
1404,
7243,
5881,
628,
4042,
434,
3134,
6298,
364,
331,
316,
3679,
18,
1887,
2655,
18,
6911,
18,
2188,
12,
383,
33,
383,
16,
10118,
33,
12266,
4672,
468,
4199,
309,
333,
1058,
353,
30055,
628,
4042,
982,
487,
5492,
309,
331,
18,
2080,
67,
7593,
18,
2188,
12,
2938,
972,
267,
33,
3923,
18,
12606,
18,
2
] |
logger.notifyChannel("db", netsvc.LOG_ERROR, "unable to find object %r" % (model,))
|
logger.notifyChannel("db", netsvc.LOG_ERROR, "Unable to find object %r" % (model,))
|
def encode(s): if isinstance(s, unicode): return s.encode('utf8') return s
|
a5d33505a8864949d73ad8200be86d5b291a4033 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/a5d33505a8864949d73ad8200be86d5b291a4033/translate.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2017,
12,
87,
4672,
309,
1549,
12,
87,
16,
5252,
4672,
327,
272,
18,
3015,
2668,
3158,
28,
6134,
327,
272,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100
] |
id = ''
|
id = b''
|
def statparse(self, resp): """Internal: parse the response of a STAT, NEXT or LAST command.""" if resp[:2] != '22': raise NNTPReplyError(resp) words = resp.split() nr = 0 id = '' n = len(words) if n > 1: nr = words[1] if n > 2: id = words[2] return resp, nr, id
|
eb96c4e975fd746fcc8b85f47c3592472b8d6b15 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/eb96c4e975fd746fcc8b85f47c3592472b8d6b15/nntplib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
610,
2670,
12,
2890,
16,
1718,
4672,
3536,
3061,
30,
1109,
326,
766,
434,
279,
2347,
789,
16,
19252,
578,
15612,
1296,
12123,
309,
1718,
10531,
22,
65,
480,
296,
3787,
4278,
1002,
423,
1784,
52,
7817,
668,
12,
12243,
13,
4511,
273,
1718,
18,
4939,
1435,
9884,
273,
374,
612,
273,
324,
6309,
290,
273,
562,
12,
3753,
13,
309,
290,
405,
404,
30,
9884,
273,
4511,
63,
21,
65,
309,
290,
405,
576,
30,
612,
273,
4511,
63,
22,
65,
327,
1718,
16,
9884,
16,
612,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
610,
2670,
12,
2890,
16,
1718,
4672,
3536,
3061,
30,
1109,
326,
766,
434,
279,
2347,
789,
16,
19252,
578,
15612,
1296,
12123,
309,
1718,
10531,
22,
65,
480,
296,
3787,
4278,
1002,
423,
1784,
52,
7817,
668,
12,
12243,
13,
4511,
273,
1718,
18,
4939,
1435,
9884,
273,
374,
612,
273,
324,
6309,
290,
273,
562,
12,
3753,
13,
309,
290,
405,
404,
30,
9884,
273,
4511,
63,
21,
65,
309,
290,
405,
576,
30,
612,
273,
4511,
63,
22,
65,
327,
1718,
16,
9884,
16,
612,
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
] |
html.write("<tr><td><table><tr class=groupheader>")
|
html.write("<tr><td><table class=groupheader><tr class=groupheader>")
|
def render_tiled(data, view, group_columns, group_painters, painters, _ignore_num_columns): columns, rows = data html.write("<table class=\"services tiled\">\n") last_group = None group_open = False for row in rows: # Show group header if len(group_painters) > 0: this_group = [ row[c] for c in group_columns ] if this_group != last_group: # paint group header if group_open: html.write("</td></tr>\n") html.write("<tr><td><table><tr class=groupheader>") painted = False for p in group_painters: if painted: html.write("<td>,</td>") painted = paint(p, row) html.write('</tr></table></td></tr>' '<tr><td class=tiles>\n') group_open = True last_group = this_group # background color of tile according to item state state = row.get("service_state", -1) if state == -1: hbc = row.get("host_has_been_checked", 1) if hbc: state = row.get("host_state", 0) sclass = "hhstate%d" % state else: state = "hhstatep" else: hbc = row.get("service_has_been_checked", 1) if hbc: sclass = "sstate%d" % state else: sclass = "sstatep" if not group_open: html.write("<tr><td class=tiles>") group_open = True html.write('<div class="tile %s"><table>' % sclass) # We need at least five painters. empty_painter = { "paint" : (lambda row: ("", "")) } if len(painters) < 5: painters = painters + ([ (empty_painter, None) ] * (5 - len(painters))) rendered = [ ("", prepare_paint(p, row)[1]) for p in painters ] html.write("<tr><td class=\"tl %s\">%s</td><td class=\"tr %s\">%s</td></tr>\n" % \ (rendered[1][0], rendered[1][1], rendered[2][0], rendered[2][1])) html.write("<tr><td colspan=2 class=\"center %s\">%s</td></tr>\n" % \ (rendered[0][0], rendered[0][1])) for css, cont in rendered[5:]: html.write("<tr><td colspan=2 class=\"cont %s\">%s</td></tr>\n" % \ (css, cont)) html.write("<tr><td class=\"bl %s\">%s</td><td class=\"br %s\">%s</td></tr>\n" % \ (rendered[3][0], rendered[3][1], rendered[4][0], rendered[4][1])) html.write("</table></div>\n") if group_open: html.write("</td></tr>\n") html.write("</table>\n")
|
3dfd88b43b22622fc4a7c3db075063fdccb9a04d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/3dfd88b43b22622fc4a7c3db075063fdccb9a04d/layouts.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
67,
88,
1411,
12,
892,
16,
1476,
16,
1041,
67,
5112,
16,
1041,
67,
84,
530,
5432,
16,
293,
530,
5432,
16,
389,
6185,
67,
2107,
67,
5112,
4672,
2168,
16,
2595,
273,
501,
1729,
18,
2626,
2932,
32,
2121,
667,
5189,
8387,
268,
1411,
28219,
82,
7923,
225,
1142,
67,
1655,
273,
599,
1041,
67,
3190,
273,
1083,
364,
1027,
316,
2595,
30,
468,
9674,
1041,
1446,
309,
562,
12,
1655,
67,
84,
530,
5432,
13,
405,
374,
30,
333,
67,
1655,
273,
306,
1027,
63,
71,
65,
364,
276,
316,
1041,
67,
5112,
308,
309,
333,
67,
1655,
480,
1142,
67,
1655,
30,
225,
468,
12574,
1041,
1446,
309,
1041,
67,
3190,
30,
1729,
18,
2626,
2932,
1757,
4465,
4695,
313,
5333,
82,
7923,
1729,
18,
2626,
2932,
32,
313,
4438,
4465,
4438,
2121,
667,
33,
1655,
3374,
4438,
313,
667,
33,
1655,
3374,
2984,
13,
12574,
329,
273,
1083,
364,
293,
316,
1041,
67,
84,
530,
5432,
30,
309,
12574,
329,
30,
1729,
18,
2626,
2932,
32,
4465,
20401,
1757,
4465,
2984,
13,
12574,
329,
273,
12574,
12,
84,
16,
1027,
13,
225,
1729,
18,
2626,
2668,
1757,
313,
4695,
2121,
4695,
4465,
4695,
313,
1870,
2368,
313,
4438,
4465,
667,
33,
28366,
5333,
82,
6134,
1041,
67,
3190,
273,
1053,
1142,
67,
1655,
273,
333,
67,
1655,
282,
468,
5412,
2036,
434,
4769,
4888,
358,
761,
919,
919,
273,
1027,
18,
588,
2932,
3278,
67,
2019,
3113,
300,
21,
13,
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,
1743,
67,
88,
1411,
12,
892,
16,
1476,
16,
1041,
67,
5112,
16,
1041,
67,
84,
530,
5432,
16,
293,
530,
5432,
16,
389,
6185,
67,
2107,
67,
5112,
4672,
2168,
16,
2595,
273,
501,
1729,
18,
2626,
2932,
32,
2121,
667,
5189,
8387,
268,
1411,
28219,
82,
7923,
225,
1142,
67,
1655,
273,
599,
1041,
67,
3190,
273,
1083,
364,
1027,
316,
2595,
30,
468,
9674,
1041,
1446,
309,
562,
12,
1655,
67,
84,
530,
5432,
13,
405,
374,
30,
333,
67,
1655,
273,
306,
1027,
63,
71,
65,
364,
276,
316,
1041,
67,
5112,
308,
309,
333,
67,
1655,
480,
1142,
67,
1655,
30,
225,
468,
12574,
1041,
1446,
309,
1041,
67,
3190,
30,
1729,
18,
2
] |
if show_files:
|
if show_files and req.perm.has_permission('BROWSER_VIEW'):
|
def get_timeline_events(self, req, start, stop, filters): if 'changeset' in filters: format = req.args.get('format') wiki_format = self.wiki_format_messages show_files = self.timeline_show_files db = self.env.get_db_cnx() repos = self.env.get_repository(req.authname) for chgset in repos.get_changesets(start, stop): message = chgset.message or '--' if wiki_format: shortlog = wiki_to_oneliner(message, self.env, db, shorten=True) else: shortlog = shorten_line(message)
|
6085bd3871cf0f3a79f49c47b4fe251fca360ae5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/6085bd3871cf0f3a79f49c47b4fe251fca360ae5/changeset.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
26237,
67,
5989,
12,
2890,
16,
1111,
16,
787,
16,
2132,
16,
3415,
4672,
309,
296,
6329,
278,
11,
316,
3415,
30,
740,
273,
1111,
18,
1968,
18,
588,
2668,
2139,
6134,
9050,
67,
2139,
273,
365,
18,
13044,
67,
2139,
67,
6833,
2405,
67,
2354,
273,
365,
18,
26237,
67,
4500,
67,
2354,
1319,
273,
365,
18,
3074,
18,
588,
67,
1966,
67,
10305,
92,
1435,
13686,
273,
365,
18,
3074,
18,
588,
67,
9071,
12,
3658,
18,
1944,
529,
13,
364,
462,
75,
542,
316,
13686,
18,
588,
67,
6329,
2413,
12,
1937,
16,
2132,
4672,
883,
273,
462,
75,
542,
18,
2150,
578,
16979,
309,
9050,
67,
2139,
30,
3025,
1330,
273,
9050,
67,
869,
67,
265,
292,
14522,
12,
2150,
16,
365,
18,
3074,
16,
1319,
16,
19651,
33,
5510,
13,
469,
30,
3025,
1330,
273,
19651,
67,
1369,
12,
2150,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
26237,
67,
5989,
12,
2890,
16,
1111,
16,
787,
16,
2132,
16,
3415,
4672,
309,
296,
6329,
278,
11,
316,
3415,
30,
740,
273,
1111,
18,
1968,
18,
588,
2668,
2139,
6134,
9050,
67,
2139,
273,
365,
18,
13044,
67,
2139,
67,
6833,
2405,
67,
2354,
273,
365,
18,
26237,
67,
4500,
67,
2354,
1319,
273,
365,
18,
3074,
18,
588,
67,
1966,
67,
10305,
92,
1435,
13686,
273,
365,
18,
3074,
18,
588,
67,
9071,
12,
3658,
18,
1944,
529,
13,
364,
462,
75,
542,
316,
13686,
18,
588,
67,
6329,
2413,
12,
1937,
16,
2132,
4672,
883,
273,
462,
75,
542,
18,
2150,
578,
16979,
309,
9050,
67,
2139,
30,
3025,
1330,
273,
9050,
2
] |
for hdr, tup, idx in self._search(name=name, arch=arch, epoch=epoch, version=ver, release=rel):
|
for hdr, tup, idx in self._search(name=name, arch=arch, epoch=epoch, ver=ver, rel=rel):
|
def returnTupleByKeyword(self, name=None, arch=None, epoch=None, ver=None, rel=None): warnings.warn('returnTuplebyKeyword() will go away in a future version of Yum.\n', DeprecationWarning, stacklevel=2)
|
4253cd0b70fb9cd48d2b0b3e78395f41ea733730 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/4253cd0b70fb9cd48d2b0b3e78395f41ea733730/rpmsack.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
327,
9038,
858,
8736,
12,
2890,
16,
508,
33,
7036,
16,
6637,
33,
7036,
16,
7632,
33,
7036,
16,
1924,
33,
7036,
16,
1279,
33,
7036,
4672,
5599,
18,
8935,
2668,
2463,
9038,
1637,
8736,
1435,
903,
1960,
10804,
316,
279,
3563,
1177,
434,
1624,
379,
8403,
82,
2187,
24041,
16,
26847,
33,
22,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
327,
9038,
858,
8736,
12,
2890,
16,
508,
33,
7036,
16,
6637,
33,
7036,
16,
7632,
33,
7036,
16,
1924,
33,
7036,
16,
1279,
33,
7036,
4672,
5599,
18,
8935,
2668,
2463,
9038,
1637,
8736,
1435,
903,
1960,
10804,
316,
279,
3563,
1177,
434,
1624,
379,
8403,
82,
2187,
24041,
16,
26847,
33,
22,
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
] |
if S[-1]=='': del S[-1]
|
if S==[]: S = ['']
|
def _getFragWords(frags): ''' given a Parafrag list return a list of fragwords [[size, (f00,w00), ..., (f0n,w0n)],....,[size, (fm0,wm0), ..., (f0n,wmn)]] each pair f,w represents a style and some string each sublist represents a word ''' R = [] W = [] n = 0 for f in frags: text = f.text #del f.text # we can't do this until we sort out splitting # of paragraphs if text!='': S = split(text) if S[-1]=='': del S[-1] if W!=[] and text[0] in whitespace: W.insert(0,n) R.append(W) W = [] n = 0 for w in S[:-1]: W.append((f,w)) n = n + stringWidth(w, f.fontName, f.fontSize) W.insert(0,n) R.append(W) W = [] n = 0 w = S[-1] W.append((f,w)) n = n + stringWidth(w, f.fontName, f.fontSize) if text[-1] in whitespace: W.insert(0,n) R.append(W) W = [] n = 0 elif hasattr(f,'cbDefn'): W.append((f,'')) if W!=[]: W.insert(0,n) R.append(W) return R
|
bacf9da3f34fcc980069662749fea10714080f99 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/bacf9da3f34fcc980069662749fea10714080f99/paragraph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
19509,
7363,
12,
28193,
4672,
9163,
864,
279,
2280,
1727,
2458,
666,
327,
279,
666,
434,
10111,
3753,
12167,
1467,
16,
261,
74,
713,
16,
91,
713,
3631,
1372,
16,
261,
74,
20,
82,
16,
91,
20,
82,
13,
6487,
6265,
16,
63,
1467,
16,
261,
25089,
20,
16,
91,
81,
20,
3631,
1372,
16,
261,
74,
20,
82,
16,
91,
13607,
13,
13563,
1517,
3082,
284,
16,
91,
8686,
279,
2154,
471,
2690,
533,
1517,
26680,
8686,
279,
2076,
9163,
534,
273,
5378,
678,
273,
5378,
290,
273,
374,
364,
284,
316,
3812,
1341,
30,
977,
273,
284,
18,
955,
468,
3771,
284,
18,
955,
468,
732,
848,
1404,
741,
333,
3180,
732,
1524,
596,
20347,
468,
434,
24552,
309,
977,
5,
2218,
4278,
348,
273,
1416,
12,
955,
13,
309,
348,
631,
8526,
30,
348,
273,
10228,
3546,
309,
678,
5,
33,
8526,
471,
977,
63,
20,
65,
316,
7983,
30,
678,
18,
6387,
12,
20,
16,
82,
13,
534,
18,
6923,
12,
59,
13,
678,
273,
5378,
290,
273,
374,
225,
364,
341,
316,
348,
10531,
17,
21,
14542,
678,
18,
6923,
12443,
74,
16,
91,
3719,
290,
273,
290,
397,
533,
2384,
12,
91,
16,
284,
18,
5776,
461,
16,
284,
18,
5776,
1225,
13,
678,
18,
6387,
12,
20,
16,
82,
13,
534,
18,
6923,
12,
59,
13,
678,
273,
5378,
290,
273,
374,
225,
341,
273,
348,
18919,
21,
65,
678,
18,
6923,
12443,
74,
16,
91,
3719,
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,
588,
19509,
7363,
12,
28193,
4672,
9163,
864,
279,
2280,
1727,
2458,
666,
327,
279,
666,
434,
10111,
3753,
12167,
1467,
16,
261,
74,
713,
16,
91,
713,
3631,
1372,
16,
261,
74,
20,
82,
16,
91,
20,
82,
13,
6487,
6265,
16,
63,
1467,
16,
261,
25089,
20,
16,
91,
81,
20,
3631,
1372,
16,
261,
74,
20,
82,
16,
91,
13607,
13,
13563,
1517,
3082,
284,
16,
91,
8686,
279,
2154,
471,
2690,
533,
1517,
26680,
8686,
279,
2076,
9163,
534,
273,
5378,
678,
273,
5378,
290,
273,
374,
364,
284,
316,
3812,
1341,
30,
977,
273,
284,
18,
955,
468,
3771,
284,
18,
955,
468,
732,
848,
1404,
741,
333,
3180,
732,
1524,
596,
2
] |
gLogger.info("ReplicationScheduler._execute: Contacting RequestDB for suitable requests.") res = self.RequestDB.getRequest('transfer')
|
res = self.TransferDB.getChannelQueues()
|
def execute(self): """ The main agent execution method """
|
c1f8eb1d2bbc7cd4df2a54c42faff5c04a709853 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/c1f8eb1d2bbc7cd4df2a54c42faff5c04a709853/ReplicationScheduler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
4672,
3536,
1021,
2774,
4040,
4588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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
4672,
3536,
1021,
2774,
4040,
4588,
707,
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
] |
def setdesc(self,desc): obj.description=desc def forgetit(self): pass
|
def setdesc(desc, obj=obj): obj.description = desc def forgetit(): pass
|
def setdesc(self,desc): obj.description=desc
|
81140ac7c9a559e240f2fcc140f2dbe0f200fc0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/81140ac7c9a559e240f2fcc140f2dbe0f200fc0e/player.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
5569,
12,
2890,
16,
5569,
4672,
1081,
18,
3384,
33,
5569,
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
] |
[
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
5569,
12,
2890,
16,
5569,
4672,
1081,
18,
3384,
33,
5569,
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
] |
utils.enforce_schema(context, interface)
|
def __init__(self, context, request):
|
fc58bf208260cbf6512a8d6d8aa2831dfe1f0ff1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6273/fc58bf208260cbf6512a8d6d8aa2831dfe1f0ff1/edit_profile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
819,
16,
590,
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
] |
[
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,
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,
819,
16,
590,
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
] |
|
qltk.ErrorMessage(self.prop.window, _("Invalid date"),
|
qltk.ErrorMessage(self.prop, _("Invalid date"),
|
def add_tag(self, *args): add = AddTagDialog(self.prop.window, self.songinfo.can_change())
|
44deb3636adb3eb180d1cc44ce811a1cb782bb80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/44deb3636adb3eb180d1cc44ce811a1cb782bb80/widgets.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
2692,
12,
2890,
16,
380,
1968,
4672,
527,
273,
1436,
1805,
6353,
12,
2890,
18,
5986,
18,
5668,
16,
365,
18,
816,
75,
1376,
18,
4169,
67,
3427,
10756,
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,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
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
2692,
12,
2890,
16,
380,
1968,
4672,
527,
273,
1436,
1805,
6353,
12,
2890,
18,
5986,
18,
5668,
16,
365,
18,
816,
75,
1376,
18,
4169,
67,
3427,
10756,
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
] |
new_fyear = pool.get('account.fiscalyear').browse(cr, uid, data['form']['fy2_id']) start_jp = new_fyear.start_journal_period_id
|
def _data_save(self, cr, uid, data, context): if not data['form']['sure']: raise wizard.except_wizard(_('UserError'), _('Closing of fiscal year canceled, please check the box !')) pool = pooler.get_pool(cr.dbname) fy_id = data['form']['fy_id'] if data['form']['report_new']: periods_fy2 = pool.get('account.fiscalyear').browse(cr, uid, data['form']['fy2_id']).period_ids if not periods_fy2: raise wizard.except_wizard(_('UserError'), _('There are no periods defined on New Fiscal Year.')) period=periods_fy2[0] new_fyear = pool.get('account.fiscalyear').browse(cr, uid, data['form']['fy2_id']) start_jp = new_fyear.start_journal_period_id if not start_jp: raise wizard.except_wizard(_('UserError'), _('The new fiscal year should have a journal for new entries define on it')) new_journal = start_jp.journal_id if not new_journal.default_credit_account_id or not new_journal.default_debit_account_id: raise wizard.except_wizard(_('UserError'), _('The journal must have default credit and debit account')) if not new_journal.centralisation: raise wizard.except_wizard(_('UserError'), _('The journal must have centralised counterpart')) query_line = pool.get('account.move.line')._query_get(cr, uid, obj='account_move_line', context={'fiscalyear': fy_id}) cr.execute('select id from account_account WHERE active') ids = map(lambda x: x[0], cr.fetchall()) for account in pool.get('account.account').browse(cr, uid, ids, context={'fiscalyear': fy_id}): accnt_type_data = account.user_type if not accnt_type_data: continue if accnt_type_data.close_method=='none' or account.type == 'view': continue if accnt_type_data.close_method=='balance': if abs(account.balance)>0.0001: pool.get('account.move.line').create(cr, uid, { 'debit': account.balance>0 and account.balance, 'credit': account.balance<0 and -account.balance, 'name': data['form']['report_name'], 'date': period.date_start, 'journal_id': new_journal.id, 'period_id': period.id, 'account_id': account.id }, {'journal_id': new_journal.id, 'period_id':period.id}) if accnt_type_data.close_method=='unreconciled': offset = 0 limit = 100 while True: cr.execute('SELECT id, name, quantity, debit, credit, account_id, ref, ' \ 'amount_currency, currency_id, blocked, partner_id, ' \ 'date_maturity, date_created ' \ 'FROM account_move_line ' \ 'WHERE account_id = %s ' \ 'AND ' + query_line + ' ' \ 'AND reconcile_id is NULL ' \ 'ORDER BY id ' \ 'LIMIT %s OFFSET %s', (account.id, limit, offset)) result = cr.dictfetchall() if not result: break for move in result: parent_id = move['id'] move.pop('id') move.update({ 'date': period.date_start, 'journal_id': new_journal.id, 'period_id': period.id, 'parent_move_lines':[(6,0,[parent_id])] }) pool.get('account.move.line').create(cr, uid, move, { 'journal_id': new_journal.id, 'period_id': period.id, }) offset += limit if accnt_type_data.close_method=='detail': offset = 0 limit = 100 while True: cr.execute('SELECT id, name, quantity, debit, credit, account_id, ref, ' \ 'amount_currency, currency_id, blocked, partner_id, ' \ 'date_maturity, date_created ' \ 'FROM account_move_line ' \ 'WHERE account_id = %s ' \ 'AND ' + query_line + ' ' \ 'ORDER BY id ' \ 'LIMIT %s OFFSET %s', (account.id,fy_id, limit, offset)) result = cr.dictfetchall() if not result: break for move in result: parent_id = move['id'] move.pop('id') move.update({ 'date': period.date_start, 'journal_id': new_journal.id, 'period_id': period.id, 'parent_move_lines':[(6,0,[parent_id])] }) pool.get('account.move.line').create(cr, uid, move) offset += limit cr.execute('UPDATE account_journal_period ' \ 'SET state = %s ' \ 'WHERE period_id IN (SELECT id FROM account_period WHERE fiscalyear_id = %s)', ('done',fy_id)) cr.execute('UPDATE account_period SET state = %s ' \ 'WHERE fiscalyear_id = %s', ('done',fy_id)) cr.execute('UPDATE account_fiscalyear ' \ 'SET state = %s, end_journal_period_id = %s' \ 'WHERE id = %s', ('done',start_jp.id,fy_id)) return {}
|
69e276222efb679980aa01a53fef92f7ea18a045 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/69e276222efb679980aa01a53fef92f7ea18a045/wizard_fiscalyear_close.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
892,
67,
5688,
12,
2890,
16,
4422,
16,
4555,
16,
501,
16,
819,
4672,
309,
486,
501,
3292,
687,
21712,
2055,
3546,
30,
1002,
24204,
18,
14137,
67,
31837,
24899,
2668,
1299,
668,
19899,
389,
2668,
15745,
434,
15324,
771,
3286,
17271,
16,
9582,
866,
326,
3919,
401,
26112,
2845,
273,
2845,
264,
18,
588,
67,
6011,
12,
3353,
18,
20979,
13,
225,
28356,
67,
350,
273,
501,
3292,
687,
21712,
74,
93,
67,
350,
3546,
309,
501,
3292,
687,
21712,
6006,
67,
2704,
3546,
30,
12777,
67,
74,
93,
22,
273,
2845,
18,
588,
2668,
4631,
18,
74,
291,
771,
6874,
16063,
25731,
12,
3353,
16,
4555,
16,
501,
3292,
687,
21712,
74,
93,
22,
67,
350,
3546,
2934,
6908,
67,
2232,
309,
486,
12777,
67,
74,
93,
22,
30,
1002,
24204,
18,
14137,
67,
31837,
24899,
2668,
1299,
668,
19899,
389,
2668,
9828,
854,
1158,
12777,
2553,
603,
1166,
478,
291,
771,
16666,
1093,
3719,
3879,
33,
20659,
67,
74,
93,
22,
63,
20,
65,
309,
486,
787,
67,
21797,
30,
1002,
24204,
18,
14137,
67,
31837,
24899,
2668,
1299,
668,
19899,
389,
2668,
1986,
394,
15324,
771,
3286,
1410,
1240,
279,
13001,
364,
394,
3222,
4426,
603,
518,
26112,
225,
394,
67,
22644,
273,
787,
67,
21797,
18,
22644,
67,
350,
225,
309,
486,
394,
67,
22644,
18,
1886,
67,
20688,
67,
4631,
67,
350,
578,
486,
394,
67,
22644,
18,
1886,
67,
323,
3682,
67,
4631,
67,
350,
30,
1002,
24204,
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,
892,
67,
5688,
12,
2890,
16,
4422,
16,
4555,
16,
501,
16,
819,
4672,
309,
486,
501,
3292,
687,
21712,
2055,
3546,
30,
1002,
24204,
18,
14137,
67,
31837,
24899,
2668,
1299,
668,
19899,
389,
2668,
15745,
434,
15324,
771,
3286,
17271,
16,
9582,
866,
326,
3919,
401,
26112,
2845,
273,
2845,
264,
18,
588,
67,
6011,
12,
3353,
18,
20979,
13,
225,
28356,
67,
350,
273,
501,
3292,
687,
21712,
74,
93,
67,
350,
3546,
309,
501,
3292,
687,
21712,
6006,
67,
2704,
3546,
30,
12777,
67,
74,
93,
22,
273,
2845,
18,
588,
2668,
4631,
18,
74,
291,
771,
6874,
16063,
25731,
12,
3353,
16,
4555,
16,
501,
3292,
687,
21712,
74,
93,
22,
67,
2
] |
|
if (ch >= 'a' and ch <= 'z') or (ch >= 'A' and ch <= 'Z') or (ch >= '0' and ch <= '9') or ch == '$' or ch == '_'):
|
if (ch >= 'a' and ch <= 'z') or (ch >= 'A' and ch <= 'Z') or (ch >= '0' and ch <= '9') or ch == '$' or ch == '_':
|
def lexIdent(self, ch): token = self.token input = self.source while True: ch = input[self.cursor += 1] if (ch >= 'a' and ch <= 'z') or (ch >= 'A' and ch <= 'Z') or (ch >= '0' and ch <= '9') or ch == '$' or ch == '_'): break # Put the non-word character back. self.cursor--
|
69e8778c27d77f24618658a38a02e46717afadf7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/69e8778c27d77f24618658a38a02e46717afadf7/Tokenizer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5275,
6106,
12,
2890,
16,
462,
4672,
1147,
273,
365,
18,
2316,
810,
273,
365,
18,
3168,
225,
1323,
1053,
30,
462,
273,
810,
63,
2890,
18,
9216,
1011,
404,
65,
225,
309,
261,
343,
1545,
296,
69,
11,
471,
462,
1648,
296,
94,
6134,
578,
261,
343,
1545,
296,
37,
11,
471,
462,
1648,
296,
62,
6134,
578,
261,
343,
1545,
296,
20,
11,
471,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5275,
6106,
12,
2890,
16,
462,
4672,
1147,
273,
365,
18,
2316,
810,
273,
365,
18,
3168,
225,
1323,
1053,
30,
462,
273,
810,
63,
2890,
18,
9216,
1011,
404,
65,
225,
309,
261,
343,
1545,
296,
69,
11,
471,
462,
1648,
296,
94,
6134,
578,
261,
343,
1545,
296,
37,
11,
471,
462,
1648,
296,
62,
6134,
578,
261,
343,
1545,
296,
20,
11,
471,
462,
1648,
296,
29,
6134,
578,
462,
422,
11874,
578,
462,
422,
2070,
4278,
898,
225,
468,
4399,
326,
1661,
17,
1095,
3351,
1473,
18,
365,
18,
9216,
413,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
myplot.axes.append(myplot.thisFigure.add_subplot(subplotstring+str(i+1),title=titlestrings[i],xlabel=xstring,ylabel=ystrings[i])) s="myplot.axes[%d].%s(data[%d][0],data[%d][1],'ro-')" % (i,plotcommand,i,i) print s
|
leftcorner=0.2 width=0.6 bottom=(0.2+float(i))*axisfactor top=0.6*axisfactor font={'fontname':'Times','fontsize':fontsize+2} myplot.axes.append(myplot.thisFigure.add_axes([leftcorner,bottom,width,top],title=titlestrings[i],xlabel=xstring,ylabel=ystrings[i])) s="myplot.axes[%d].%s(data[%d][0],data[%d][1]" % (i,plotcommand,i,i) s=s+addstr+')'
|
def ReturnPlotObject(data,plotcommand='plot',titlestring='',xstring='',ystring=''): #Input: data [[xseries1,yseries1],[xseries2,yseries2],...] (float,int, whatever) #plotcommand = matplotlib's plot command (default 'plot', could #also be 'loglog' etc), titlestring=plot title, xstring=x-axis label, ystring=y-axis label. #Outputs a container object, corresponding to a matplotlib plot. This can be displayed #in various ways, eg. on a TkInter canvas: #myplot.canvas=FigureCanvasTkAgg(myplot.thisFigure,master=plotbody) #myplot.canvas.show() #plotbody.pack() #where plotbody is a Frame object. Nplots=len(data) ystrings=ystring.split(':') if len(ystrings)<Nplots: for i in range(0,Nplots-1): ystrings.append(ystrings[0]) titlestrings=titlestring.split(':') if len(titlestrings)<Nplots: for i in range(0,Nplots-1): titlestrings.append(titlestrings[0]) subplotstring=str(Nplots)+'1' myplot=Myplot() myplot.thisFigure=Figure(figsize=(5,4),dpi=100) myplot.axes=[] for i in range(Nplots): myplot.axes.append(myplot.thisFigure.add_subplot(subplotstring+str(i+1),title=titlestrings[i],xlabel=xstring,ylabel=ystrings[i])) s="myplot.axes[%d].%s(data[%d][0],data[%d][1],'ro-')" % (i,plotcommand,i,i) print s eval(s) myplot.thisFigure.subplots_adjust(hspace=0.5) return myplot
|
c16fe22866cce6c3aabc203d3b2bf1cd6e8eb553 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/768/c16fe22866cce6c3aabc203d3b2bf1cd6e8eb553/visuals.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2000,
11532,
921,
12,
892,
16,
4032,
3076,
2218,
4032,
2187,
17643,
371,
2218,
2187,
92,
1080,
2218,
2187,
93,
1080,
2218,
11,
4672,
225,
468,
1210,
30,
501,
12167,
92,
10222,
21,
16,
93,
10222,
21,
6487,
63,
92,
10222,
22,
16,
93,
10222,
22,
6487,
2777,
65,
261,
5659,
16,
474,
16,
15098,
13,
468,
4032,
3076,
273,
13892,
1807,
3207,
1296,
261,
1886,
296,
4032,
2187,
3377,
468,
31144,
506,
296,
1330,
1330,
11,
5527,
3631,
14693,
371,
33,
4032,
2077,
16,
619,
1080,
33,
92,
17,
4890,
1433,
16,
677,
1080,
33,
93,
17,
4890,
1433,
18,
468,
13856,
279,
1478,
733,
16,
4656,
358,
279,
13892,
3207,
18,
1220,
848,
506,
10453,
468,
267,
11191,
16226,
16,
9130,
18,
603,
279,
399,
79,
2465,
5953,
30,
468,
4811,
4032,
18,
15424,
33,
42,
15906,
12971,
56,
79,
17139,
12,
4811,
4032,
18,
2211,
42,
15906,
16,
7525,
33,
4032,
3432,
13,
468,
4811,
4032,
18,
15424,
18,
4500,
1435,
468,
4032,
3432,
18,
2920,
1435,
468,
6051,
3207,
3432,
353,
279,
8058,
733,
18,
225,
423,
13214,
33,
1897,
12,
892,
13,
225,
677,
10219,
33,
93,
1080,
18,
4939,
2668,
2497,
13,
225,
309,
562,
12,
93,
10219,
13,
32,
50,
13214,
30,
364,
277,
316,
1048,
12,
20,
16,
50,
13214,
17,
21,
4672,
677,
10219,
18,
6923,
12,
93,
10219,
63,
20,
5717,
225,
14693,
371,
87,
33,
17643,
371,
18,
4939,
2668,
2497,
13,
309,
562,
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,
2000,
11532,
921,
12,
892,
16,
4032,
3076,
2218,
4032,
2187,
17643,
371,
2218,
2187,
92,
1080,
2218,
2187,
93,
1080,
2218,
11,
4672,
225,
468,
1210,
30,
501,
12167,
92,
10222,
21,
16,
93,
10222,
21,
6487,
63,
92,
10222,
22,
16,
93,
10222,
22,
6487,
2777,
65,
261,
5659,
16,
474,
16,
15098,
13,
468,
4032,
3076,
273,
13892,
1807,
3207,
1296,
261,
1886,
296,
4032,
2187,
3377,
468,
31144,
506,
296,
1330,
1330,
11,
5527,
3631,
14693,
371,
33,
4032,
2077,
16,
619,
1080,
33,
92,
17,
4890,
1433,
16,
677,
1080,
33,
93,
17,
4890,
1433,
18,
468,
13856,
279,
1478,
733,
16,
4656,
358,
279,
13892,
3207,
18,
1220,
848,
506,
10453,
468,
2
] |
msg = QString(msg).append(QString("\n")).append(e.info)
|
e.msg = QString(e.msg).append(QString("\n")).append(e.info)
|
def messagebox_errors(self, e): # Kludgy... if e.info: msg = QString(msg).append(QString("\n")).append(e.info) QMessageBox.critical(None, self.trUtf8("Mnemosyne"), msg, self.trUtf8("&OK"), "", "", 0, -1)
|
ff63285f472effa25ff261896593df77e5142242 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1240/ff63285f472effa25ff261896593df77e5142242/message_boxes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
883,
2147,
67,
4324,
12,
2890,
16,
425,
4672,
225,
468,
1475,
80,
1100,
7797,
2777,
565,
309,
425,
18,
1376,
30,
425,
18,
3576,
273,
2238,
780,
12,
73,
18,
3576,
2934,
6923,
12,
53,
780,
31458,
82,
7923,
2934,
6923,
12,
73,
18,
1376,
13,
225,
30728,
18,
28000,
12,
7036,
16,
365,
18,
313,
15230,
28,
2932,
29668,
351,
538,
878,
73,
6,
3631,
1234,
16,
365,
18,
313,
15230,
28,
2932,
10,
3141,
6,
3631,
23453,
23453,
374,
16,
300,
21,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
883,
2147,
67,
4324,
12,
2890,
16,
425,
4672,
225,
468,
1475,
80,
1100,
7797,
2777,
565,
309,
425,
18,
1376,
30,
425,
18,
3576,
273,
2238,
780,
12,
73,
18,
3576,
2934,
6923,
12,
53,
780,
31458,
82,
7923,
2934,
6923,
12,
73,
18,
1376,
13,
225,
30728,
18,
28000,
12,
7036,
16,
365,
18,
313,
15230,
28,
2932,
29668,
351,
538,
878,
73,
6,
3631,
1234,
16,
365,
18,
313,
15230,
28,
2932,
10,
3141,
6,
3631,
23453,
23453,
374,
16,
300,
21,
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
] |
_dll.dc1394_format7_get_roi.argtypes = [ POINTER(camera_t), video_mode_t, color_coding_t,\ POINTER(c_int32), POINTER(c_int32), POINTER(c_int32),\ POINTER(c_int32), POINTER(c_int32) ]
|
_dll.dc1394_format7_get_roi.argtypes = [ POINTER(camera_t), video_mode_t, POINTER(color_coding_t), POINTER(c_int32), POINTER(c_int32), POINTER(c_int32), POINTER(c_int32), POINTER(c_int32) ]
|
def _errcheck( rtype, func, arg ): """This function checks for the errortypes declared by the error_t above. Use it for functions with restype=error_t to receive correct error messages from the library. """ if rtype != 0: e = DC1394Error() e.function = func e.arguments = arg e.errval = rtype raise e return rtype
|
e9b4af039eda280c57fd80e8e8ca93fbb10dad13 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6169/e9b4af039eda280c57fd80e8e8ca93fbb10dad13/_dc1394core.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
370,
1893,
12,
9328,
16,
1326,
16,
1501,
262,
30,
3536,
2503,
445,
4271,
364,
326,
393,
499,
989,
7886,
635,
326,
555,
67,
88,
5721,
18,
2672,
518,
364,
4186,
598,
3127,
388,
33,
1636,
67,
88,
358,
6798,
3434,
555,
2743,
628,
326,
5313,
18,
3536,
309,
9328,
480,
374,
30,
425,
273,
21533,
3437,
11290,
668,
1435,
425,
18,
915,
273,
1326,
425,
18,
7099,
273,
1501,
425,
18,
370,
1125,
273,
9328,
1002,
425,
327,
9328,
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,
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0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
370,
1893,
12,
9328,
16,
1326,
16,
1501,
262,
30,
3536,
2503,
445,
4271,
364,
326,
393,
499,
989,
7886,
635,
326,
555,
67,
88,
5721,
18,
2672,
518,
364,
4186,
598,
3127,
388,
33,
1636,
67,
88,
358,
6798,
3434,
555,
2743,
628,
326,
5313,
18,
3536,
309,
9328,
480,
374,
30,
425,
273,
21533,
3437,
11290,
668,
1435,
425,
18,
915,
273,
1326,
425,
18,
7099,
273,
1501,
425,
18,
370,
1125,
273,
9328,
1002,
425,
327,
9328,
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
] |
self.pi.reply('getabort')
|
self.pi.reply('getok')
|
def loseConnection(self): "Disconnect, and clean up" print "disconcert and die" if self.file is not None: if self.file.tell() == self.filesize: self.pi.reply('getok') else: self.pi.reply('getabort') self.file.close() self.file = None self.pi.queuedfile = None # just incase self.transport.loseConnection()
|
07377cad2b39b3e3d459447a924d1bc82ce72f33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/07377cad2b39b3e3d459447a924d1bc82ce72f33/ftp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29612,
1952,
12,
2890,
4672,
315,
18895,
16,
471,
2721,
731,
6,
1172,
315,
2251,
591,
7593,
471,
10387,
6,
309,
365,
18,
768,
353,
486,
599,
30,
309,
365,
18,
768,
18,
88,
1165,
1435,
422,
365,
18,
25511,
30,
365,
18,
7259,
18,
10629,
2668,
588,
601,
6134,
469,
30,
365,
18,
7259,
18,
10629,
2668,
588,
601,
6134,
225,
365,
18,
768,
18,
4412,
1435,
365,
18,
768,
273,
599,
365,
18,
7259,
18,
19499,
768,
273,
599,
468,
2537,
316,
3593,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29612,
1952,
12,
2890,
4672,
315,
18895,
16,
471,
2721,
731,
6,
1172,
315,
2251,
591,
7593,
471,
10387,
6,
309,
365,
18,
768,
353,
486,
599,
30,
309,
365,
18,
768,
18,
88,
1165,
1435,
422,
365,
18,
25511,
30,
365,
18,
7259,
18,
10629,
2668,
588,
601,
6134,
469,
30,
365,
18,
7259,
18,
10629,
2668,
588,
601,
6134,
225,
365,
18,
768,
18,
4412,
1435,
365,
18,
768,
273,
599,
365,
18,
7259,
18,
19499,
768,
273,
599,
468,
2537,
316,
3593,
365,
18,
13049,
18,
2061,
1952,
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
] |
this = apply(_quickfix.new_DeliveryType, args)
|
this = _quickfix.new_DeliveryType(*args)
|
def __init__(self, *args): this = apply(_quickfix.new_DeliveryType, args) try: self.this.append(this) except: self.this = this
|
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
4672,
333,
273,
389,
19525,
904,
18,
2704,
67,
8909,
559,
30857,
1968,
13,
775,
30,
365,
18,
2211,
18,
6923,
12,
2211,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
380,
1968,
4672,
333,
273,
389,
19525,
904,
18,
2704,
67,
8909,
559,
30857,
1968,
13,
775,
30,
365,
18,
2211,
18,
6923,
12,
2211,
13,
1335,
30,
365,
18,
2211,
273,
333,
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
] |
if options.password == None:
|
if password == None:
|
def main(): """Main program function: Grabs command-line arguments, starts up threads, and runs the program.""" # Grab command line arguments and the command to run (if any) usage = 'usage: %prog [options] "[command1]" "[command2]" ...' parser = OptionParser(usage=usage, version=__version__) parser.disable_interspersed_args() parser.add_option("-f", "--file", dest="hostfile", default=None, help="Location of the file containing the host list.", metavar="<file>") parser.add_option("-o", "--outfile", dest="outfile", default=None, help="Location of the file where the results will be saved.", metavar="<file>") parser.add_option("-a", "--authfile", dest="authfile", default=None, help="Location of the file containing the credentials to be used for connections (format is \"username:password\").", metavar="<file>") parser.add_option("-t", "--threads", dest="max_threads", default=10, type="int", help="Number of threads to spawn for simultaneous connection attempts [default: 10].", metavar="<int>") parser.add_option("-p", "--port", dest="port", default=22, help="The port to be used when connecting. Defaults to 22.", metavar="<port>") parser.add_option("-u", "--username", dest="username", default=os.getlogin(), help="The username to be used when connecting. Defaults to the currently logged-in user.", metavar="<username>") parser.add_option("-P", "--password", dest="password", default=None, help="The password to be used when connecting (not recommended--use an authfile unless the username and password are transient).", metavar="<password>") parser.add_option("-q", "--quiet", action="store_false", dest="verbose", default=True, help="Don't print status messages to stdout (only print errors).") parser.add_option("-c", "--copy-file", dest="copy_file", default=None, help="Location of the file to copy to and optionally execute (-x) on hosts.", metavar="<file>") parser.add_option("-D", "--dest", dest="destination", default="/tmp/", help="Path where the file should be copied on the remote host (default: /tmp/).", metavar="<path>") parser.add_option("-x", "--execute", action="store_true", dest="execute", default=False, help="Execute the copied file (just like executing a given command).") parser.add_option("-r", "--remove", action="store_true", dest="remove", default=False, help="Remove (clean up) the SFTP'd file after execution.") parser.add_option("-T", "--timeout", dest="timeout", default=30, help="Timeout (in seconds) before giving up on an SSH connection (default: 30)", metavar="<seconds>") parser.add_option("-s", "--sudo", action="store_true", dest="sudo", default=False, help="Use sudo to execute the command (default: as root).") parser.add_option("-U", "--sudouser", dest="run_as", default="root", help="Run the command (via sudo) as this user.", metavar="<username>") (options, args) = parser.parse_args() # Check to make sure we were passed at least one command line argument try: sys.argv[1] except: print "\nError: At a minimum you must supply an input hostfile (-f)" parser.print_help() sys.exit(2) commands = False return_code = 0 ## Assume anything passed to us beyond the command line switches are commands to be executed if len(args) > 0: commands = args # Assign the options to more readable variables username = options.username password = options.password local_filepath = options.copy_file remote_filepath = options.destination execute = options.execute remove = options.remove sudo = options.sudo max_threads = options.max_threads timeout = options.timeout run_as = options.run_as verbose = options.verbose outfile = options.outfile if options.hostfile == None: print "Error: You must supply a file (-f <file>) containing the host list to check." print "Use the -h option to see usage information." sys.exit(2) if options.outfile is None and options.verbose is False: print "Error: You have not specified any mechanism to output results." print "Please don't use quite mode (-q) without an output file (-o <file>)." sys.exit(2) if local_filepath is not None and commands is not False: print "Error: You can either run commands or execute a file. Not both." sys.exit(2) # Read in the host list to check hostlist = open(options.hostfile).read() if options.authfile is not None: credentials = open(options.authfile).readline() username, password = credentials.split(":") # Get the username and password to use when checking hosts if options.username == None: username = raw_input('Username: ') if options.password == None: password = getpass.getpass('Password: ') hostlist_list = [] try: # This wierd little sequence of loops allows us to hit control-C in the middle of program execution and get immediate results for host in hostlist.split("\n"): # Turn the hostlist into an actual list if host != "": hostlist_list.append(host) output_queue = sshpt(hostlist_list, username, password, max_threads, timeout, commands, local_filepath, remote_filepath, execute, remove, sudo, run_as, verbose, outfile) output_queue.join() # Just to be safe we wait for the OutputThread to finish before moving on except KeyboardInterrupt: print 'caught KeyboardInterrupt, exiting...' return_code = 1 # Return code should be 1 if the user issues a SIGINT (control-C) # Clean up stopSSHQueue() stopOutputThread() sys.exit(return_code) except Exception, detail: print 'caught Exception...' print detail return_code = 2 # Clean up stopSSHQueue() stopOutputThread() sys.exit(return_code)
|
9dcf45d52655c12822f7ce8a6a37a0b29f203372 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11566/9dcf45d52655c12822f7ce8a6a37a0b29f203372/sshpt.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
3536,
6376,
5402,
445,
30,
225,
10812,
2038,
1296,
17,
1369,
1775,
16,
2542,
731,
7403,
16,
471,
7597,
326,
5402,
12123,
225,
468,
17150,
1296,
980,
1775,
471,
326,
1296,
358,
1086,
261,
430,
1281,
13,
4084,
273,
296,
9167,
30,
738,
14654,
306,
2116,
65,
5158,
3076,
21,
4279,
5158,
3076,
22,
4279,
25956,
2082,
273,
18862,
12,
9167,
33,
9167,
16,
1177,
33,
972,
1589,
972,
13,
2082,
18,
8394,
67,
2761,
87,
457,
730,
67,
1968,
1435,
2082,
18,
1289,
67,
3482,
2932,
17,
74,
3113,
5238,
768,
3113,
1570,
1546,
2564,
768,
3113,
805,
33,
7036,
16,
2809,
1546,
2735,
434,
326,
585,
4191,
326,
1479,
666,
1199,
16,
15050,
1546,
32,
768,
2984,
13,
2082,
18,
1289,
67,
3482,
2932,
17,
83,
3113,
5238,
26050,
3113,
1570,
1546,
26050,
3113,
805,
33,
7036,
16,
2809,
1546,
2735,
434,
326,
585,
1625,
326,
1686,
903,
506,
5198,
1199,
16,
15050,
1546,
32,
768,
2984,
13,
2082,
18,
1289,
67,
3482,
2932,
17,
69,
3113,
5238,
1944,
768,
3113,
1570,
1546,
1944,
768,
3113,
805,
33,
7036,
16,
2809,
1546,
2735,
434,
326,
585,
4191,
326,
4448,
358,
506,
1399,
364,
5921,
261,
2139,
353,
1239,
5053,
30,
3664,
2412,
14944,
16,
15050,
1546,
32,
768,
2984,
13,
2082,
18,
1289,
67,
3482,
2932,
17,
88,
3113,
5238,
12495,
3113,
1570,
1546,
1896,
67,
12495,
3113,
805,
33,
2163,
16,
618,
1546,
474,
3113,
2809,
1546,
1854,
434,
7403,
358,
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,
2774,
13332,
3536,
6376,
5402,
445,
30,
225,
10812,
2038,
1296,
17,
1369,
1775,
16,
2542,
731,
7403,
16,
471,
7597,
326,
5402,
12123,
225,
468,
17150,
1296,
980,
1775,
471,
326,
1296,
358,
1086,
261,
430,
1281,
13,
4084,
273,
296,
9167,
30,
738,
14654,
306,
2116,
65,
5158,
3076,
21,
4279,
5158,
3076,
22,
4279,
25956,
2082,
273,
18862,
12,
9167,
33,
9167,
16,
1177,
33,
972,
1589,
972,
13,
2082,
18,
8394,
67,
2761,
87,
457,
730,
67,
1968,
1435,
2082,
18,
1289,
67,
3482,
2932,
17,
74,
3113,
5238,
768,
3113,
1570,
1546,
2564,
768,
3113,
805,
33,
7036,
16,
2809,
1546,
2735,
434,
326,
585,
4191,
326,
1479,
666,
1199,
16,
15050,
1546,
2
] |
sender = mail.GetSender()
|
sender = mail.get_sender()
|
def ProcessPasswordCmd(self, args, cmd, mail): if len(args) not in [0,2]: self.AddError(_("Usage: password [<oldpw> <newpw>]")) return sender = mail.GetSender() if len(args) == 0: # Mail user's password to user user = self.FindUser(sender) if user and self.passwords.has_key(user): password = self.passwords[user] self.AddToResponse(_("You are subscribed as %(user)s,\n" " with password: %(password)s"), trunc=0) else: self.AddError(_("Found no password for %(sender)s"), trunc=0) return # Try to change password
|
fd50f6ba3c52ce475f91f07aef2835cffeada335 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/fd50f6ba3c52ce475f91f07aef2835cffeada335/MailCommandHandler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4389,
3913,
5931,
12,
2890,
16,
833,
16,
1797,
16,
4791,
4672,
309,
562,
12,
1968,
13,
486,
316,
306,
20,
16,
22,
14542,
365,
18,
986,
668,
24899,
2932,
5357,
30,
2201,
306,
32,
1673,
14921,
34,
411,
2704,
14921,
34,
4279,
3719,
327,
5793,
273,
4791,
18,
588,
67,
15330,
1435,
309,
562,
12,
1968,
13,
422,
374,
30,
468,
11542,
729,
1807,
2201,
358,
729,
729,
273,
365,
18,
3125,
1299,
12,
15330,
13,
309,
729,
471,
365,
18,
3664,
87,
18,
5332,
67,
856,
12,
1355,
4672,
2201,
273,
365,
18,
3664,
87,
63,
1355,
65,
365,
18,
986,
774,
1064,
24899,
2932,
6225,
854,
16445,
487,
8975,
1355,
13,
87,
17211,
82,
6,
315,
225,
598,
2201,
30,
8975,
3664,
13,
87,
6,
3631,
6956,
33,
20,
13,
469,
30,
365,
18,
986,
668,
24899,
2932,
2043,
1158,
2201,
364,
8975,
15330,
13,
87,
6,
3631,
6956,
33,
20,
13,
327,
468,
6161,
358,
2549,
2201,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4389,
3913,
5931,
12,
2890,
16,
833,
16,
1797,
16,
4791,
4672,
309,
562,
12,
1968,
13,
486,
316,
306,
20,
16,
22,
14542,
365,
18,
986,
668,
24899,
2932,
5357,
30,
2201,
306,
32,
1673,
14921,
34,
411,
2704,
14921,
34,
4279,
3719,
327,
5793,
273,
4791,
18,
588,
67,
15330,
1435,
309,
562,
12,
1968,
13,
422,
374,
30,
468,
11542,
729,
1807,
2201,
358,
729,
729,
273,
365,
18,
3125,
1299,
12,
15330,
13,
309,
729,
471,
365,
18,
3664,
87,
18,
5332,
67,
856,
12,
1355,
4672,
2201,
273,
365,
18,
3664,
87,
63,
1355,
65,
365,
18,
986,
774,
1064,
24899,
2932,
6225,
854,
16445,
487,
8975,
1355,
13,
87,
17211,
82,
6,
2
] |
self.fill("yield")
|
self.write("(") self.write("yield")
|
def _Yield(self, t): self.fill("yield") if t.value: self.write(" (") self.dispatch(t.value) self.write(")")
|
370480032ecec8ec7718f276ca463670a69ead37 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/370480032ecec8ec7718f276ca463670a69ead37/unparse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
16348,
12,
2890,
16,
268,
4672,
365,
18,
2626,
2932,
2932,
13,
365,
18,
2626,
2932,
23604,
7923,
309,
268,
18,
1132,
30,
365,
18,
2626,
2932,
7566,
13,
365,
18,
10739,
12,
88,
18,
1132,
13,
365,
18,
2626,
2932,
2225,
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,
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
18,
2626,
2932,
23604,
7923,
309,
268,
18,
1132,
30,
365,
18,
2626,
2932,
7566,
13,
365,
18,
10739,
12,
88,
18,
1132,
13,
365,
18,
2626,
2932,
2225,
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
] |
okButton = (okMsg, gtk.STOCK_OK, gtk.RESPONSE_OK)
|
okButton = (okMsg, gtk.STOCK_OK, gtk.RESPONSE_YES)
|
def AskUser(self, plugin, conflict): msg = "" okMsg = "" cancelMsg = "" widgets = [] if conflict[0] == 'ConflictFeature': msg = _("Plugin <b>%(plugin_conflict)s</b> provides feature <b>%(feature)s</b> which is also "\ "provided by <b>%(plugin)s</b>") msg_dict = {'plugin_conflict': conflict[2][0].ShortDesc, 'feature': conflict[1], 'plugin': plugin.ShortDesc}
|
a0d0518f15833c94b8aed590689609046786c79b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7062/a0d0518f15833c94b8aed590689609046786c79b/Conflicts.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25747,
1299,
12,
2890,
16,
1909,
16,
7546,
4672,
1234,
273,
1408,
1529,
3332,
273,
1408,
3755,
3332,
273,
1408,
10965,
273,
5378,
309,
7546,
63,
20,
65,
422,
296,
10732,
4595,
4278,
1234,
273,
389,
2932,
3773,
411,
70,
9822,
12,
4094,
67,
20340,
13,
87,
1757,
70,
34,
8121,
2572,
411,
70,
9822,
12,
7238,
13,
87,
1757,
70,
34,
1492,
353,
2546,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25747,
1299,
12,
2890,
16,
1909,
16,
7546,
4672,
1234,
273,
1408,
1529,
3332,
273,
1408,
3755,
3332,
273,
1408,
10965,
273,
5378,
309,
7546,
63,
20,
65,
422,
296,
10732,
4595,
4278,
1234,
273,
389,
2932,
3773,
411,
70,
9822,
12,
4094,
67,
20340,
13,
87,
1757,
70,
34,
8121,
2572,
411,
70,
9822,
12,
7238,
13,
87,
1757,
70,
34,
1492,
353,
2546,
1548,
315,
29206,
635,
411,
70,
9822,
12,
4094,
13,
87,
1757,
70,
2984,
13,
225,
1234,
67,
1576,
273,
13666,
4094,
67,
20340,
4278,
7546,
63,
22,
6362,
20,
8009,
4897,
4217,
16,
296,
7238,
4278,
7546,
63,
21,
6487,
296,
4094,
4278,
1909,
18,
4897,
4217,
97,
2,
-100,
-100,
-100,
-100
] |
userInfoDirName = userInfoDirName + now.strftime("%Y-%m-%d|%H:%M:%S")
|
userInfoDirName = userInfoDirName + now.strftime("%Y-%m-%d-%H:%M:%S")
|
def renameDataFiles(directory):
|
cffced03fa0448a9e7b82f550e370686bfa0b8e9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/cffced03fa0448a9e7b82f550e370686bfa0b8e9/feedback_report.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6472,
751,
2697,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6472,
751,
2697,
12,
5149,
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
] |
cur.last_ship+=1 return Unit()
|
self.cur.last_ship+=1 return VS.Unit()
|
def decideMode(): if (cur.this_unit.isNull()): SetModeZero() return cur.this_unit significant_unit = HaveWeSignificant() if (significant_unit.isNull()): un=VS.getUnit(cur.last_ship) if (un.isNull ()): SetModeZero() else: sd = cur.significant_distance if ((un.getSignificantDistance(cur.this_unit)<sd) and (un.isSignificant())): SetModeOne (un) return un cur.last_ship+=1 return Unit() else: #significant_unit is something.... lets see what it is cursys = VS.getSystemFile() if (cursys== cur.lastsys): dd = cur.detection_distance if (cur.this_unit.getSignificantDistance (significant_unit)>dd): SetModeZero () return VS.Unit() else: return significant_unit else: print "different" cur.lastsys=cursys SetModeZero() significant_unit.setNull () return significant_unit
|
0196b99221f192e1640b9a18a3f627096af1b5a1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/0196b99221f192e1640b9a18a3f627096af1b5a1/random_encounters.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16288,
2309,
13332,
309,
261,
1397,
18,
2211,
67,
4873,
18,
291,
2041,
1435,
4672,
1000,
2309,
7170,
1435,
327,
662,
18,
2211,
67,
4873,
14177,
67,
4873,
273,
21940,
3218,
29822,
1435,
309,
261,
2977,
11120,
67,
4873,
18,
291,
2041,
1435,
4672,
640,
33,
14640,
18,
588,
2802,
12,
1397,
18,
2722,
67,
3261,
13,
309,
261,
318,
18,
291,
2041,
1832,
4672,
1000,
2309,
7170,
1435,
469,
30,
8349,
273,
662,
18,
2977,
11120,
67,
8969,
309,
14015,
318,
18,
588,
29822,
7200,
12,
1397,
18,
2211,
67,
4873,
13,
32,
6427,
13,
471,
261,
318,
18,
291,
29822,
1435,
3719,
30,
1000,
2309,
3335,
261,
318,
13,
327,
640,
365,
18,
1397,
18,
2722,
67,
3261,
15,
33,
21,
327,
776,
55,
18,
2802,
1435,
469,
30,
468,
2977,
11120,
67,
4873,
353,
5943,
6265,
14557,
2621,
4121,
518,
353,
662,
9499,
273,
776,
55,
18,
588,
3163,
812,
1435,
309,
261,
2789,
1900,
631,
662,
18,
2722,
9499,
4672,
6957,
273,
662,
18,
27515,
67,
8969,
309,
261,
1397,
18,
2211,
67,
4873,
18,
588,
29822,
7200,
261,
2977,
11120,
67,
4873,
13,
34,
449,
4672,
1000,
2309,
7170,
1832,
327,
776,
55,
18,
2802,
1435,
469,
30,
327,
14177,
67,
4873,
469,
30,
1172,
315,
30738,
6,
662,
18,
2722,
9499,
33,
2789,
1900,
1000,
2309,
7170,
1435,
14177,
67,
4873,
18,
542,
2041,
1832,
327,
14177,
67,
4873,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16288,
2309,
13332,
309,
261,
1397,
18,
2211,
67,
4873,
18,
291,
2041,
1435,
4672,
1000,
2309,
7170,
1435,
327,
662,
18,
2211,
67,
4873,
14177,
67,
4873,
273,
21940,
3218,
29822,
1435,
309,
261,
2977,
11120,
67,
4873,
18,
291,
2041,
1435,
4672,
640,
33,
14640,
18,
588,
2802,
12,
1397,
18,
2722,
67,
3261,
13,
309,
261,
318,
18,
291,
2041,
1832,
4672,
1000,
2309,
7170,
1435,
469,
30,
8349,
273,
662,
18,
2977,
11120,
67,
8969,
309,
14015,
318,
18,
588,
29822,
7200,
12,
1397,
18,
2211,
67,
4873,
13,
32,
6427,
13,
471,
261,
318,
18,
291,
29822,
1435,
3719,
30,
1000,
2309,
3335,
261,
318,
13,
327,
640,
365,
18,
1397,
18,
2722,
2
] |
'single_string': [ (r"'", String, " include('string'), ],
|
def word_callback(lexer, match): word = match.group()
|
9c5ca917dfe1bfdbc163608e8673107dd92263fe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6148/9c5ca917dfe1bfdbc163608e8673107dd92263fe/other.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2076,
67,
3394,
12,
31731,
16,
845,
4672,
2076,
273,
845,
18,
1655,
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,
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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,
2076,
67,
3394,
12,
31731,
16,
845,
4672,
2076,
273,
845,
18,
1655,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
at, length = [int(c) for c in self.status['time'].split(':')]
|
at, _length = [int(c) for c in self.status['time'].split(':')]
|
def _seek_when_idle(self, direction): at, length = [int(c) for c in self.status['time'].split(':')] try: if direction == gtk.gdk.SCROLL_UP: seektime = int(self.status['time'].split(":")[0]) + 5 if seektime < 0: seektime = 0 elif direction == gtk.gdk.SCROLL_DOWN: seektime = int(self.status['time'].split(":")[0]) - 5 if seektime > mpdh.get(self.songinfo, 'time'): seektime = mpdh.get(self.songinfo, 'time') self.seek(int(self.status['song']), seektime) except: pass
|
a611157e0fc7d242d58df67886095dce4cc46388 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2312/a611157e0fc7d242d58df67886095dce4cc46388/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
16508,
67,
13723,
67,
20390,
12,
2890,
16,
4068,
4672,
622,
16,
389,
2469,
273,
306,
474,
12,
71,
13,
364,
276,
316,
365,
18,
2327,
3292,
957,
29489,
4939,
2668,
2497,
25887,
775,
30,
309,
4068,
422,
22718,
18,
75,
2883,
18,
2312,
14555,
67,
3079,
30,
6520,
957,
273,
509,
12,
2890,
18,
2327,
3292,
957,
29489,
4939,
2932,
2773,
25146,
20,
5717,
397,
1381,
309,
6520,
957,
411,
374,
30,
6520,
957,
273,
374,
1327,
4068,
422,
22718,
18,
75,
2883,
18,
2312,
14555,
67,
12711,
30,
6520,
957,
273,
509,
12,
2890,
18,
2327,
3292,
957,
29489,
4939,
2932,
2773,
25146,
20,
5717,
300,
1381,
309,
6520,
957,
405,
6749,
19153,
18,
588,
12,
2890,
18,
816,
75,
1376,
16,
296,
957,
11,
4672,
6520,
957,
273,
6749,
19153,
18,
588,
12,
2890,
18,
816,
75,
1376,
16,
296,
957,
6134,
365,
18,
16508,
12,
474,
12,
2890,
18,
2327,
3292,
816,
75,
3546,
3631,
6520,
957,
13,
1335,
30,
1342,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16508,
67,
13723,
67,
20390,
12,
2890,
16,
4068,
4672,
622,
16,
389,
2469,
273,
306,
474,
12,
71,
13,
364,
276,
316,
365,
18,
2327,
3292,
957,
29489,
4939,
2668,
2497,
25887,
775,
30,
309,
4068,
422,
22718,
18,
75,
2883,
18,
2312,
14555,
67,
3079,
30,
6520,
957,
273,
509,
12,
2890,
18,
2327,
3292,
957,
29489,
4939,
2932,
2773,
25146,
20,
5717,
397,
1381,
309,
6520,
957,
411,
374,
30,
6520,
957,
273,
374,
1327,
4068,
422,
22718,
18,
75,
2883,
18,
2312,
14555,
67,
12711,
30,
6520,
957,
273,
509,
12,
2890,
18,
2327,
3292,
957,
29489,
4939,
2932,
2773,
25146,
20,
5717,
300,
1381,
309,
6520,
957,
405,
6749,
19153,
18,
588,
2
] |
FactoidName.values = relation(FactoidValue, uselist=True, primaryjoin=FactoidName.factoid_id==FactoidValue.factoid_id, foreign_keys=[FactoidValue.factoid_id]) FactoidValue.names = relation(FactoidName, uselist=True, primaryjoin=FactoidName.factoid_id==FactoidValue.factoid_id, foreign_keys=[FactoidName.factoid_id])
|
FactoidName.values = relation(FactoidValue, uselist=True, primaryjoin=FactoidName.factoid_id==FactoidValue.factoid_id, foreign_keys=[FactoidValue.factoid_id], cascade='') FactoidValue.names = relation(FactoidName, uselist=True, primaryjoin=FactoidName.factoid_id==FactoidValue.factoid_id, foreign_keys=[FactoidName.factoid_id], cascade='')
|
def __repr__(self): return u'<FactoidValue %s %s>' % (self.factoid_id, self.value)
|
9a726f2057fc75eb5ff00189befa3ca1a4b7d714 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/9a726f2057fc75eb5ff00189befa3ca1a4b7d714/factoid.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
582,
11,
32,
9766,
839,
620,
738,
87,
738,
87,
1870,
738,
261,
2890,
18,
3493,
839,
67,
350,
16,
365,
18,
1132,
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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,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
582,
11,
32,
9766,
839,
620,
738,
87,
738,
87,
1870,
738,
261,
2890,
18,
3493,
839,
67,
350,
16,
365,
18,
1132,
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
] |
docstring = self.unindent_docstring(api_doc.docstring)
|
api_doc.docstring = self.unindent_docstring(api_doc.docstring)
|
def parse_docstring(self, api_doc): self.initialize_api_doc(api_doc)
|
eb248e582f99710fcfffa759181e110d858f0910 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/eb248e582f99710fcfffa759181e110d858f0910/docstringparser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
24675,
12,
2890,
16,
1536,
67,
2434,
4672,
365,
18,
11160,
67,
2425,
67,
2434,
12,
2425,
67,
2434,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
24675,
12,
2890,
16,
1536,
67,
2434,
4672,
365,
18,
11160,
67,
2425,
67,
2434,
12,
2425,
67,
2434,
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
] |
self.fail_test(1)
|
self.fail_test(1, dump_stdio = 0)
|
def run_build_system( self, extra_args='', subdir='', stdout = None, stderr = '', status = 0, match = None, pass_toolset = None, **kw):
|
acb95541c1ae810986670149b66b15b0bccaf0a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9981/acb95541c1ae810986670149b66b15b0bccaf0a8/BoostBuild.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
3510,
67,
4299,
12,
365,
16,
2870,
67,
1968,
2218,
2187,
16921,
2218,
2187,
3909,
273,
599,
16,
4514,
273,
10226,
1267,
273,
374,
16,
845,
273,
599,
16,
1342,
67,
6738,
542,
273,
599,
16,
2826,
9987,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
3510,
67,
4299,
12,
365,
16,
2870,
67,
1968,
2218,
2187,
16921,
2218,
2187,
3909,
273,
599,
16,
4514,
273,
10226,
1267,
273,
374,
16,
845,
273,
599,
16,
1342,
67,
6738,
542,
273,
599,
16,
2826,
9987,
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
] |
prefixes = {}
|
flags = {}
|
def __str__(self): fieldsep = " = " s = "" if self.name: s += "= %s\n" % self.name else: for id in self.identifier(): s += "= %s\n" % id for line in self.comment: s += "\t; %s\n" % line for key in sortfields(self.keys()): if key == "flags": value = list(self.flags) if len(value) == 0: continue value.sort() value = ", ".join(value) else: key, value = fix_fieldname(key), self[key] if value == None: value = "(none)" s += "\t%s\n" % fieldsep.join((key, value)) if len(self.flags) > 0: value = list(self.flags) value.sort() ## group by prefix prefixes = {} for i in value: p, v = i.split(":", 2) if ":" in i else (None, i) prefixes[p] = prefixes.get(p, []) + [v] unprinted = [] for p, v in prefixes.items(): if len(v) >= 3: v = ", ".join(v) s += "\t%s\n" % fieldsep.join(("flags:%s" % p, v)) else: unprinted.extend([("%s:%s" % (p,f) if p is not None else f) for f in v]) value = unprinted value = ", ".join(value) s += "\t%s\n" % fieldsep.join(("flags", value)) return s
|
c778e75b1091c4353bd2128d8a90f713a34ccb0a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4609/c778e75b1091c4353bd2128d8a90f713a34ccb0a/accdb.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
652,
10814,
273,
315,
273,
315,
272,
273,
1408,
309,
365,
18,
529,
30,
272,
1011,
29199,
738,
87,
64,
82,
6,
738,
365,
18,
529,
469,
30,
364,
612,
316,
365,
18,
5644,
13332,
272,
1011,
29199,
738,
87,
64,
82,
6,
738,
612,
364,
980,
316,
365,
18,
3469,
30,
272,
1011,
1548,
88,
31,
738,
87,
64,
82,
6,
738,
980,
364,
498,
316,
1524,
2821,
12,
2890,
18,
2452,
1435,
4672,
309,
498,
422,
315,
7133,
6877,
460,
273,
666,
12,
2890,
18,
7133,
13,
309,
562,
12,
1132,
13,
422,
374,
30,
1324,
460,
18,
3804,
1435,
460,
273,
3104,
3552,
5701,
12,
1132,
13,
469,
30,
498,
16,
460,
273,
2917,
67,
1518,
529,
12,
856,
3631,
365,
63,
856,
65,
309,
460,
422,
599,
30,
460,
273,
7751,
6102,
2225,
272,
1011,
1548,
88,
9,
87,
64,
82,
6,
738,
652,
10814,
18,
5701,
12443,
856,
16,
460,
3719,
225,
309,
562,
12,
2890,
18,
7133,
13,
405,
374,
30,
460,
273,
666,
12,
2890,
18,
7133,
13,
460,
18,
3804,
1435,
225,
7541,
1041,
635,
1633,
2943,
273,
2618,
364,
277,
316,
460,
30,
293,
16,
331,
273,
277,
18,
4939,
2932,
2773,
16,
576,
13,
309,
6153,
316,
277,
469,
261,
7036,
16,
277,
13,
9419,
63,
84,
65,
273,
9419,
18,
588,
12,
84,
16,
5378,
13,
397,
306,
90,
65,
225,
640,
1188,
329,
273,
5378,
364,
293,
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,
1001,
701,
972,
12,
2890,
4672,
652,
10814,
273,
315,
273,
315,
272,
273,
1408,
309,
365,
18,
529,
30,
272,
1011,
29199,
738,
87,
64,
82,
6,
738,
365,
18,
529,
469,
30,
364,
612,
316,
365,
18,
5644,
13332,
272,
1011,
29199,
738,
87,
64,
82,
6,
738,
612,
364,
980,
316,
365,
18,
3469,
30,
272,
1011,
1548,
88,
31,
738,
87,
64,
82,
6,
738,
980,
364,
498,
316,
1524,
2821,
12,
2890,
18,
2452,
1435,
4672,
309,
498,
422,
315,
7133,
6877,
460,
273,
666,
12,
2890,
18,
7133,
13,
309,
562,
12,
1132,
13,
422,
374,
30,
1324,
460,
18,
3804,
1435,
460,
273,
3104,
3552,
5701,
12,
1132,
13,
469,
30,
2
] |
class _test_vert_slicing(ScipyTestCase):
|
class _test_vert_slicing:
|
def check_get_horiz_slice(self): """Test for new slice functionality (EJS)""" B = asmatrix(arange(50.).reshape(5,10)) A = self.spmatrix(B) assert_array_equal(B[1,:], A[1,:].todense()) assert_array_equal(B[1,2:5], A[1,2:5].todense())
|
6629c0b7aeb5a52e13a6a827d4efca3e5b354615 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/6629c0b7aeb5a52e13a6a827d4efca3e5b354615/test_sparse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
588,
67,
76,
5331,
67,
6665,
12,
2890,
4672,
3536,
4709,
364,
394,
2788,
14176,
261,
41,
6479,
15574,
605,
273,
487,
5667,
12,
297,
726,
12,
3361,
18,
2934,
1955,
1273,
12,
25,
16,
2163,
3719,
432,
273,
365,
18,
1752,
5667,
12,
38,
13,
1815,
67,
1126,
67,
9729,
12,
38,
63,
21,
16,
30,
6487,
432,
63,
21,
16,
30,
8009,
88,
369,
3558,
10756,
1815,
67,
1126,
67,
9729,
12,
38,
63,
21,
16,
22,
30,
25,
6487,
432,
63,
21,
16,
22,
30,
25,
8009,
88,
369,
3558,
10756,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
588,
67,
76,
5331,
67,
6665,
12,
2890,
4672,
3536,
4709,
364,
394,
2788,
14176,
261,
41,
6479,
15574,
605,
273,
487,
5667,
12,
297,
726,
12,
3361,
18,
2934,
1955,
1273,
12,
25,
16,
2163,
3719,
432,
273,
365,
18,
1752,
5667,
12,
38,
13,
1815,
67,
1126,
67,
9729,
12,
38,
63,
21,
16,
30,
6487,
432,
63,
21,
16,
30,
8009,
88,
369,
3558,
10756,
1815,
67,
1126,
67,
9729,
12,
38,
63,
21,
16,
22,
30,
25,
6487,
432,
63,
21,
16,
22,
30,
25,
8009,
88,
369,
3558,
10756,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
msg = self._render_record(status_code, subdir, operation, status, epoch_time, optional_fields=optional_fields)
|
msg = self._render_record(status_code, subdir, operation, status, epoch_time, optional_fields=optional_fields)
|
def _record(self, status_code, subdir, operation, status='', epoch_time=None, optional_fields=None): """ Actual function for recording a single line into the status logs. Should never be called directly, only by job.record as this would bypass the console monitor logging. """
|
de3b947fa13191b5aa3e650f64a2581f6921c95c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/de3b947fa13191b5aa3e650f64a2581f6921c95c/server_job.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3366,
12,
2890,
16,
1267,
67,
710,
16,
16921,
16,
1674,
16,
1267,
2218,
2187,
7632,
67,
957,
33,
7036,
16,
3129,
67,
2821,
33,
7036,
4672,
3536,
23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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3366,
12,
2890,
16,
1267,
67,
710,
16,
16921,
16,
1674,
16,
1267,
2218,
2187,
7632,
67,
957,
33,
7036,
16,
3129,
67,
2821,
33,
7036,
4672,
3536,
23788,
445,
364,
14949,
279,
2202,
980,
1368,
326,
1267,
5963,
18,
9363,
5903,
506,
2566,
5122,
16,
1338,
635,
1719,
18,
3366,
487,
333,
4102,
17587,
326,
2983,
6438,
2907,
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
] |
fvalue, format = self.scale(data, w, h) value = fvalue.read() return value
|
fvalue, format = self.scale(value, w, h) data = fvalue.read() else: data = str(value.data) else: data = str(value.data) return data
|
def rescaleOriginal(self, value, **kwargs): """rescales the original image and sets the data
|
809657aff1e48a9eb15209837cdae668475834bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/809657aff1e48a9eb15209837cdae668475834bc/Field.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
30323,
8176,
12,
2890,
16,
460,
16,
2826,
4333,
4672,
3536,
455,
21177,
326,
2282,
1316,
471,
1678,
326,
501,
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
] |
[
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
30323,
8176,
12,
2890,
16,
460,
16,
2826,
4333,
4672,
3536,
455,
21177,
326,
2282,
1316,
471,
1678,
326,
501,
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
] |
def __init__(data = None)
|
def __init__(data = None):
|
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 606) else quickfix.StringField.__init__(self, 606, 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,
780,
974,
16186,
2738,
972,
12,
2890,
16,
4752,
26,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
4752,
26,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
4752,
26,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
4752,
26,
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
] |
def decode(cls, value): if not value: return None return int(value)
|
def to_unicode(cls, value): if value is None: return u'' return unicode(value)
|
def decode(cls, value): if not value: return None return int(value)
|
8bbb2a3fb14f7652affdf75eb3a99e780e8e2232 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/8bbb2a3fb14f7652affdf75eb3a99e780e8e2232/IO.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2495,
12,
6429,
16,
460,
4672,
309,
486,
460,
30,
327,
599,
327,
509,
12,
1132,
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,
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4672,
309,
486,
460,
30,
327,
599,
327,
509,
12,
1132,
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,
-100,
-100,
-100
] |
lallappsNewcorseNode = {} lallappsNewcorseNodeCombined = {}
|
lalappsNewcorseNode = {} lalappsNewcorseNodeCombined = {}
|
def grep_pieces_and_append(string, inname, outname, append_cache=None): expr = re.compile(string) new_list = filter(expr.search,open(inname).readlines()) new_list.sort() print len(new_list) outnames = [] try: os.mkdir(outname) except: pass # To make sure that includes slides and zero lag for i in range(len(new_list)): if not i % 10: outnames.append(outname+"/"+outname+"_"+str(i)) o = open(outnames[-1]+".cache", "w") if append_cache: o.write(''.join(append_cache)) print "grepping " + inname + " for " + string + " and sending it to " + outnames[-1] + ".cache" o.write(new_list[i]) o.write(new_list[i].replace('THINCA_SECOND','THINCA_SLIDE_SECOND')) return outnames
|
0b97313a1079214d63930999cbf916815e37ccaf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/0b97313a1079214d63930999cbf916815e37ccaf/highmass_post_process.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23366,
67,
31016,
67,
464,
67,
6923,
12,
1080,
16,
316,
529,
16,
596,
529,
16,
714,
67,
2493,
33,
7036,
4672,
3065,
273,
283,
18,
11100,
12,
1080,
13,
394,
67,
1098,
273,
1034,
12,
8638,
18,
3072,
16,
3190,
12,
267,
529,
2934,
896,
3548,
10756,
394,
67,
1098,
18,
3804,
1435,
1172,
562,
12,
2704,
67,
1098,
13,
596,
1973,
273,
5378,
775,
30,
1140,
18,
26686,
12,
659,
529,
13,
1335,
30,
1342,
468,
2974,
1221,
3071,
716,
6104,
30119,
471,
3634,
17241,
364,
277,
316,
1048,
12,
1897,
12,
2704,
67,
1098,
3719,
30,
309,
486,
277,
738,
1728,
30,
596,
1973,
18,
6923,
12,
659,
529,
9078,
4898,
15,
659,
529,
9078,
9548,
15,
701,
12,
77,
3719,
320,
273,
1696,
12,
659,
1973,
18919,
21,
3737,
9654,
2493,
3113,
315,
91,
7923,
309,
714,
67,
2493,
30,
320,
18,
2626,
2668,
10332,
5701,
12,
6923,
67,
2493,
3719,
1172,
315,
11556,
84,
1382,
315,
397,
316,
529,
397,
315,
364,
315,
397,
533,
397,
315,
471,
5431,
518,
358,
315,
397,
596,
1973,
18919,
21,
65,
397,
3552,
2493,
6,
320,
18,
2626,
12,
2704,
67,
1098,
63,
77,
5717,
320,
18,
2626,
12,
2704,
67,
1098,
63,
77,
8009,
2079,
2668,
2455,
706,
3587,
67,
16328,
17023,
2455,
706,
3587,
67,
4559,
10385,
67,
16328,
26112,
327,
596,
1973,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23366,
67,
31016,
67,
464,
67,
6923,
12,
1080,
16,
316,
529,
16,
596,
529,
16,
714,
67,
2493,
33,
7036,
4672,
3065,
273,
283,
18,
11100,
12,
1080,
13,
394,
67,
1098,
273,
1034,
12,
8638,
18,
3072,
16,
3190,
12,
267,
529,
2934,
896,
3548,
10756,
394,
67,
1098,
18,
3804,
1435,
1172,
562,
12,
2704,
67,
1098,
13,
596,
1973,
273,
5378,
775,
30,
1140,
18,
26686,
12,
659,
529,
13,
1335,
30,
1342,
468,
2974,
1221,
3071,
716,
6104,
30119,
471,
3634,
17241,
364,
277,
316,
1048,
12,
1897,
12,
2704,
67,
1098,
3719,
30,
309,
486,
277,
738,
1728,
30,
596,
1973,
18,
6923,
12,
659,
529,
9078,
4898,
15,
659,
529,
9078,
2
] |
if self.in_table and line[0:2] != '||':
|
if self.in_table and line.strip()[0:2] != '||':
|
def format(self, text, out, escape_newlines=False): self.out = out self._open_tags = [] self._list_stack = []
|
b58e8423db09428b69520e30ab303fa460c5a405 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/b58e8423db09428b69520e30ab303fa460c5a405/formatter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
12,
2890,
16,
977,
16,
596,
16,
4114,
67,
31276,
33,
8381,
4672,
365,
18,
659,
273,
596,
365,
6315,
3190,
67,
4156,
273,
5378,
365,
6315,
1098,
67,
3772,
273,
5378,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
12,
2890,
16,
977,
16,
596,
16,
4114,
67,
31276,
33,
8381,
4672,
365,
18,
659,
273,
596,
365,
6315,
3190,
67,
4156,
273,
5378,
365,
6315,
1098,
67,
3772,
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,
-100,
-100
] |
'testrunner.txt',
|
os.path.join('..', 'testrunner.txt'),
|
def tearDown(test): sys.path[:], sys.argv[:] = test.globs['saved-sys-info'][:2] gc.set_threshold(*test.globs['saved-sys-info'][3]) sys.modules.clear() sys.modules.update(test.globs['saved-sys-info'][2])
|
f8a30d20635688010d9b6c3351bb0f4545bbb396 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4163/f8a30d20635688010d9b6c3351bb0f4545bbb396/test_testsetup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
2091,
4164,
12,
3813,
4672,
2589,
18,
803,
10531,
6487,
2589,
18,
19485,
10531,
65,
273,
1842,
18,
10581,
87,
3292,
14077,
17,
9499,
17,
1376,
3546,
10531,
22,
65,
8859,
18,
542,
67,
8699,
30857,
3813,
18,
10581,
87,
3292,
14077,
17,
9499,
17,
1376,
3546,
63,
23,
5717,
2589,
18,
6400,
18,
8507,
1435,
2589,
18,
6400,
18,
2725,
12,
3813,
18,
10581,
87,
3292,
14077,
17,
9499,
17,
1376,
3546,
63,
22,
5717,
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,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3546,
10531,
22,
65,
8859,
18,
542,
67,
8699,
30857,
3813,
18,
10581,
87,
3292,
14077,
17,
9499,
17,
1376,
3546,
63,
23,
5717,
2589,
18,
6400,
18,
8507,
1435,
2589,
18,
6400,
18,
2725,
12,
3813,
18,
10581,
87,
3292,
14077,
17,
9499,
17,
1376,
3546,
63,
22,
5717,
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
] |
if reduced.find("-") != -1: (v, r) = reduced.split("-", 1) return (v, r)
|
def get_running_kernel_version_release(ts): """This takes the output of uname and figures out the (version, release) tuple for the running kernel.""" ver = os.uname()[2] reduced = ver # FIXME this should probably get passed this list from somewhere in config # possibly from the kernelpkgnames option for s in ("bigmem", "enterprise", "smp", "hugemem", "PAE", "rt", "guest", "hypervisor", "xen0", "xenU", "xen", "debug", "PAE-debug"): if ver.endswith(s): reduced = ver.replace(s, "") if reduced.find("-") != -1: (v, r) = reduced.split("-", 1) return (v, r) # we've got nothing so far, so... we glob for the file that MIGHT have # this kernels and then look up the file in our rpmdb fns = glob.glob('/boot/vmlinuz*%s*' % ver) for fn in fns: mi = ts.dbMatch('basenames', fn) for h in mi: return (h['version'], h['release']) return (None, None)
|
c890eb8e6596bc0e7c94af5400cda064a19b034f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/c890eb8e6596bc0e7c94af5400cda064a19b034f/misc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
8704,
67,
8111,
67,
1589,
67,
9340,
12,
3428,
4672,
3536,
2503,
5530,
326,
876,
434,
31444,
471,
4291,
1823,
596,
326,
261,
1589,
16,
3992,
13,
3193,
364,
326,
3549,
5536,
12123,
1924,
273,
1140,
18,
318,
339,
1435,
63,
22,
65,
13162,
273,
1924,
468,
9852,
333,
1410,
8656,
336,
2275,
333,
666,
628,
22234,
316,
642,
468,
10016,
628,
326,
24579,
1992,
79,
1600,
753,
1456,
364,
272,
316,
7566,
14002,
3917,
3113,
315,
2328,
12113,
3113,
315,
87,
1291,
3113,
315,
76,
637,
351,
351,
3113,
315,
4066,
41,
3113,
315,
3797,
3113,
315,
18908,
3113,
315,
17203,
10227,
3113,
315,
92,
275,
20,
3113,
315,
92,
275,
57,
3113,
315,
92,
275,
3113,
315,
4148,
3113,
315,
4066,
41,
17,
4148,
6,
4672,
309,
1924,
18,
5839,
1918,
12,
87,
4672,
13162,
273,
1924,
18,
2079,
12,
87,
16,
1408,
13,
225,
468,
732,
8081,
2363,
5083,
1427,
10247,
16,
1427,
2777,
732,
4715,
364,
326,
585,
716,
490,
7700,
1240,
468,
333,
5536,
87,
471,
1508,
2324,
731,
326,
585,
316,
3134,
8715,
27574,
21930,
273,
4715,
18,
10581,
2668,
19,
7137,
19,
90,
781,
6860,
94,
14,
9,
87,
4035,
738,
1924,
13,
364,
2295,
316,
21930,
30,
12837,
273,
3742,
18,
1966,
2060,
2668,
9157,
6809,
2187,
2295,
13,
364,
366,
316,
12837,
30,
327,
261,
76,
3292,
1589,
17337,
366,
3292,
9340,
19486,
225,
327,
261,
7036,
16,
599,
13,
282,
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,
336,
67,
8704,
67,
8111,
67,
1589,
67,
9340,
12,
3428,
4672,
3536,
2503,
5530,
326,
876,
434,
31444,
471,
4291,
1823,
596,
326,
261,
1589,
16,
3992,
13,
3193,
364,
326,
3549,
5536,
12123,
1924,
273,
1140,
18,
318,
339,
1435,
63,
22,
65,
13162,
273,
1924,
468,
9852,
333,
1410,
8656,
336,
2275,
333,
666,
628,
22234,
316,
642,
468,
10016,
628,
326,
24579,
1992,
79,
1600,
753,
1456,
364,
272,
316,
7566,
14002,
3917,
3113,
315,
2328,
12113,
3113,
315,
87,
1291,
3113,
315,
76,
637,
351,
351,
3113,
315,
4066,
41,
3113,
315,
3797,
3113,
315,
18908,
3113,
315,
17203,
10227,
3113,
315,
92,
275,
20,
3113,
315,
92,
275,
57,
3113,
315,
92,
2
] |
|
('wisbn', 'isbn'), ('wpublisher', 'publisher'),
|
('wisbn', ['isbn_10', 'isbn_13']), ('wpublisher', 'publishers'),
|
def POST(self): i = web.input(wtitle='', wauthor='', wtopic='', wisbn='', wpublisher='', wdescription='', psort_order='', pfulltext='', ftokens=[], q='', ) results = [] qresults = web.storage(begin=0, total_results=0) facets = [] errortext = None
|
68ce85c697d065a1f712ca5a13670a5844d9a571 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/68ce85c697d065a1f712ca5a13670a5844d9a571/code.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5485,
12,
2890,
4672,
277,
273,
3311,
18,
2630,
12,
91,
2649,
2218,
2187,
341,
4161,
2218,
2187,
341,
10476,
2218,
2187,
341,
291,
13392,
2218,
2187,
6357,
2394,
264,
2218,
2187,
341,
3384,
2218,
2187,
293,
3804,
67,
1019,
2218,
2187,
293,
2854,
955,
2218,
2187,
284,
7860,
22850,
6487,
1043,
2218,
2187,
262,
1686,
273,
5378,
1043,
4717,
273,
3311,
18,
5697,
12,
10086,
33,
20,
16,
2078,
67,
4717,
33,
20,
13,
21681,
273,
5378,
393,
499,
408,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5485,
12,
2890,
4672,
277,
273,
3311,
18,
2630,
12,
91,
2649,
2218,
2187,
341,
4161,
2218,
2187,
341,
10476,
2218,
2187,
341,
291,
13392,
2218,
2187,
6357,
2394,
264,
2218,
2187,
341,
3384,
2218,
2187,
293,
3804,
67,
1019,
2218,
2187,
293,
2854,
955,
2218,
2187,
284,
7860,
22850,
6487,
1043,
2218,
2187,
262,
1686,
273,
5378,
1043,
4717,
273,
3311,
18,
5697,
12,
10086,
33,
20,
16,
2078,
67,
4717,
33,
20,
13,
21681,
273,
5378,
393,
499,
408,
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
] |
words = line.split() if len(words) == 2 and words[0] == "URL:": url = words[1]
|
if line.startswith("URL: "): url = line.split()[1]
|
def _GuessBase(self, required): """Returns the SVN base URL.
|
f1a1421aef0b4c5d48e921c69f1856ba8323c2d4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/476/f1a1421aef0b4c5d48e921c69f1856ba8323c2d4/upload.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
15977,
2171,
12,
2890,
16,
1931,
4672,
3536,
1356,
326,
29537,
50,
1026,
1976,
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,
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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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
gv_sign = self._arg_imm_op(gv_arg, self.rgenop.genconst(31), _PPC.srawi)
|
gv_sign = self._arg_uimm_op(gv_arg, self.rgenop.genconst(31), _PPC.srawi)
|
def op_int_abs(self, gv_arg): gv_sign = self._arg_imm_op(gv_arg, self.rgenop.genconst(31), _PPC.srawi) gv_maybe_inverted = self._arg_arg_op(gv_arg, gv_sign, _PPC.xor) return self._arg_arg_op(gv_sign, gv_maybe_inverted, _PPC.subf)
|
1a13bb2e4052fbbe77efb6b6dbf2fa6c38d03672 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/1a13bb2e4052fbbe77efb6b6dbf2fa6c38d03672/rgenop.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1061,
67,
474,
67,
5113,
12,
2890,
16,
11404,
67,
3175,
4672,
11404,
67,
2977,
273,
365,
6315,
3175,
67,
89,
381,
81,
67,
556,
12,
75,
90,
67,
3175,
16,
365,
18,
86,
4507,
556,
18,
4507,
10248,
12,
6938,
3631,
389,
52,
3513,
18,
87,
1899,
77,
13,
11404,
67,
19133,
67,
267,
25631,
273,
365,
6315,
3175,
67,
3175,
67,
556,
12,
75,
90,
67,
3175,
16,
11404,
67,
2977,
16,
389,
52,
3513,
18,
31346,
13,
327,
365,
6315,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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,
1061,
67,
474,
67,
5113,
12,
2890,
16,
11404,
67,
3175,
4672,
11404,
67,
2977,
273,
365,
6315,
3175,
67,
89,
381,
81,
67,
556,
12,
75,
90,
67,
3175,
16,
365,
18,
86,
4507,
556,
18,
4507,
10248,
12,
6938,
3631,
389,
52,
3513,
18,
87,
1899,
77,
13,
11404,
67,
19133,
67,
267,
25631,
273,
365,
6315,
3175,
67,
3175,
67,
556,
12,
75,
90,
67,
3175,
16,
11404,
67,
2977,
16,
389,
52,
3513,
18,
31346,
13,
327,
365,
6315,
3175,
67,
3175,
67,
556,
12,
75,
90,
67,
2977,
16,
11404,
67,
19133,
67,
267,
25631,
16,
389,
52,
3513,
18,
1717,
74,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
[2*5 + 2*5^2 + 4*5^3 + 3*5^4 + 3*5^5 + 4*5^6 + 3*5^7 + 4*5^8 + O(5^9) 2*5 + 3*5^2 + 3*5^3 + 3*5^4 + 2*5^5 + O(5^7)] [ 2*5 + 3*5^2 + 3*5^3 + 3*5^4 + 2*5^5 + O(5^7) 3*5^3 + 5^4 + 5^6 + O(5^7)]
|
[2*5 + 2*5^2 + 4*5^3 + 3*5^4 + 3*5^5 + 4*5^6 + 3*5^7 + 4*5^8 + O(5^9) 4*5 + 3*5^3 + 2*5^4 + 5^5 + 3*5^7 + 3*5^8 + O(5^9)] [ 4*5 + 3*5^3 + 2*5^4 + 5^5 + 3*5^7 + 3*5^8 + O(5^9) 5 + 4*5^2 + 4*5^3 + 2*5^4 + 4*5^5 + 5^6 + O(5^9)]
|
def padic_height_pairing_matrix(self, p, prec=20, height=None, check_hypotheses=True): r""" Computes the cyclotomic $p$-adic height pairing matrix of this curve with respect to the basis self.gens() for the Mordell-Weil group for a given odd prime p of good ordinary reduction.
|
10343abd311261c6105e71597637890efa2ffedc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/10343abd311261c6105e71597637890efa2ffedc/ell_rational_field.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4627,
335,
67,
4210,
67,
6017,
310,
67,
5667,
12,
2890,
16,
293,
16,
13382,
33,
3462,
16,
2072,
33,
7036,
16,
866,
67,
76,
879,
10370,
281,
281,
33,
5510,
4672,
436,
8395,
14169,
281,
326,
6143,
830,
352,
24721,
271,
84,
8,
17,
20333,
2072,
3082,
310,
3148,
434,
333,
8882,
598,
8762,
358,
326,
10853,
365,
18,
23730,
1435,
364,
326,
490,
517,
1165,
17,
3218,
330,
1041,
364,
279,
864,
14800,
17014,
293,
434,
7494,
4642,
2101,
20176,
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,
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2072,
3082,
310,
3148,
434,
333,
8882,
598,
8762,
358,
326,
10853,
365,
18,
23730,
1435,
364,
326,
490,
517,
1165,
17,
3218,
330,
1041,
364,
279,
864,
14800,
17014,
293,
434,
7494,
4642,
2101,
20176,
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
] |
def Analyze(self, check_sanity=False): if self._options.indirect: return ValgrindTool.GetAnalyzeResultsIndirect(self) return ThreadSanitizerBase.Analyze(self, check_sanity)
|
def __init__(self): ValgrindTool.__init__(self) ThreadSanitizerBase.__init__(self)
|
b91d8155e1de5888b96ea1b17ac5fce7d82773ca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/b91d8155e1de5888b96ea1b17ac5fce7d82773ca/valgrind_test.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
12747,
3197,
728,
6364,
16186,
2738,
972,
12,
2890,
13,
4884,
26131,
1824,
2171,
16186,
2738,
972,
12,
2890,
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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,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
12747,
3197,
728,
6364,
16186,
2738,
972,
12,
2890,
13,
4884,
26131,
1824,
2171,
16186,
2738,
972,
12,
2890,
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
] |
|
self.client = self.user.createClient()
|
self.client = self.user.createClientWithCerts()
|
def testBlacklistAuthNOK(self): self.config["nuauth_tls_auth_by_cert"] = 0 self.config["session_authtype_blacklist_groups"] = "\"42\"" self.nuauth = Nuauth(self.config)
|
43e708e0646709fc09702b0ecd4dc971eab58098 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10929/43e708e0646709fc09702b0ecd4dc971eab58098/test_session_authtype.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
25811,
1730,
50,
3141,
12,
2890,
4672,
365,
18,
1425,
9614,
13053,
1944,
67,
17116,
67,
1944,
67,
1637,
67,
7593,
11929,
273,
374,
365,
18,
1425,
9614,
3184,
67,
5854,
647,
388,
67,
22491,
67,
4650,
11929,
273,
7023,
9452,
8530,
365,
18,
13053,
1944,
273,
20123,
1944,
12,
2890,
18,
1425,
13,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
25811,
1730,
50,
3141,
12,
2890,
4672,
365,
18,
1425,
9614,
13053,
1944,
67,
17116,
67,
1944,
67,
1637,
67,
7593,
11929,
273,
374,
365,
18,
1425,
9614,
3184,
67,
5854,
647,
388,
67,
22491,
67,
4650,
11929,
273,
7023,
9452,
8530,
365,
18,
13053,
1944,
273,
20123,
1944,
12,
2890,
18,
1425,
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
] |
self.connect(self.actionConnect, QtCore.SIGNAL("activated()"),
|
self.connect(self.actionConnect, QtCore.SIGNAL("triggered()"),
|
def __init__(self, q_app_gui, q_gui_app): self.q_app_gui = q_app_gui self.q_gui_app = q_gui_app
|
c57d21d0b753a6c05996e52db69f069235e93b26 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8560/c57d21d0b753a6c05996e52db69f069235e93b26/gui_module.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1043,
67,
2910,
67,
20292,
16,
1043,
67,
20292,
67,
2910,
4672,
365,
18,
85,
67,
2910,
67,
20292,
273,
1043,
67,
2910,
67,
20292,
365,
18,
85,
67,
20292,
67,
2910,
273,
1043,
67,
20292,
67,
2910,
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
] |
verify_operator(query_dict['dillhole'][1])
|
verify_operator(query_dict['expression'][1])
|
def __init__(self, database, query_dict=None): """ point out strings '"value"' """ if not isinstance(database, SQLDatabase): raise TypeError('%s is not a valid SQLDatabase'%database) self.__database__ = database self.__query_dict__ = query_dict # TODO: ERROR CHECKING: # 1. Confirm query_dict matches skeleton: # 2. confirm tblname is in database: # 3. confirm display_cols in tblname: # 4. confirm col (from dillhole is in tblname): # confirm operator: verify_operator(query_dict['dillhole'][1]) # make tuple: if self.__query_dict__ is not None: self.__param_tuple__ = (self.__query_dict__['dillhole'][2],) else: self.__param_tuple__ = None # make query string: if self.__query_dict__ is not None: self.__query_string__ = 'SELECT ' + self.__query_dict__['table_name'] + \ '.' + self.__query_dict__['display_cols'] + \ ' FROM ' + self.__query_dict__['table_name'] + \ ' WHERE ' + self.__query_dict__['table_name'] + '.' + \ self.__query_dict__['dillhole'][0] + ' ' + \ self.__query_dict__['dillhole'][1] + ' ?' else: self.__query_string__ = None
|
ccd462ba82c8e638768d9aaffb11ed63f3c9a76d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/ccd462ba82c8e638768d9aaffb11ed63f3c9a76d/database.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2063,
16,
843,
67,
1576,
33,
7036,
4672,
3536,
1634,
596,
2064,
2119,
1132,
5187,
3536,
225,
309,
486,
1549,
12,
6231,
16,
3063,
4254,
4672,
1002,
3580,
29909,
87,
353,
486,
279,
923,
3063,
4254,
11,
9,
6231,
13,
225,
365,
16186,
6231,
972,
273,
2063,
365,
16186,
2271,
67,
1576,
972,
273,
843,
67,
1576,
225,
468,
2660,
30,
5475,
14565,
1360,
30,
468,
404,
18,
17580,
843,
67,
1576,
1885,
17761,
30,
468,
576,
18,
6932,
10142,
529,
353,
316,
2063,
30,
468,
890,
18,
6932,
2562,
67,
6842,
316,
10142,
529,
30,
468,
1059,
18,
6932,
645,
261,
2080,
302,
737,
27167,
353,
316,
10142,
529,
4672,
225,
468,
6932,
3726,
30,
3929,
67,
9497,
12,
2271,
67,
1576,
3292,
8692,
3546,
63,
21,
5717,
225,
468,
1221,
3193,
30,
309,
365,
16186,
2271,
67,
1576,
972,
353,
486,
599,
30,
365,
16186,
891,
67,
8052,
972,
273,
261,
2890,
16186,
2271,
67,
1576,
972,
3292,
72,
737,
27167,
3546,
63,
22,
6487,
13,
469,
30,
365,
16186,
891,
67,
8052,
972,
273,
599,
225,
468,
1221,
843,
533,
30,
309,
365,
16186,
2271,
67,
1576,
972,
353,
486,
599,
30,
365,
16186,
2271,
67,
1080,
972,
273,
296,
4803,
296,
397,
365,
16186,
2271,
67,
1576,
972,
3292,
2121,
67,
529,
3546,
397,
521,
2611,
397,
365,
16186,
2271,
67,
1576,
972,
3292,
5417,
67,
6842,
3546,
397,
521,
296,
4571,
296,
397,
365,
16186,
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,
1001,
2738,
972,
12,
2890,
16,
2063,
16,
843,
67,
1576,
33,
7036,
4672,
3536,
1634,
596,
2064,
2119,
1132,
5187,
3536,
225,
309,
486,
1549,
12,
6231,
16,
3063,
4254,
4672,
1002,
3580,
29909,
87,
353,
486,
279,
923,
3063,
4254,
11,
9,
6231,
13,
225,
365,
16186,
6231,
972,
273,
2063,
365,
16186,
2271,
67,
1576,
972,
273,
843,
67,
1576,
225,
468,
2660,
30,
5475,
14565,
1360,
30,
468,
404,
18,
17580,
843,
67,
1576,
1885,
17761,
30,
468,
576,
18,
6932,
10142,
529,
353,
316,
2063,
30,
468,
890,
18,
6932,
2562,
67,
6842,
316,
10142,
529,
30,
468,
1059,
18,
6932,
645,
261,
2080,
302,
737,
27167,
353,
316,
10142,
529,
4672,
225,
2
] |
return cmp(self._left._maxima_() , self._right._maxima_()) == 0
|
raise ValueError, "unable to evaluate the predicate '%s'"%repr(self)
|
def __nonzero__(self): """ Return True if this equality is definitely true. Return False if it is false or the algorithm for testing equality is inconclusive.
|
0074cd86c652dc4c38d0cbe45027ca0cd285f71a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0074cd86c652dc4c38d0cbe45027ca0cd285f71a/equations.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
26449,
972,
12,
2890,
4672,
3536,
2000,
1053,
309,
333,
14958,
353,
2217,
25818,
638,
18,
225,
2000,
1083,
309,
518,
353,
629,
578,
326,
4886,
364,
7769,
14958,
353,
316,
591,
9173,
18,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
26449,
972,
12,
2890,
4672,
3536,
2000,
1053,
309,
333,
14958,
353,
2217,
25818,
638,
18,
225,
2000,
1083,
309,
518,
353,
629,
578,
326,
4886,
364,
7769,
14958,
353,
316,
591,
9173,
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
] |
types.append({'title': utility.title, 'id': name})
|
if IResourceSubTypes.providedBy(utility): subTypeAdapter = utility else: subTypeAdapter = queryAdapter(utility, IResourceSubTypes, default=None) if subTypeAdapter != None: subTypeAdapter = subTypeAdapter() typeHeader = {'id':name, 'title':utility.title, 'clickable':False} types.append(typeHeader) for subtype in subTypeAdapter.types(): types.append({'id':name, 'title':subtype, 'clickable':True})
|
def types(self): utilities = sorted(getUtilitiesFor(IResourceFactoryUtility)) types = [] for name, utility in utilities: types.append({'title': utility.title, 'id': name}) return types
|
51d86cfed2c365ac741f8ac65a1a071f5df6043a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7127/51d86cfed2c365ac741f8ac65a1a071f5df6043a/resource.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1953,
12,
2890,
4672,
22538,
273,
3115,
12,
588,
11864,
1290,
12,
45,
1420,
1733,
6497,
3719,
1953,
273,
5378,
364,
508,
16,
12788,
316,
22538,
30,
309,
467,
1420,
1676,
2016,
18,
29206,
858,
12,
1367,
560,
4672,
27084,
4216,
273,
12788,
469,
30,
27084,
4216,
273,
843,
4216,
12,
1367,
560,
16,
467,
1420,
1676,
2016,
16,
805,
33,
7036,
13,
309,
27084,
4216,
480,
599,
30,
27084,
4216,
273,
27084,
4216,
1435,
225,
618,
1864,
273,
13666,
350,
4278,
529,
16,
296,
2649,
4278,
1367,
560,
18,
2649,
16,
296,
7475,
429,
4278,
8381,
97,
1953,
18,
6923,
12,
723,
1864,
13,
364,
12308,
316,
27084,
4216,
18,
2352,
13332,
1953,
18,
6923,
12590,
11,
350,
4278,
529,
16,
296,
2649,
4278,
21974,
16,
296,
7475,
429,
4278,
5510,
6792,
327,
1953,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1953,
12,
2890,
4672,
22538,
273,
3115,
12,
588,
11864,
1290,
12,
45,
1420,
1733,
6497,
3719,
1953,
273,
5378,
364,
508,
16,
12788,
316,
22538,
30,
309,
467,
1420,
1676,
2016,
18,
29206,
858,
12,
1367,
560,
4672,
27084,
4216,
273,
12788,
469,
30,
27084,
4216,
273,
843,
4216,
12,
1367,
560,
16,
467,
1420,
1676,
2016,
16,
805,
33,
7036,
13,
309,
27084,
4216,
480,
599,
30,
27084,
4216,
273,
27084,
4216,
1435,
225,
618,
1864,
273,
13666,
350,
4278,
529,
16,
296,
2649,
4278,
1367,
560,
18,
2649,
16,
296,
7475,
429,
4278,
8381,
97,
1953,
18,
6923,
12,
723,
1864,
13,
364,
12308,
316,
27084,
4216,
18,
2352,
13332,
1953,
18,
6923,
12590,
11,
2
] |
repos_tree = self.gld.get_widget("repos_tree")
|
def _refresh_repos_tree (self): expanded = self._pacs_tree_exp_check() repos_tree = self.gld.get_widget("repos_tree") repos_tree.set_model(self._make_repos_model()) repos_tree = self.gld.get_widget("repos_tree") for row in expanded: repos_tree.expand_row(row, False) return
|
c80c576a73d52ad1d3674b0183511ab6e15d8448 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2654/c80c576a73d52ad1d3674b0183511ab6e15d8448/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9144,
67,
15564,
67,
3413,
261,
2890,
4672,
225,
8406,
273,
365,
6315,
84,
28965,
67,
3413,
67,
2749,
67,
1893,
1435,
225,
13686,
67,
3413,
18,
542,
67,
2284,
12,
2890,
6315,
6540,
67,
15564,
67,
2284,
10756,
225,
364,
1027,
316,
8406,
30,
13686,
67,
3413,
18,
12320,
67,
492,
12,
492,
16,
1083,
13,
225,
327,
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,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67,
15564,
67,
3413,
261,
2890,
4672,
225,
8406,
273,
365,
6315,
84,
28965,
67,
3413,
67,
2749,
67,
1893,
1435,
225,
13686,
67,
3413,
18,
542,
67,
2284,
12,
2890,
6315,
6540,
67,
15564,
67,
2284,
10756,
225,
364,
1027,
316,
8406,
30,
13686,
67,
3413,
18,
12320,
67,
492,
12,
492,
16,
1083,
13,
225,
327,
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
] |
|
H = G._list_of_elements_in_H()
|
H = [ int(x) for x in G._list_of_elements_in_H() ]
|
def _coset_reduction_data_first_coord(G): """ Compute data used for determining the canonical coset representative of an element of SL_2(Z) modulo G. This function specfically returns data needed for the first part of the reduction step (the first coordinate).
|
ee19a19f73bdcdc6c0b1860d28d316c82faa2cd5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/ee19a19f73bdcdc6c0b1860d28d316c82faa2cd5/congroup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
14445,
278,
67,
1118,
4062,
67,
892,
67,
3645,
67,
5732,
12,
43,
4672,
3536,
8155,
501,
1399,
364,
23789,
326,
7378,
4987,
278,
23174,
434,
392,
930,
434,
348,
48,
67,
22,
12,
62,
13,
26109,
611,
18,
225,
1220,
445,
857,
74,
6478,
1135,
501,
3577,
364,
326,
1122,
1087,
434,
326,
20176,
2235,
261,
5787,
1122,
7799,
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,
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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,
1652,
389,
14445,
278,
67,
1118,
4062,
67,
892,
67,
3645,
67,
5732,
12,
43,
4672,
3536,
8155,
501,
1399,
364,
23789,
326,
7378,
4987,
278,
23174,
434,
392,
930,
434,
348,
48,
67,
22,
12,
62,
13,
26109,
611,
18,
225,
1220,
445,
857,
74,
6478,
1135,
501,
3577,
364,
326,
1122,
1087,
434,
326,
20176,
2235,
261,
5787,
1122,
7799,
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
] |
for i in range ( int ( _res[0] ) ): tabkey += self.deparse ( _res[2+i] )
|
for i in range ( int ( _res[1] ) ): tabkey += self.deparse ( _res[3+i] )
|
def find_zi_code (self,zi): '''Check word freq and user_freq ''' zi = zi.decode('utf8') sqlstr = '''SELECT * FROM main.phrases WHERE phrase = ? ORDER BY mlen ASC;
|
1c792bcb904df77c4873302e2042abca8eb19d94 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/544/1c792bcb904df77c4873302e2042abca8eb19d94/tabsqlitedb.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
94,
77,
67,
710,
261,
2890,
16,
94,
77,
4672,
9163,
1564,
2076,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
94,
77,
67,
710,
261,
2890,
16,
94,
77,
4672,
9163,
1564,
2076,
7684,
471,
729,
67,
10212,
9163,
998,
77,
273,
998,
77,
18,
3922,
2668,
3158,
28,
6134,
19498,
273,
9163,
4803,
380,
4571,
2774,
18,
844,
17415,
4852,
13045,
273,
692,
10205,
6953,
312,
1897,
8310,
31,
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
] |
fontReencode.append('WinAnsiEncoding /%s /%s RE' % (fontName, fontName)) self.code.insert(1, string.join(fontReencode, self._sep))
|
fontObj = getFont(fontName) if not fontObj._dynamicFont and fontObj.encName=='WinAnsiEncoding': C.append('WinAnsiEncoding /%s /%s RE' % (fontName, fontName)) if C: C.insert(0,PS_WinAnsiEncoding) self.code.insert(1, string.join(C, self._sep))
|
def _t1_re_encode(self): if not self._fontsUsed: return # for each font used, reencode the vectors fontReencode = [PS_WinAnsiEncoding] for fontName in self._fontsUsed: fontReencode.append('WinAnsiEncoding /%s /%s RE' % (fontName, fontName)) self.code.insert(1, string.join(fontReencode, self._sep))
|
3854cba4d0308aa5d3e0ee27e734573d3ed2b24e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/3854cba4d0308aa5d3e0ee27e734573d3ed2b24e/renderPS.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
88,
21,
67,
266,
67,
3015,
12,
2890,
4672,
309,
486,
365,
6315,
22052,
6668,
30,
327,
468,
364,
1517,
3512,
1399,
16,
283,
3015,
326,
10046,
3512,
426,
3015,
273,
306,
5857,
67,
18049,
979,
7722,
4705,
65,
364,
3512,
461,
316,
365,
6315,
22052,
6668,
30,
3512,
426,
3015,
18,
6923,
2668,
18049,
979,
7722,
4705,
342,
9,
87,
342,
9,
87,
2438,
11,
738,
261,
5776,
461,
16,
3512,
461,
3719,
365,
18,
710,
18,
6387,
12,
21,
16,
533,
18,
5701,
12,
5776,
426,
3015,
16,
365,
6315,
10814,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
1399,
16,
283,
3015,
326,
10046,
3512,
426,
3015,
273,
306,
5857,
67,
18049,
979,
7722,
4705,
65,
364,
3512,
461,
316,
365,
6315,
22052,
6668,
30,
3512,
426,
3015,
18,
6923,
2668,
18049,
979,
7722,
4705,
342,
9,
87,
342,
9,
87,
2438,
11,
738,
261,
5776,
461,
16,
3512,
461,
3719,
365,
18,
710,
18,
6387,
12,
21,
16,
533,
18,
5701,
12,
5776,
426,
3015,
16,
365,
6315,
10814,
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
] |
id = parent
|
option = parent
|
def get_tree(self, parent, child): """Retrieve an option for the tree view. The child may be None.""" id = parent if None != child: id = id + "." + child if not self.config.has_option('tree', id): return False return self.config.getboolean('tree', id)
|
392feeb3d25aea6fbc3df3a165f808024bc54e84 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/392feeb3d25aea6fbc3df3a165f808024bc54e84/Options.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
3413,
12,
2890,
16,
982,
16,
1151,
4672,
3536,
5767,
392,
1456,
364,
326,
2151,
1476,
18,
225,
1021,
1151,
2026,
506,
599,
12123,
1456,
273,
982,
309,
599,
480,
1151,
30,
612,
273,
612,
397,
4585,
397,
1151,
309,
486,
365,
18,
1425,
18,
5332,
67,
3482,
2668,
3413,
2187,
612,
4672,
327,
1083,
327,
365,
18,
1425,
18,
588,
6494,
2668,
3413,
2187,
612,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
3413,
12,
2890,
16,
982,
16,
1151,
4672,
3536,
5767,
392,
1456,
364,
326,
2151,
1476,
18,
225,
1021,
1151,
2026,
506,
599,
12123,
1456,
273,
982,
309,
599,
480,
1151,
30,
612,
273,
612,
397,
4585,
397,
1151,
309,
486,
365,
18,
1425,
18,
5332,
67,
3482,
2668,
3413,
2187,
612,
4672,
327,
1083,
327,
365,
18,
1425,
18,
588,
6494,
2668,
3413,
2187,
612,
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
] |
str += dom_to_html(see, container)
|
str += dom_to_html(see, container) + ', '
|
def _seealso(self, seealso, container): """ @return: The HTML code for a see-also field. """ if not seealso: return '' str = '<dl><dt><b>See also:</b>\n </dt><dd>' for see in seealso: str += dom_to_html(see, container) return str[:-2] + '</dd>\n</dl>\n\n'
|
5468ca82a58df68bd0160c5589738a8ca3aa4f29 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/5468ca82a58df68bd0160c5589738a8ca3aa4f29/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5946,
31144,
12,
2890,
16,
2621,
31144,
16,
1478,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
2621,
17,
31144,
652,
18,
3536,
309,
486,
2621,
31144,
30,
327,
875,
609,
273,
2368,
5761,
4438,
7510,
4438,
70,
34,
9704,
2546,
19814,
70,
5333,
82,
225,
7765,
7510,
4438,
449,
1870,
364,
2621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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,
389,
5946,
31144,
12,
2890,
16,
2621,
31144,
16,
1478,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
2621,
17,
31144,
652,
18,
3536,
309,
486,
2621,
31144,
30,
327,
875,
609,
273,
2368,
5761,
4438,
7510,
4438,
70,
34,
9704,
2546,
19814,
70,
5333,
82,
225,
7765,
7510,
4438,
449,
1870,
364,
2621,
316,
2621,
31144,
30,
609,
1011,
4092,
67,
869,
67,
2620,
12,
5946,
16,
1478,
13,
397,
2265,
296,
327,
609,
10531,
17,
22,
65,
397,
4357,
449,
5333,
82,
1757,
5761,
5333,
82,
64,
82,
11,
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
] |
if self.type == 'GLsizei' or self.type == 'GLsizeiptr': file.Write(" if (%s < 0) {\n" % self.name) file.Write(" SetGLError(GL_INVALID_VALUE);\n") file.Write(" return error::kNoError;\n") file.Write(" }\n")
|
pass def WriteClientSideValidationCode(self, file): """Writes the validation code for an argument.""" pass
|
def WriteValidationCode(self, file): """Writes the validation code for an argument.""" if self.type == 'GLsizei' or self.type == 'GLsizeiptr': file.Write(" if (%s < 0) {\n" % self.name) file.Write(" SetGLError(GL_INVALID_VALUE);\n") file.Write(" return error::kNoError;\n") file.Write(" }\n")
|
8e2a5abe106158df74caad4c6fbd988d8d900b7c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/8e2a5abe106158df74caad4c6fbd988d8d900b7c/build_gles2_cmd_buffer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
4354,
1085,
12,
2890,
16,
585,
4672,
3536,
8368,
326,
3379,
981,
364,
392,
1237,
12123,
309,
365,
18,
723,
422,
296,
11261,
1467,
77,
11,
578,
365,
18,
723,
422,
296,
11261,
1467,
625,
313,
4278,
585,
18,
3067,
2932,
225,
309,
6142,
87,
411,
374,
13,
18890,
82,
6,
738,
365,
18,
529,
13,
585,
18,
3067,
2932,
565,
1000,
11261,
668,
12,
11261,
67,
9347,
67,
4051,
20472,
82,
7923,
585,
18,
3067,
2932,
565,
327,
555,
2866,
79,
2279,
668,
9747,
82,
7923,
585,
18,
3067,
2932,
225,
289,
64,
82,
7923,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
4354,
1085,
12,
2890,
16,
585,
4672,
3536,
8368,
326,
3379,
981,
364,
392,
1237,
12123,
309,
365,
18,
723,
422,
296,
11261,
1467,
77,
11,
578,
365,
18,
723,
422,
296,
11261,
1467,
625,
313,
4278,
585,
18,
3067,
2932,
225,
309,
6142,
87,
411,
374,
13,
18890,
82,
6,
738,
365,
18,
529,
13,
585,
18,
3067,
2932,
565,
1000,
11261,
668,
12,
11261,
67,
9347,
67,
4051,
20472,
82,
7923,
585,
18,
3067,
2932,
565,
327,
555,
2866,
79,
2279,
668,
9747,
82,
7923,
585,
18,
3067,
2932,
225,
289,
64,
82,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
color = QColorDialog.getColor(self.border_color, self, "ColorDialog")
|
color = QColorDialog.getColor(self.border_QColor, self, "ColorDialog")
|
def change_border_color(self): '''Slot method change border color.''' color = QColorDialog.getColor(self.border_color, self, "ColorDialog")
|
520655b0839e9d192e34605d00ae60ec9bf13e2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/520655b0839e9d192e34605d00ae60ec9bf13e2b/ESPWindowProp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2549,
67,
8815,
67,
3266,
12,
2890,
4672,
9163,
8764,
707,
2549,
5795,
2036,
1093,
6309,
2036,
273,
2238,
2957,
6353,
18,
588,
2957,
12,
2890,
18,
8815,
67,
3266,
16,
365,
16,
315,
2957,
6353,
7923,
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,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2238,
2957,
6353,
18,
588,
2957,
12,
2890,
18,
8815,
67,
3266,
16,
365,
16,
315,
2957,
6353,
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
] |
def assert_completion_in_result(self, name, kind, result, type=None):
|
def assert_completion_in_result(self, name, scope, result, type=None):
|
def assert_completion_in_result(self, name, kind, result, type=None): for proposal in result: if proposal.name == name: self.assertEqual(kind, proposal.kind, "proposal <%s> has wrong kind, expected " \ "%r, got %r" % (name, kind, proposal.kind)) if type is not None: self.assertEqual(type, proposal.type, "proposal <%s> has wrong type, expected " \ "%r, got %r" % (name, type, proposal.type)) return self.fail('completion <%s> not proposed' % name)
|
6d539fe256ff5d47931d765fcb7729894783cbf0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8286/6d539fe256ff5d47931d765fcb7729894783cbf0/codeassisttest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1815,
67,
11469,
67,
267,
67,
2088,
12,
2890,
16,
508,
16,
2146,
16,
563,
16,
618,
33,
7036,
4672,
364,
14708,
316,
563,
30,
309,
14708,
18,
529,
422,
508,
30,
365,
18,
11231,
5812,
12,
9224,
16,
14708,
18,
9224,
16,
315,
685,
8016,
23930,
87,
34,
711,
7194,
3846,
16,
2665,
315,
521,
2213,
86,
16,
2363,
738,
86,
6,
738,
261,
529,
16,
3846,
16,
14708,
18,
9224,
3719,
309,
618,
353,
486,
599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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,
1815,
67,
11469,
67,
267,
67,
2088,
12,
2890,
16,
508,
16,
2146,
16,
563,
16,
618,
33,
7036,
4672,
364,
14708,
316,
563,
30,
309,
14708,
18,
529,
422,
508,
30,
365,
18,
11231,
5812,
12,
9224,
16,
14708,
18,
9224,
16,
315,
685,
8016,
23930,
87,
34,
711,
7194,
3846,
16,
2665,
315,
521,
2213,
86,
16,
2363,
738,
86,
6,
738,
261,
529,
16,
3846,
16,
14708,
18,
9224,
3719,
309,
618,
353,
486,
599,
30,
365,
18,
11231,
5812,
12,
723,
16,
14708,
18,
723,
16,
315,
685,
8016,
23930,
87,
34,
711,
7194,
618,
16,
2665,
315,
521,
2213,
86,
16,
2363,
738,
86,
6,
738,
261,
529,
16,
618,
16,
14708,
18,
2
] |
print "cpu_spec", mems_spec
|
print "cpu_spec", cpu_spec
|
def __init__(self, name, job_size, job_pid, cpus = None, root = "", cleanup = 1): # Create a cpuset container and move job_pid into it # Allocate the list "cpus" of cpus to that container
|
59d71aab0e852886d659a24bac6fb2e4756c0bb2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/59d71aab0e852886d659a24bac6fb2e4756c0bb2/cpuset.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1719,
67,
1467,
16,
1719,
67,
6610,
16,
20620,
273,
599,
16,
1365,
273,
23453,
6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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,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1719,
67,
1467,
16,
1719,
67,
6610,
16,
20620,
273,
599,
16,
1365,
273,
23453,
6686,
273,
404,
4672,
468,
1788,
279,
20620,
278,
1478,
471,
3635,
1719,
67,
6610,
1368,
518,
468,
22222,
326,
666,
315,
20696,
6,
434,
20620,
358,
716,
1478,
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.ImportSettings('Mozilla Firefox', False, ['ALL']) self.ImportSettings('Safari', False, ['ALL'])
|
self.ImportSettings('Mozilla Firefox', False, self._to_import) self.ImportSettings('Safari', False, self._to_import)
|
def testImportFromFirefoxAndSafari(self): """Verify importing from Firefox and then Safari.""" # This test is for Mac only. if not self.IsMac(): return
|
e2c6ef63f7a8f4b49b689099e92004ea27c268c0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/e2c6ef63f7a8f4b49b689099e92004ea27c268c0/imports.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
5010,
1265,
9723,
13873,
1876,
55,
19328,
12,
2890,
4672,
3536,
8097,
25077,
628,
22950,
471,
1508,
26690,
12123,
468,
1220,
1842,
353,
364,
13217,
1338,
18,
309,
486,
365,
18,
2520,
9990,
13332,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5010,
1265,
9723,
13873,
1876,
55,
19328,
12,
2890,
4672,
3536,
8097,
25077,
628,
22950,
471,
1508,
26690,
12123,
468,
1220,
1842,
353,
364,
13217,
1338,
18,
309,
486,
365,
18,
2520,
9990,
13332,
327,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.