[edk2-libc Patch v3 1/5] AppPkg/Applications/Python: To remove the py2.7.2 uefi port code
Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3589
This message has been truncated.
This commit is to remove the UEFI port of py 2.7.2 code from the edk2-libc git repo. This is an outdated python version and is not supported anymore. Cc: Rebecca Cran <rebecca@...> Cc: Michael D Kinney <michael.d.kinney@...> Signed-off-by: Jayaprakash N <n.jayaprakash@...> --- AppPkg/AppPkg.dsc | 5 +- AppPkg/Applications/Python/Efi/config.c | 149 - AppPkg/Applications/Python/Efi/edk2module.c | 7414 ------- AppPkg/Applications/Python/Efi/getpath.c | 719 - AppPkg/Applications/Python/Ia32/pyconfig.h | 1256 -- .../Python/PyMod-2.7.2/Include/fileobject.h | 102 - .../Python/PyMod-2.7.2/Include/osdefs.h | 71 - .../Python/PyMod-2.7.2/Include/pyport.h | 918 - .../Python/PyMod-2.7.2/Lib/ntpath.py | 528 - .../Applications/Python/PyMod-2.7.2/Lib/os.py | 773 - .../Python/PyMod-2.7.2/Lib/pydoc.py | 2341 --- .../Python/PyMod-2.7.2/Lib/site.py | 537 - .../Python/PyMod-2.7.2/Modules/_sre.c | 3921 ---- .../Python/PyMod-2.7.2/Modules/addrinfo.h | 178 - .../Python/PyMod-2.7.2/Modules/errnomodule.c | 845 - .../Modules/expat/expat_external.h | 121 - .../PyMod-2.7.2/Modules/expat/xmlparse.c | 6279 ------ .../Python/PyMod-2.7.2/Modules/main.c | 678 - .../Python/PyMod-2.7.2/Modules/selectmodule.c | 1912 -- .../Python/PyMod-2.7.2/Modules/socketmodule.h | 250 - .../Python/PyMod-2.7.2/Modules/zlib/zutil.h | 277 - .../Python/PyMod-2.7.2/Objects/longobject.c | 4381 ---- .../Objects/stringlib/localeutil.h | 227 - .../Python/PyMod-2.7.2/Python/getcopyright.c | 36 - .../Python/PyMod-2.7.2/Python/import.c | 3398 --- .../Python/PyMod-2.7.2/Python/marshal.c | 1422 -- .../Python/Python-2.7.2/Demo/README | 40 - .../Python/Python-2.7.2/Demo/cgi/README | 11 - .../Python/Python-2.7.2/Demo/cgi/cgi0.sh | 8 - .../Python/Python-2.7.2/Demo/cgi/cgi1.py | 14 - .../Python/Python-2.7.2/Demo/cgi/cgi2.py | 22 - .../Python/Python-2.7.2/Demo/cgi/cgi3.py | 10 - .../Python/Python-2.7.2/Demo/cgi/wiki.py | 123 - .../Python-2.7.2/Demo/classes/Complex.py | 320 - .../Python/Python-2.7.2/Demo/classes/Dates.py | 227 - .../Python/Python-2.7.2/Demo/classes/Dbm.py | 66 - .../Python/Python-2.7.2/Demo/classes/README | 12 - .../Python/Python-2.7.2/Demo/classes/Range.py | 93 - .../Python/Python-2.7.2/Demo/classes/Rev.py | 95 - .../Python/Python-2.7.2/Demo/classes/Vec.py | 68 - .../Python-2.7.2/Demo/classes/bitvec.py | 333 - .../Python-2.7.2/Demo/comparisons/README | 60 - .../Python-2.7.2/Demo/comparisons/patterns | 4 - .../Demo/comparisons/regextest.py | 47 - .../Demo/comparisons/sortingtest.py | 45 - .../Demo/comparisons/systemtest.py | 74 - .../Python/Python-2.7.2/Demo/md5test/README | 10 - .../Python/Python-2.7.2/Demo/md5test/foo | 1 - .../Python-2.7.2/Demo/md5test/md5driver.py | 123 - .../Python-2.7.2/Demo/metaclasses/Eiffel.py | 113 - .../Python-2.7.2/Demo/metaclasses/Enum.py | 169 - .../Python-2.7.2/Demo/metaclasses/Meta.py | 118 - .../Python-2.7.2/Demo/metaclasses/Simple.py | 45 - .../Python-2.7.2/Demo/metaclasses/Synch.py | 256 - .../Python-2.7.2/Demo/metaclasses/Trace.py | 144 - .../Python-2.7.2/Demo/metaclasses/index.html | 605 - .../Demo/metaclasses/meta-vladimir.txt | 256 - .../Demo/newmetaclasses/Eiffel.py | 141 - .../Python-2.7.2/Demo/newmetaclasses/Enum.py | 177 - .../Python/Python-2.7.2/Demo/parser/FILES | 6 - .../Python/Python-2.7.2/Demo/parser/README | 32 - .../Python-2.7.2/Demo/parser/docstring.py | 2 - .../Python-2.7.2/Demo/parser/example.py | 190 - .../Python/Python-2.7.2/Demo/parser/simple.py | 1 - .../Python/Python-2.7.2/Demo/parser/source.py | 27 - .../Python-2.7.2/Demo/parser/test_parser.py | 48 - .../Python-2.7.2/Demo/parser/test_unparse.py | 213 - .../Python-2.7.2/Demo/parser/unparse.py | 606 - .../Python/Python-2.7.2/Demo/pdist/FSProxy.py | 301 - .../Python-2.7.2/Demo/pdist/RCSProxy.py | 198 - .../Python/Python-2.7.2/Demo/pdist/README | 121 - .../Python/Python-2.7.2/Demo/pdist/client.py | 157 - .../Python/Python-2.7.2/Demo/pdist/cmdfw.py | 144 - .../Python/Python-2.7.2/Demo/pdist/cmptree.py | 208 - .../Python/Python-2.7.2/Demo/pdist/cvslib.py | 364 - .../Python/Python-2.7.2/Demo/pdist/cvslock.py | 280 - .../Python/Python-2.7.2/Demo/pdist/mac.py | 19 - .../Python-2.7.2/Demo/pdist/makechangelog.py | 109 - .../Python/Python-2.7.2/Demo/pdist/rcsbump | 33 - .../Python-2.7.2/Demo/pdist/rcsclient.py | 71 - .../Python/Python-2.7.2/Demo/pdist/rcslib.py | 334 - .../Python/Python-2.7.2/Demo/pdist/rcvs | 8 - .../Python/Python-2.7.2/Demo/pdist/rcvs.py | 477 - .../Python/Python-2.7.2/Demo/pdist/rrcs | 8 - .../Python/Python-2.7.2/Demo/pdist/rrcs.py | 160 - .../Python-2.7.2/Demo/pdist/security.py | 33 - .../Python/Python-2.7.2/Demo/pdist/server.py | 145 - .../Python/Python-2.7.2/Demo/pdist/sumtree.py | 24 - .../Python/Python-2.7.2/Demo/scripts/README | 22 - .../Python/Python-2.7.2/Demo/scripts/beer.py | 20 - .../Python/Python-2.7.2/Demo/scripts/eqfix.py | 198 - .../Python/Python-2.7.2/Demo/scripts/fact.py | 49 - .../Python-2.7.2/Demo/scripts/find-uname.py | 40 - .../Python/Python-2.7.2/Demo/scripts/from.py | 35 - .../Python-2.7.2/Demo/scripts/lpwatch.py | 102 - .../Python-2.7.2/Demo/scripts/makedir.py | 21 - .../Python-2.7.2/Demo/scripts/markov.py | 121 - .../Python-2.7.2/Demo/scripts/mboxconvert.py | 124 - .../Python/Python-2.7.2/Demo/scripts/morse.py | 138 - .../Python-2.7.2/Demo/scripts/newslist.doc | 59 - .../Python-2.7.2/Demo/scripts/newslist.py | 362 - .../Python/Python-2.7.2/Demo/scripts/pi.py | 33 - .../Python/Python-2.7.2/Demo/scripts/pp.py | 129 - .../Python-2.7.2/Demo/scripts/primes.py | 30 - .../Python-2.7.2/Demo/scripts/queens.py | 85 - .../Python-2.7.2/Demo/scripts/script.py | 42 - .../Python-2.7.2/Demo/scripts/unbirthday.py | 104 - .../Python-2.7.2/Demo/scripts/update.py | 92 - .../Python/Python-2.7.2/Demo/sockets/README | 14 - .../Python-2.7.2/Demo/sockets/broadcast.py | 15 - .../Python-2.7.2/Demo/sockets/echosvr.py | 31 - .../Python-2.7.2/Demo/sockets/finger.py | 58 - .../Python/Python-2.7.2/Demo/sockets/ftp.py | 146 - .../Python-2.7.2/Demo/sockets/gopher.py | 347 - .../Python/Python-2.7.2/Demo/sockets/mcast.py | 80 - .../Python/Python-2.7.2/Demo/sockets/radio.py | 14 - .../Python-2.7.2/Demo/sockets/rpython.py | 35 - .../Python-2.7.2/Demo/sockets/rpythond.py | 52 - .../Python-2.7.2/Demo/sockets/telnet.py | 109 - .../Python-2.7.2/Demo/sockets/throughput.py | 93 - .../Python-2.7.2/Demo/sockets/udpecho.py | 63 - .../Python-2.7.2/Demo/sockets/unicast.py | 14 - .../Python-2.7.2/Demo/sockets/unixclient.py | 12 - .../Python-2.7.2/Demo/sockets/unixserver.py | 24 - .../Python-2.7.2/Demo/xml/elem_count.py | 42 - .../Python/Python-2.7.2/Demo/xml/roundtrip.py | 46 - .../Python/Python-2.7.2/Demo/xml/rss2html.py | 97 - .../Python/Python-2.7.2/Demo/zlib/minigzip.py | 133 - .../Python/Python-2.7.2/Demo/zlib/zlibdemo.py | 48 - .../Python/Python-2.7.2/Grammar/Grammar | 142 - .../Python/Python-2.7.2/Include/Python-ast.h | 535 - .../Python/Python-2.7.2/Include/Python.h | 178 - .../Python/Python-2.7.2/Include/abstract.h | 1396 -- .../Python/Python-2.7.2/Include/asdl.h | 45 - .../Python/Python-2.7.2/Include/ast.h | 13 - .../Python/Python-2.7.2/Include/bitset.h | 32 - .../Python/Python-2.7.2/Include/boolobject.h | 36 - .../Python-2.7.2/Include/bufferobject.h | 33 - .../Python-2.7.2/Include/bytearrayobject.h | 57 - .../Python-2.7.2/Include/bytes_methods.h | 75 - .../Python/Python-2.7.2/Include/bytesobject.h | 27 - .../Python/Python-2.7.2/Include/cStringIO.h | 73 - .../Python/Python-2.7.2/Include/cellobject.h | 28 - .../Python/Python-2.7.2/Include/ceval.h | 153 - .../Python/Python-2.7.2/Include/classobject.h | 83 - .../Python/Python-2.7.2/Include/cobject.h | 89 - .../Python/Python-2.7.2/Include/code.h | 107 - .../Python/Python-2.7.2/Include/codecs.h | 167 - .../Python/Python-2.7.2/Include/compile.h | 40 - .../Python-2.7.2/Include/complexobject.h | 66 - .../Python/Python-2.7.2/Include/datetime.h | 239 - .../Python/Python-2.7.2/Include/descrobject.h | 94 - .../Python/Python-2.7.2/Include/dictobject.h | 156 - .../Python/Python-2.7.2/Include/dtoa.h | 15 - .../Python/Python-2.7.2/Include/enumobject.h | 17 - .../Python/Python-2.7.2/Include/errcode.h | 36 - .../Python/Python-2.7.2/Include/eval.h | 25 - .../Python/Python-2.7.2/Include/fileobject.h | 102 - .../Python/Python-2.7.2/Include/floatobject.h | 140 - .../Python/Python-2.7.2/Include/frameobject.h | 89 - .../Python/Python-2.7.2/Include/funcobject.h | 76 - .../Python/Python-2.7.2/Include/genobject.h | 40 - .../Python/Python-2.7.2/Include/graminit.h | 87 - .../Python/Python-2.7.2/Include/grammar.h | 93 - .../Python/Python-2.7.2/Include/import.h | 71 - .../Python/Python-2.7.2/Include/intobject.h | 80 - .../Python/Python-2.7.2/Include/intrcheck.h | 15 - .../Python/Python-2.7.2/Include/iterobject.h | 23 - .../Python/Python-2.7.2/Include/listobject.h | 68 - .../Python/Python-2.7.2/Include/longintrepr.h | 103 - .../Python/Python-2.7.2/Include/longobject.h | 134 - .../Python/Python-2.7.2/Include/marshal.h | 25 - .../Python-2.7.2/Include/memoryobject.h | 74 - .../Python/Python-2.7.2/Include/metagrammar.h | 18 - .../Python-2.7.2/Include/methodobject.h | 93 - .../Python/Python-2.7.2/Include/modsupport.h | 134 - .../Python-2.7.2/Include/moduleobject.h | 24 - .../Python/Python-2.7.2/Include/node.h | 40 - .../Python/Python-2.7.2/Include/object.h | 986 - .../Python/Python-2.7.2/Include/objimpl.h | 354 - .../Python/Python-2.7.2/Include/opcode.h | 162 - .../Python/Python-2.7.2/Include/osdefs.h | 71 - .../Python/Python-2.7.2/Include/parsetok.h | 64 - .../Python/Python-2.7.2/Include/patchlevel.h | 43 - .../Python/Python-2.7.2/Include/pgen.h | 18 - .../Python/Python-2.7.2/Include/pgenheaders.h | 42 - .../Python/Python-2.7.2/Include/py_curses.h | 176 - .../Python/Python-2.7.2/Include/pyarena.h | 62 - .../Python/Python-2.7.2/Include/pycapsule.h | 56 - .../Python/Python-2.7.2/Include/pyctype.h | 31 - .../Python/Python-2.7.2/Include/pydebug.h | 40 - .../Python/Python-2.7.2/Include/pyerrors.h | 328 - .../Python/Python-2.7.2/Include/pyexpat.h | 48 - .../Python/Python-2.7.2/Include/pyfpe.h | 176 - .../Python/Python-2.7.2/Include/pygetopt.h | 17 - .../Python/Python-2.7.2/Include/pymacconfig.h | 102 - .../Python-2.7.2/Include/pymactoolbox.h | 217 - .../Python/Python-2.7.2/Include/pymath.h | 192 - .../Python/Python-2.7.2/Include/pymem.h | 122 - .../Python/Python-2.7.2/Include/pyport.h | 918 - .../Python/Python-2.7.2/Include/pystate.h | 198 - .../Python/Python-2.7.2/Include/pystrcmp.h | 23 - .../Python/Python-2.7.2/Include/pystrtod.h | 45 - .../Python/Python-2.7.2/Include/pythonrun.h | 178 - .../Python/Python-2.7.2/Include/pythread.h | 41 - .../Python/Python-2.7.2/Include/rangeobject.h | 28 - .../Python/Python-2.7.2/Include/setobject.h | 99 - .../Python/Python-2.7.2/Include/sliceobject.h | 44 - .../Python-2.7.2/Include/stringobject.h | 210 - .../Python-2.7.2/Include/structmember.h | 99 - .../Python/Python-2.7.2/Include/structseq.h | 41 - .../Python/Python-2.7.2/Include/symtable.h | 98 - .../Python/Python-2.7.2/Include/sysmodule.h | 32 - .../Python/Python-2.7.2/Include/timefuncs.h | 23 - .../Python/Python-2.7.2/Include/token.h | 85 - .../Python/Python-2.7.2/Include/traceback.h | 31 - .../Python/Python-2.7.2/Include/tupleobject.h | 61 - .../Python/Python-2.7.2/Include/ucnhash.h | 33 - .../Python-2.7.2/Include/unicodeobject.h | 1413 -- .../Python/Python-2.7.2/Include/warnings.h | 23 - .../Python-2.7.2/Include/weakrefobject.h | 75 - .../Applications/Python/Python-2.7.2/LICENSE | 279 - .../Python/Python-2.7.2/Lib/BaseHTTPServer.py | 606 - .../Python/Python-2.7.2/Lib/Bastion.py | 180 - .../Python/Python-2.7.2/Lib/CGIHTTPServer.py | 374 - .../Python/Python-2.7.2/Lib/ConfigParser.py | 745 - .../Python/Python-2.7.2/Lib/Cookie.py | 761 - .../Python-2.7.2/Lib/DocXMLRPCServer.py | 279 - .../Python/Python-2.7.2/Lib/HTMLParser.py | 393 - .../Python/Python-2.7.2/Lib/MimeWriter.py | 186 - .../Python/Python-2.7.2/Lib/Queue.py | 244 - .../Python-2.7.2/Lib/SimpleHTTPServer.py | 220 - .../Python-2.7.2/Lib/SimpleXMLRPCServer.py | 704 - .../Python/Python-2.7.2/Lib/SocketServer.py | 716 - .../Python/Python-2.7.2/Lib/StringIO.py | 324 - .../Python/Python-2.7.2/Lib/UserDict.py | 180 - .../Python/Python-2.7.2/Lib/UserList.py | 88 - .../Python/Python-2.7.2/Lib/UserString.py | 228 - .../Python/Python-2.7.2/Lib/_LWPCookieJar.py | 170 - .../Python-2.7.2/Lib/_MozillaCookieJar.py | 149 - .../Python/Python-2.7.2/Lib/__future__.py | 128 - .../Python/Python-2.7.2/Lib/__phello__.foo.py | 1 - .../Python/Python-2.7.2/Lib/_abcoll.py | 601 - .../Python/Python-2.7.2/Lib/_pyio.py | 2006 -- .../Python/Python-2.7.2/Lib/_strptime.py | 454 - .../Python/Python-2.7.2/Lib/_weakrefset.py | 216 - .../Python/Python-2.7.2/Lib/abc.py | 185 - .../Python/Python-2.7.2/Lib/aifc.py | 957 - .../Python/Python-2.7.2/Lib/antigravity.py | 4 - .../Python/Python-2.7.2/Lib/anydbm.py | 85 - .../Python/Python-2.7.2/Lib/argparse.py | 2347 --- .../Python/Python-2.7.2/Lib/ast.py | 311 - .../Python/Python-2.7.2/Lib/asynchat.py | 314 - .../Python/Python-2.7.2/Lib/asyncore.py | 655 - .../Python/Python-2.7.2/Lib/atexit.py | 65 - .../Python/Python-2.7.2/Lib/base64.py | 360 - .../Python/Python-2.7.2/Lib/bdb.py | 632 - .../Python/Python-2.7.2/Lib/binhex.py | 508 - .../Python/Python-2.7.2/Lib/bisect.py | 92 - .../Python/Python-2.7.2/Lib/cProfile.py | 199 - .../Python/Python-2.7.2/Lib/calendar.py | 708 - .../Python/Python-2.7.2/Lib/cgi.py | 1051 - .../Python/Python-2.7.2/Lib/cgitb.py | 318 - .../Python/Python-2.7.2/Lib/chunk.py | 167 - .../Python/Python-2.7.2/Lib/cmd.py | 401 - .../Python/Python-2.7.2/Lib/code.py | 310 - .../Python/Python-2.7.2/Lib/codecs.py | 1098 - .../Python/Python-2.7.2/Lib/codeop.py | 168 - .../Python/Python-2.7.2/Lib/collections.py | 667 - .../Python/Python-2.7.2/Lib/colorsys.py | 156 - .../Python/Python-2.7.2/Lib/commands.py | 90 - .../Python/Python-2.7.2/Lib/compileall.py | 214 - .../Python-2.7.2/Lib/compiler/__init__.py | 31 - .../Python/Python-2.7.2/Lib/compiler/ast.py | 1419 -- .../Python-2.7.2/Lib/compiler/consts.py | 23 - .../Python-2.7.2/Lib/compiler/future.py | 74 - .../Python/Python-2.7.2/Lib/compiler/misc.py | 73 - .../Python-2.7.2/Lib/compiler/pyassem.py | 763 - .../Python-2.7.2/Lib/compiler/pycodegen.py | 1555 -- .../Python-2.7.2/Lib/compiler/symbols.py | 462 - .../Python-2.7.2/Lib/compiler/syntax.py | 46 - .../Python-2.7.2/Lib/compiler/transformer.py | 1535 -- .../Python-2.7.2/Lib/compiler/visitor.py | 113 - .../Python/Python-2.7.2/Lib/contextlib.py | 154 - .../Python/Python-2.7.2/Lib/cookielib.py | 1794 -- .../Python/Python-2.7.2/Lib/copy.py | 433 - .../Python/Python-2.7.2/Lib/copy_reg.py | 201 - .../Python/Python-2.7.2/Lib/csv.py | 451 - .../Python/Python-2.7.2/Lib/dbhash.py | 18 - .../Python/Python-2.7.2/Lib/decimal.py | 6149 ------ .../Python/Python-2.7.2/Lib/difflib.py | 2059 -- .../Python/Python-2.7.2/Lib/dircache.py | 41 - .../Python/Python-2.7.2/Lib/dis.py | 224 - .../Python/Python-2.7.2/Lib/distutils/README | 13 - .../Python-2.7.2/Lib/distutils/__init__.py | 19 - .../Lib/distutils/archive_util.py | 243 - .../Lib/distutils/bcppcompiler.py | 394 - .../Python-2.7.2/Lib/distutils/ccompiler.py | 1145 - .../Python/Python-2.7.2/Lib/distutils/cmd.py | 457 - .../Lib/distutils/command/__init__.py | 33 - .../Lib/distutils/command/bdist.py | 146 - .../Lib/distutils/command/bdist_dumb.py | 132 - .../Lib/distutils/command/bdist_msi.py | 738 - .../Lib/distutils/command/bdist_rpm.py | 575 - .../Lib/distutils/command/bdist_wininst.py | 364 - .../Lib/distutils/command/build.py | 147 - .../Lib/distutils/command/build_clib.py | 209 - .../Lib/distutils/command/build_ext.py | 769 - .../Lib/distutils/command/build_py.py | 393 - .../Lib/distutils/command/build_scripts.py | 131 - .../Lib/distutils/command/check.py | 143 - .../Lib/distutils/command/clean.py | 80 - .../Lib/distutils/command/command_template | 45 - .../Lib/distutils/command/config.py | 357 - .../Lib/distutils/command/install.py | 672 - .../Lib/distutils/command/install_data.py | 81 - .../Lib/distutils/command/install_egg_info.py | 78 - .../Lib/distutils/command/install_headers.py | 51 - .../Lib/distutils/command/install_lib.py | 219 - .../Lib/distutils/command/install_scripts.py | 64 - .../Lib/distutils/command/register.py | 307 - .../Lib/distutils/command/sdist.py | 464 - .../Lib/distutils/command/upload.py | 194 - .../Lib/distutils/command/wininst-6.0.exe | Bin 61440 -> 0 bytes .../Lib/distutils/command/wininst-7.1.exe | Bin 65536 -> 0 bytes .../Lib/distutils/command/wininst-8.0.exe | Bin 61440 -> 0 bytes .../distutils/command/wininst-9.0-amd64.exe | Bin 223744 -> 0 bytes .../Lib/distutils/command/wininst-9.0.exe | Bin 196096 -> 0 bytes .../Python-2.7.2/Lib/distutils/config.py | 121 - .../Python/Python-2.7.2/Lib/distutils/core.py | 242 - .../Lib/distutils/cygwinccompiler.py | 449 - .../Python-2.7.2/Lib/distutils/debug.py | 7 - .../Python-2.7.2/Lib/distutils/dep_util.py | 88 - .../Python-2.7.2/Lib/distutils/dir_util.py | 212 - .../Python/Python-2.7.2/Lib/distutils/dist.py | 1248 -- .../Lib/distutils/emxccompiler.py | 319 - .../Python-2.7.2/Lib/distutils/errors.py | 88 - .../Python-2.7.2/Lib/distutils/extension.py | 255 - .../Lib/distutils/fancy_getopt.py | 484 - .../Python-2.7.2/Lib/distutils/file_util.py | 231 - .../Python-2.7.2/Lib/distutils/filelist.py | 336 - .../Python/Python-2.7.2/Lib/distutils/log.py | 71 - .../Lib/distutils/msvc9compiler.py | 764 - .../Lib/distutils/msvccompiler.py | 659 - .../Python-2.7.2/Lib/distutils/spawn.py | 173 - .../Python-2.7.2/Lib/distutils/sysconfig.py | 571 - .../Lib/distutils/tests/Setup.sample | 67 - .../Lib/distutils/tests/__init__.py | 36 - .../distutils/tests/setuptools_build_ext.py | 287 - .../distutils/tests/setuptools_extension.py | 51 - .../Lib/distutils/tests/support.py | 133 - .../Lib/distutils/tests/test_archive_util.py | 284 - .../Lib/distutils/tests/test_bdist.py | 45 - .../Lib/distutils/tests/test_bdist_dumb.py | 105 - .../Lib/distutils/tests/test_bdist_msi.py | 25 - .../Lib/distutils/tests/test_bdist_rpm.py | 127 - .../Lib/distutils/tests/test_bdist_wininst.py | 32 - .../Lib/distutils/tests/test_build.py | 55 - .../Lib/distutils/tests/test_build_clib.py | 145 - .../Lib/distutils/tests/test_build_ext.py | 491 - .../Lib/distutils/tests/test_build_py.py | 122 - .../Lib/distutils/tests/test_build_scripts.py | 112 - .../Lib/distutils/tests/test_ccompiler.py | 81 - .../Lib/distutils/tests/test_check.py | 99 - .../Lib/distutils/tests/test_clean.py | 51 - .../Lib/distutils/tests/test_cmd.py | 127 - .../Lib/distutils/tests/test_config.py | 123 - .../Lib/distutils/tests/test_config_cmd.py | 90 - .../Lib/distutils/tests/test_core.py | 108 - .../Lib/distutils/tests/test_dep_util.py | 81 - .../Lib/distutils/tests/test_dir_util.py | 116 - .../Lib/distutils/tests/test_dist.py | 436 - .../Lib/distutils/tests/test_file_util.py | 81 - .../Lib/distutils/tests/test_filelist.py | 85 - .../Lib/distutils/tests/test_install.py | 57 - .../Lib/distutils/tests/test_install_data.py | 77 - .../distutils/tests/test_install_headers.py | 41 - .../Lib/distutils/tests/test_install_lib.py | 107 - .../distutils/tests/test_install_scripts.py | 82 - .../Lib/distutils/tests/test_msvc9compiler.py | 141 - .../Lib/distutils/tests/test_register.py | 261 - .../Lib/distutils/tests/test_sdist.py | 429 - .../Lib/distutils/tests/test_spawn.py | 60 - .../Lib/distutils/tests/test_sysconfig.py | 82 - .../Lib/distutils/tests/test_text_file.py | 107 - .../Lib/distutils/tests/test_unixccompiler.py | 130 - .../Lib/distutils/tests/test_upload.py | 131 - .../Lib/distutils/tests/test_util.py | 25 - .../Lib/distutils/tests/test_version.py | 71 - .../distutils/tests/test_versionpredicate.py | 13 - .../Python-2.7.2/Lib/distutils/text_file.py | 304 - .../Lib/distutils/unixccompiler.py | 346 - .../Python/Python-2.7.2/Lib/distutils/util.py | 567 - .../Python-2.7.2/Lib/distutils/version.py | 299 - .../Lib/distutils/versionpredicate.py | 164 - .../Python/Python-2.7.2/Lib/doctest.py | 2731 --- .../Python/Python-2.7.2/Lib/dumbdbm.py | 250 - .../Python/Python-2.7.2/Lib/dummy_thread.py | 145 - .../Python-2.7.2/Lib/dummy_threading.py | 78 - .../Python/Python-2.7.2/Lib/email/__init__.py | 123 - .../Python-2.7.2/Lib/email/_parseaddr.py | 497 - .../Python-2.7.2/Lib/email/base64mime.py | 183 - .../Python/Python-2.7.2/Lib/email/charset.py | 397 - .../Python/Python-2.7.2/Lib/email/encoders.py | 82 - .../Python/Python-2.7.2/Lib/email/errors.py | 57 - .../Python-2.7.2/Lib/email/feedparser.py | 484 - .../Python-2.7.2/Lib/email/generator.py | 364 - .../Python/Python-2.7.2/Lib/email/header.py | 514 - .../Python-2.7.2/Lib/email/iterators.py | 73 - .../Python/Python-2.7.2/Lib/email/message.py | 797 - .../Python-2.7.2/Lib/email/mime/__init__.py | 0 .../Lib/email/mime/application.py | 36 - .../Python-2.7.2/Lib/email/mime/audio.py | 73 - .../Python-2.7.2/Lib/email/mime/base.py | 26 - .../Python-2.7.2/Lib/email/mime/image.py | 46 - .../Python-2.7.2/Lib/email/mime/message.py | 34 - .../Python-2.7.2/Lib/email/mime/multipart.py | 47 - .../Lib/email/mime/nonmultipart.py | 22 - .../Python-2.7.2/Lib/email/mime/text.py | 30 - .../Python/Python-2.7.2/Lib/email/parser.py | 91 - .../Python-2.7.2/Lib/email/quoprimime.py | 336 - .../Python-2.7.2/Lib/email/test/__init__.py | 0 .../Lib/email/test/data/PyBanner048.gif | Bin 954 -> 0 bytes .../Lib/email/test/data/audiotest.au | Bin 28144 -> 0 bytes .../Lib/email/test/data/msg_01.txt | 19 - .../Lib/email/test/data/msg_02.txt | 135 - .../Lib/email/test/data/msg_03.txt | 16 - .../Lib/email/test/data/msg_04.txt | 37 - .../Lib/email/test/data/msg_05.txt | 28 - .../Lib/email/test/data/msg_06.txt | 33 - .../Lib/email/test/data/msg_07.txt | 83 - .../Lib/email/test/data/msg_08.txt | 24 - .../Lib/email/test/data/msg_09.txt | 24 - .../Lib/email/test/data/msg_10.txt | 39 - .../Lib/email/test/data/msg_11.txt | 7 - .../Lib/email/test/data/msg_12.txt | 36 - .../Lib/email/test/data/msg_12a.txt | 38 - .../Lib/email/test/data/msg_13.txt | 94 - .../Lib/email/test/data/msg_14.txt | 23 - .../Lib/email/test/data/msg_15.txt | 52 - .../Lib/email/test/data/msg_16.txt | 123 - .../Lib/email/test/data/msg_17.txt | 12 - .../Lib/email/test/data/msg_18.txt | 6 - .../Lib/email/test/data/msg_19.txt | 43 - .../Lib/email/test/data/msg_20.txt | 22 - .../Lib/email/test/data/msg_21.txt | 20 - .../Lib/email/test/data/msg_22.txt | 46 - .../Lib/email/test/data/msg_23.txt | 8 - .../Lib/email/test/data/msg_24.txt | 10 - .../Lib/email/test/data/msg_25.txt | 117 - .../Lib/email/test/data/msg_26.txt | 45 - .../Lib/email/test/data/msg_27.txt | 15 - .../Lib/email/test/data/msg_28.txt | 25 - .../Lib/email/test/data/msg_29.txt | 22 - .../Lib/email/test/data/msg_30.txt | 23 - .../Lib/email/test/data/msg_31.txt | 15 - .../Lib/email/test/data/msg_32.txt | 14 - .../Lib/email/test/data/msg_33.txt | 29 - .../Lib/email/test/data/msg_34.txt | 19 - .../Lib/email/test/data/msg_35.txt | 4 - .../Lib/email/test/data/msg_36.txt | 40 - .../Lib/email/test/data/msg_37.txt | 22 - .../Lib/email/test/data/msg_38.txt | 101 - .../Lib/email/test/data/msg_39.txt | 83 - .../Lib/email/test/data/msg_40.txt | 10 - .../Lib/email/test/data/msg_41.txt | 8 - .../Lib/email/test/data/msg_42.txt | 20 - .../Lib/email/test/data/msg_43.txt | 217 - .../Lib/email/test/data/msg_44.txt | 33 - .../Lib/email/test/data/msg_45.txt | 33 - .../Lib/email/test/data/msg_46.txt | 23 - .../Python-2.7.2/Lib/email/test/test_email.py | 3529 ---- .../Lib/email/test/test_email_codecs.py | 77 - .../email/test/test_email_codecs_renamed.py | 77 - .../Lib/email/test/test_email_renamed.py | 3297 --- .../Lib/email/test/test_email_torture.py | 136 - .../Python/Python-2.7.2/Lib/email/utils.py | 324 - .../Python-2.7.2/Lib/encodings/__init__.py | 157 - .../Python-2.7.2/Lib/encodings/aliases.py | 527 - .../Python-2.7.2/Lib/encodings/ascii.py | 50 - .../Lib/encodings/base64_codec.py | 79 - .../Python/Python-2.7.2/Lib/encodings/big5.py | 39 - .../Python-2.7.2/Lib/encodings/big5hkscs.py | 39 - .../Python-2.7.2/Lib/encodings/bz2_codec.py | 102 - .../Python-2.7.2/Lib/encodings/charmap.py | 69 - .../Python-2.7.2/Lib/encodings/cp037.py | 307 - .../Python-2.7.2/Lib/encodings/cp1006.py | 307 - .../Python-2.7.2/Lib/encodings/cp1026.py | 307 - .../Python-2.7.2/Lib/encodings/cp1140.py | 307 - .../Python-2.7.2/Lib/encodings/cp1250.py | 307 - .../Python-2.7.2/Lib/encodings/cp1251.py | 307 - .../Python-2.7.2/Lib/encodings/cp1252.py | 307 - .../Python-2.7.2/Lib/encodings/cp1253.py | 307 - .../Python-2.7.2/Lib/encodings/cp1254.py | 307 - .../Python-2.7.2/Lib/encodings/cp1255.py | 307 - .../Python-2.7.2/Lib/encodings/cp1256.py | 307 - .../Python-2.7.2/Lib/encodings/cp1257.py | 307 - .../Python-2.7.2/Lib/encodings/cp1258.py | 307 - .../Python-2.7.2/Lib/encodings/cp424.py | 307 - .../Python-2.7.2/Lib/encodings/cp437.py | 698 - .../Python-2.7.2/Lib/encodings/cp500.py | 307 - .../Python-2.7.2/Lib/encodings/cp720.py | 309 - .../Python-2.7.2/Lib/encodings/cp737.py | 698 - .../Python-2.7.2/Lib/encodings/cp775.py | 697 - .../Python-2.7.2/Lib/encodings/cp850.py | 698 - .../Python-2.7.2/Lib/encodings/cp852.py | 698 - .../Python-2.7.2/Lib/encodings/cp855.py | 698 - .../Python-2.7.2/Lib/encodings/cp856.py | 307 - .../Python-2.7.2/Lib/encodings/cp857.py | 694 - .../Python-2.7.2/Lib/encodings/cp858.py | 698 - .../Python-2.7.2/Lib/encodings/cp860.py | 698 - .../Python-2.7.2/Lib/encodings/cp861.py | 698 - .../Python-2.7.2/Lib/encodings/cp862.py | 698 - .../Python-2.7.2/Lib/encodings/cp863.py | 698 - .../Python-2.7.2/Lib/encodings/cp864.py | 690 - .../Python-2.7.2/Lib/encodings/cp865.py | 698 - .../Python-2.7.2/Lib/encodings/cp866.py | 698 - .../Python-2.7.2/Lib/encodings/cp869.py | 689 - .../Python-2.7.2/Lib/encodings/cp874.py | 307 - .../Python-2.7.2/Lib/encodings/cp875.py | 307 - .../Python-2.7.2/Lib/encodings/cp932.py | 39 - .../Python-2.7.2/Lib/encodings/cp949.py | 39 - .../Python-2.7.2/Lib/encodings/cp950.py | 39 - .../Lib/encodings/euc_jis_2004.py | 39 - .../Lib/encodings/euc_jisx0213.py | 39 - .../Python-2.7.2/Lib/encodings/euc_jp.py | 39 - .../Python-2.7.2/Lib/encodings/euc_kr.py | 39 - .../Python-2.7.2/Lib/encodings/gb18030.py | 39 - .../Python-2.7.2/Lib/encodings/gb2312.py | 39 - .../Python/Python-2.7.2/Lib/encodings/gbk.py | 39 - .../Python-2.7.2/Lib/encodings/hex_codec.py | 79 - .../Python-2.7.2/Lib/encodings/hp_roman8.py | 152 - .../Python/Python-2.7.2/Lib/encodings/hz.py | 39 - .../Python/Python-2.7.2/Lib/encodings/idna.py | 288 - .../Python-2.7.2/Lib/encodings/iso2022_jp.py | 39 - .../Lib/encodings/iso2022_jp_1.py | 39 - .../Lib/encodings/iso2022_jp_2.py | 39 - .../Lib/encodings/iso2022_jp_2004.py | 39 - .../Lib/encodings/iso2022_jp_3.py | 39 - .../Lib/encodings/iso2022_jp_ext.py | 39 - .../Python-2.7.2/Lib/encodings/iso2022_kr.py | 39 - .../Python-2.7.2/Lib/encodings/iso8859_1.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_10.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_11.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_13.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_14.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_15.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_16.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_2.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_3.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_4.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_5.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_6.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_7.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_8.py | 307 - .../Python-2.7.2/Lib/encodings/iso8859_9.py | 307 - .../Python-2.7.2/Lib/encodings/johab.py | 39 - .../Python-2.7.2/Lib/encodings/koi8_r.py | 307 - .../Python-2.7.2/Lib/encodings/koi8_u.py | 307 - .../Python-2.7.2/Lib/encodings/latin_1.py | 50 - .../Python-2.7.2/Lib/encodings/mac_arabic.py | 698 - .../Lib/encodings/mac_centeuro.py | 307 - .../Lib/encodings/mac_croatian.py | 307 - .../Lib/encodings/mac_cyrillic.py | 307 - .../Python-2.7.2/Lib/encodings/mac_farsi.py | 307 - .../Python-2.7.2/Lib/encodings/mac_greek.py | 307 - .../Python-2.7.2/Lib/encodings/mac_iceland.py | 307 - .../Python-2.7.2/Lib/encodings/mac_latin2.py | 183 - .../Python-2.7.2/Lib/encodings/mac_roman.py | 307 - .../Lib/encodings/mac_romanian.py | 307 - .../Python-2.7.2/Lib/encodings/mac_turkish.py | 307 - .../Python/Python-2.7.2/Lib/encodings/mbcs.py | 47 - .../Python-2.7.2/Lib/encodings/palmos.py | 83 - .../Python-2.7.2/Lib/encodings/ptcp154.py | 175 - .../Python-2.7.2/Lib/encodings/punycode.py | 238 - .../Lib/encodings/quopri_codec.py | 75 - .../Lib/encodings/raw_unicode_escape.py | 45 - .../Python-2.7.2/Lib/encodings/rot_13.py | 118 - .../Python-2.7.2/Lib/encodings/shift_jis.py | 39 - .../Lib/encodings/shift_jis_2004.py | 39 - .../Lib/encodings/shift_jisx0213.py | 39 - .../Lib/encodings/string_escape.py | 38 - .../Python-2.7.2/Lib/encodings/tis_620.py | 307 - .../Python-2.7.2/Lib/encodings/undefined.py | 49 - .../Lib/encodings/unicode_escape.py | 45 - .../Lib/encodings/unicode_internal.py | 45 - .../Python-2.7.2/Lib/encodings/utf_16.py | 126 - .../Python-2.7.2/Lib/encodings/utf_16_be.py | 42 - .../Python-2.7.2/Lib/encodings/utf_16_le.py | 42 - .../Python-2.7.2/Lib/encodings/utf_32.py | 150 - .../Python-2.7.2/Lib/encodings/utf_32_be.py | 37 - .../Python-2.7.2/Lib/encodings/utf_32_le.py | 37 - .../Python-2.7.2/Lib/encodings/utf_7.py | 38 - .../Python-2.7.2/Lib/encodings/utf_8.py | 42 - .../Python-2.7.2/Lib/encodings/utf_8_sig.py | 117 - .../Python-2.7.2/Lib/encodings/uu_codec.py | 129 - .../Python-2.7.2/Lib/encodings/zlib_codec.py | 102 - .../Python/Python-2.7.2/Lib/filecmp.py | 295 - .../Python/Python-2.7.2/Lib/fileinput.py | 413 - .../Python/Python-2.7.2/Lib/fnmatch.py | 116 - .../Python/Python-2.7.2/Lib/formatter.py | 445 - .../Python/Python-2.7.2/Lib/fpformat.py | 145 - .../Python/Python-2.7.2/Lib/fractions.py | 605 - .../Python/Python-2.7.2/Lib/ftplib.py | 1036 - .../Python/Python-2.7.2/Lib/functools.py | 100 - .../Python/Python-2.7.2/Lib/genericpath.py | 105 - .../Python/Python-2.7.2/Lib/getopt.py | 210 - .../Python/Python-2.7.2/Lib/getpass.py | 179 - .../Python/Python-2.7.2/Lib/gettext.py | 591 - .../Python/Python-2.7.2/Lib/glob.py | 78 - .../Python/Python-2.7.2/Lib/gzip.py | 509 - .../Python/Python-2.7.2/Lib/hashlib.py | 146 - .../Python/Python-2.7.2/Lib/heapq.py | 442 - .../Python/Python-2.7.2/Lib/hmac.py | 133 - .../Python-2.7.2/Lib/hotshot/__init__.py | 78 - .../Python/Python-2.7.2/Lib/hotshot/log.py | 194 - .../Python/Python-2.7.2/Lib/hotshot/stats.py | 93 - .../Python/Python-2.7.2/Lib/hotshot/stones.py | 30 - .../Python/Python-2.7.2/Lib/htmlentitydefs.py | 273 - .../Python/Python-2.7.2/Lib/htmllib.py | 491 - .../Python/Python-2.7.2/Lib/httplib.py | 1392 -- .../Python/Python-2.7.2/Lib/ihooks.py | 554 - .../Python/Python-2.7.2/Lib/imaplib.py | 1518 -- .../Python/Python-2.7.2/Lib/imghdr.py | 161 - .../Python-2.7.2/Lib/importlib/__init__.py | 38 - .../Python/Python-2.7.2/Lib/imputil.py | 725 - .../Python/Python-2.7.2/Lib/inspect.py | 1056 - .../Python/Python-2.7.2/Lib/io.py | 98 - .../Python/Python-2.7.2/Lib/json/__init__.py | 339 - .../Python/Python-2.7.2/Lib/json/decoder.py | 385 - .../Python/Python-2.7.2/Lib/json/encoder.py | 442 - .../Python/Python-2.7.2/Lib/json/scanner.py | 67 - .../Python-2.7.2/Lib/json/tests/__init__.py | 73 - .../Lib/json/tests/test_check_circular.py | 34 - .../Lib/json/tests/test_decode.py | 50 - .../Lib/json/tests/test_default.py | 12 - .../Python-2.7.2/Lib/json/tests/test_dump.py | 23 - .../tests/test_encode_basestring_ascii.py | 41 - .../Python-2.7.2/Lib/json/tests/test_fail.py | 87 - .../Python-2.7.2/Lib/json/tests/test_float.py | 22 - .../Lib/json/tests/test_indent.py | 60 - .../Python-2.7.2/Lib/json/tests/test_pass1.py | 79 - .../Python-2.7.2/Lib/json/tests/test_pass2.py | 18 - .../Python-2.7.2/Lib/json/tests/test_pass3.py | 24 - .../Lib/json/tests/test_recursion.py | 108 - .../Lib/json/tests/test_scanstring.py | 109 - .../Lib/json/tests/test_separators.py | 44 - .../Lib/json/tests/test_speedups.py | 23 - .../Lib/json/tests/test_unicode.py | 85 - .../Python/Python-2.7.2/Lib/json/tool.py | 37 - .../Python/Python-2.7.2/Lib/keyword.py | 93 - .../Python-2.7.2/Lib/lib2to3/Grammar.txt | 158 - .../Lib/lib2to3/PatternGrammar.txt | 28 - .../Python-2.7.2/Lib/lib2to3/__init__.py | 1 - .../Python-2.7.2/Lib/lib2to3/__main__.py | 4 - .../Python-2.7.2/Lib/lib2to3/btm_matcher.py | 168 - .../Python-2.7.2/Lib/lib2to3/btm_utils.py | 283 - .../Python-2.7.2/Lib/lib2to3/fixer_base.py | 189 - .../Python-2.7.2/Lib/lib2to3/fixer_util.py | 432 - .../Lib/lib2to3/fixes/__init__.py | 1 - .../Lib/lib2to3/fixes/fix_apply.py | 59 - .../Lib/lib2to3/fixes/fix_basestring.py | 14 - .../Lib/lib2to3/fixes/fix_buffer.py | 22 - .../Lib/lib2to3/fixes/fix_callable.py | 37 - .../Lib/lib2to3/fixes/fix_dict.py | 107 - .../Lib/lib2to3/fixes/fix_except.py | 93 - .../Lib/lib2to3/fixes/fix_exec.py | 40 - .../Lib/lib2to3/fixes/fix_execfile.py | 52 - .../Lib/lib2to3/fixes/fix_exitfunc.py | 72 - .../Lib/lib2to3/fixes/fix_filter.py | 76 - .../Lib/lib2to3/fixes/fix_funcattrs.py | 21 - .../Lib/lib2to3/fixes/fix_future.py | 22 - .../Lib/lib2to3/fixes/fix_getcwdu.py | 19 - .../Lib/lib2to3/fixes/fix_has_key.py | 110 - .../Lib/lib2to3/fixes/fix_idioms.py | 152 - .../Lib/lib2to3/fixes/fix_import.py | 99 - .../Lib/lib2to3/fixes/fix_imports.py | 145 - .../Lib/lib2to3/fixes/fix_imports2.py | 16 - .../Lib/lib2to3/fixes/fix_input.py | 26 - .../Lib/lib2to3/fixes/fix_intern.py | 46 - .../Lib/lib2to3/fixes/fix_isinstance.py | 52 - .../Lib/lib2to3/fixes/fix_itertools.py | 43 - .../lib2to3/fixes/fix_itertools_imports.py | 57 - .../Lib/lib2to3/fixes/fix_long.py | 19 - .../Python-2.7.2/Lib/lib2to3/fixes/fix_map.py | 91 - .../Lib/lib2to3/fixes/fix_metaclass.py | 228 - .../Lib/lib2to3/fixes/fix_methodattrs.py | 24 - .../Python-2.7.2/Lib/lib2to3/fixes/fix_ne.py | 23 - .../Lib/lib2to3/fixes/fix_next.py | 103 - .../Lib/lib2to3/fixes/fix_nonzero.py | 21 - .../Lib/lib2to3/fixes/fix_numliterals.py | 28 - .../Lib/lib2to3/fixes/fix_operator.py | 96 - .../Lib/lib2to3/fixes/fix_paren.py | 44 - .../Lib/lib2to3/fixes/fix_print.py | 87 - .../Lib/lib2to3/fixes/fix_raise.py | 90 - .../Lib/lib2to3/fixes/fix_raw_input.py | 17 - .../Lib/lib2to3/fixes/fix_reduce.py | 35 - .../Lib/lib2to3/fixes/fix_renames.py | 70 - .../Lib/lib2to3/fixes/fix_repr.py | 23 - .../Lib/lib2to3/fixes/fix_set_literal.py | 53 - .../Lib/lib2to3/fixes/fix_standarderror.py | 18 - .../Lib/lib2to3/fixes/fix_sys_exc.py | 30 - .../Lib/lib2to3/fixes/fix_throw.py | 56 - .../Lib/lib2to3/fixes/fix_tuple_params.py | 175 - .../Lib/lib2to3/fixes/fix_types.py | 62 - .../Lib/lib2to3/fixes/fix_unicode.py | 25 - .../Lib/lib2to3/fixes/fix_urllib.py | 197 - .../Lib/lib2to3/fixes/fix_ws_comma.py | 39 - .../Lib/lib2to3/fixes/fix_xrange.py | 73 - .../Lib/lib2to3/fixes/fix_xreadlines.py | 25 - .../Python-2.7.2/Lib/lib2to3/fixes/fix_zip.py | 35 - .../Python/Python-2.7.2/Lib/lib2to3/main.py | 182 - .../Python-2.7.2/Lib/lib2to3/patcomp.py | 205 - .../Lib/lib2to3/pgen2/__init__.py | 4 - .../Python-2.7.2/Lib/lib2to3/pgen2/conv.py | 257 - .../Python-2.7.2/Lib/lib2to3/pgen2/driver.py | 140 - .../Python-2.7.2/Lib/lib2to3/pgen2/grammar.py | 184 - .../Lib/lib2to3/pgen2/literals.py | 60 - .../Python-2.7.2/Lib/lib2to3/pgen2/parse.py | 201 - .../Python-2.7.2/Lib/lib2to3/pgen2/pgen.py | 386 - .../Python-2.7.2/Lib/lib2to3/pgen2/token.py | 82 - .../Lib/lib2to3/pgen2/tokenize.py | 500 - .../Python/Python-2.7.2/Lib/lib2to3/pygram.py | 40 - .../Python/Python-2.7.2/Lib/lib2to3/pytree.py | 887 - .../Python-2.7.2/Lib/lib2to3/refactor.py | 741 - .../Lib/lib2to3/tests/__init__.py | 24 - .../Lib/lib2to3/tests/data/README | 6 - .../Lib/lib2to3/tests/data/bom.py | 2 - .../Lib/lib2to3/tests/data/crlf.py | 3 - .../lib2to3/tests/data/different_encoding.py | 6 - .../lib2to3/tests/data/fixers/bad_order.py | 5 - .../tests/data/fixers/myfixes/__init__.py | 0 .../tests/data/fixers/myfixes/fix_explicit.py | 6 - .../tests/data/fixers/myfixes/fix_first.py | 6 - .../tests/data/fixers/myfixes/fix_last.py | 7 - .../tests/data/fixers/myfixes/fix_parrot.py | 13 - .../tests/data/fixers/myfixes/fix_preorder.py | 6 - .../lib2to3/tests/data/fixers/no_fixer_cls.py | 1 - .../tests/data/fixers/parrot_example.py | 2 - .../lib2to3/tests/data/infinite_recursion.py | 2669 --- .../lib2to3/tests/data/py2_test_grammar.py | 974 - .../lib2to3/tests/data/py3_test_grammar.py | 923 - .../Lib/lib2to3/tests/pytree_idempotency.py | 92 - .../Python-2.7.2/Lib/lib2to3/tests/support.py | 54 - .../Lib/lib2to3/tests/test_all_fixers.py | 23 - .../Lib/lib2to3/tests/test_fixers.py | 4529 ---- .../Lib/lib2to3/tests/test_main.py | 41 - .../Lib/lib2to3/tests/test_parser.py | 227 - .../Lib/lib2to3/tests/test_pytree.py | 494 - .../Lib/lib2to3/tests/test_refactor.py | 281 - .../Lib/lib2to3/tests/test_util.py | 594 - .../Python/Python-2.7.2/Lib/linecache.py | 135 - .../Python/Python-2.7.2/Lib/locale.py | 1867 -- .../Python-2.7.2/Lib/logging/__init__.py | 1707 -- .../Python/Python-2.7.2/Lib/logging/config.py | 905 - .../Python-2.7.2/Lib/logging/handlers.py | 1158 -- .../Python/Python-2.7.2/Lib/mailbox.py | 2171 -- .../Python/Python-2.7.2/Lib/mailcap.py | 255 - .../Python/Python-2.7.2/Lib/markupbase.py | 392 - .../Python/Python-2.7.2/Lib/md5.py | 14 - .../Python/Python-2.7.2/Lib/mhlib.py | 1005 - .../Python/Python-2.7.2/Lib/mimetools.py | 250 - .../Python/Python-2.7.2/Lib/mimetypes.py | 591 - .../Python/Python-2.7.2/Lib/mimify.py | 468 - .../Python/Python-2.7.2/Lib/modulefinder.py | 671 - .../Python/Python-2.7.2/Lib/multifile.py | 162 - .../Python/Python-2.7.2/Lib/mutex.py | 55 - .../Python/Python-2.7.2/Lib/netrc.py | 122 - .../Python/Python-2.7.2/Lib/new.py | 17 - .../Python/Python-2.7.2/Lib/nntplib.py | 627 - .../Python/Python-2.7.2/Lib/ntpath.py | 523 - .../Python/Python-2.7.2/Lib/nturl2path.py | 66 - .../Python/Python-2.7.2/Lib/numbers.py | 391 - .../Python/Python-2.7.2/Lib/opcode.py | 192 - .../Python/Python-2.7.2/Lib/optparse.py | 1703 -- .../Python/Python-2.7.2/Lib/os.py | 759 - .../Python/Python-2.7.2/Lib/pdb.doc | 202 - .../Python/Python-2.7.2/Lib/pdb.py | 1338 -- .../Python/Python-2.7.2/Lib/pickle.py | 1391 -- .../Python/Python-2.7.2/Lib/pickletools.py | 2274 -- .../Python/Python-2.7.2/Lib/pipes.py | 280 - .../Python/Python-2.7.2/Lib/pkgutil.py | 583 - .../Python/Python-2.7.2/Lib/platform.py | 1614 -- .../Python/Python-2.7.2/Lib/plistlib.py | 474 - .../Python/Python-2.7.2/Lib/popen2.py | 201 - .../Python/Python-2.7.2/Lib/poplib.py | 417 - .../Python/Python-2.7.2/Lib/posixfile.py | 237 - .../Python/Python-2.7.2/Lib/posixpath.py | 415 - .../Python/Python-2.7.2/Lib/pprint.py | 350 - .../Python/Python-2.7.2/Lib/profile.py | 619 - .../Python/Python-2.7.2/Lib/pstats.py | 713 - .../Python/Python-2.7.2/Lib/pty.py | 174 - .../Python/Python-2.7.2/Lib/py_compile.py | 170 - .../Python/Python-2.7.2/Lib/pyclbr.py | 342 - .../Python/Python-2.7.2/Lib/pydoc.py | 2337 --- .../Python-2.7.2/Lib/pydoc_data/__init__.py | 0 .../Python-2.7.2/Lib/pydoc_data/topics.py | 83 - .../Python/Python-2.7.2/Lib/quopri.py | 237 - .../Python/Python-2.7.2/Lib/random.py | 908 - .../Python/Python-2.7.2/Lib/re.py | 326 - .../Python/Python-2.7.2/Lib/repr.py | 132 - .../Python/Python-2.7.2/Lib/rexec.py | 588 - .../Python/Python-2.7.2/Lib/rfc822.py | 1011 - .../Python/Python-2.7.2/Lib/rlcompleter.py | 170 - .../Python/Python-2.7.2/Lib/robotparser.py | 222 - .../Python/Python-2.7.2/Lib/runpy.py | 278 - .../Python/Python-2.7.2/Lib/sched.py | 134 - .../Python/Python-2.7.2/Lib/sets.py | 557 - .../Python/Python-2.7.2/Lib/sgmllib.py | 553 - .../Python/Python-2.7.2/Lib/sha.py | 15 - .../Python/Python-2.7.2/Lib/shelve.py | 239 - .../Python/Python-2.7.2/Lib/shlex.py | 292 - .../Python/Python-2.7.2/Lib/shutil.py | 552 - .../Python-2.7.2/Lib/site-packages/README | 2 - .../Python/Python-2.7.2/Lib/site.py | 615 - .../Python/Python-2.7.2/Lib/smtpd.py | 555 - .../Python/Python-2.7.2/Lib/smtplib.py | 848 - .../Python/Python-2.7.2/Lib/sndhdr.py | 228 - .../Python/Python-2.7.2/Lib/socket.py | 573 - .../Python/Python-2.7.2/Lib/sre.py | 13 - .../Python/Python-2.7.2/Lib/sre_compile.py | 524 - .../Python/Python-2.7.2/Lib/sre_constants.py | 261 - .../Python/Python-2.7.2/Lib/sre_parse.py | 790 - .../Python/Python-2.7.2/Lib/ssl.py | 464 - .../Python/Python-2.7.2/Lib/stat.py | 94 - .../Python/Python-2.7.2/Lib/statvfs.py | 18 - .../Python/Python-2.7.2/Lib/string.py | 642 - .../Python/Python-2.7.2/Lib/stringold.py | 432 - .../Python/Python-2.7.2/Lib/stringprep.py | 272 - .../Python/Python-2.7.2/Lib/struct.py | 3 - .../Python/Python-2.7.2/Lib/symbol.py | 114 - .../Python/Python-2.7.2/Lib/symtable.py | 242 - .../Python/Python-2.7.2/Lib/sysconfig.py | 687 - .../Python/Python-2.7.2/Lib/tabnanny.py | 329 - .../Python/Python-2.7.2/Lib/tarfile.py | 2594 --- .../Python/Python-2.7.2/Lib/telnetlib.py | 657 - .../Python/Python-2.7.2/Lib/tempfile.py | 606 - .../Python/Python-2.7.2/Lib/test/185test.db | Bin 16384 -> 0 bytes .../Lib/test/Sine-1000Hz-300ms.aif | Bin 61696 -> 0 bytes .../Python/Python-2.7.2/Lib/test/__init__.py | 1 - .../Python/Python-2.7.2/Lib/test/audiotest.au | Bin 28144 -> 0 bytes .../Python/Python-2.7.2/Lib/test/autotest.py | 6 - .../Python-2.7.2/Lib/test/bad_coding.py | 1 - .../Python-2.7.2/Lib/test/bad_coding2.py | 2 - .../Python/Python-2.7.2/Lib/test/badcert.pem | 36 - .../Python/Python-2.7.2/Lib/test/badkey.pem | 40 - .../Lib/test/badsyntax_future3.py | 10 - .../Lib/test/badsyntax_future4.py | 10 - .../Lib/test/badsyntax_future5.py | 12 - .../Lib/test/badsyntax_future6.py | 10 - .../Lib/test/badsyntax_future7.py | 11 - .../Lib/test/badsyntax_future8.py | 10 - .../Lib/test/badsyntax_future9.py | 10 - .../Lib/test/badsyntax_nocaret.py | 2 - .../Python-2.7.2/Lib/test/buffer_tests.py | 206 - .../Python/Python-2.7.2/Lib/test/cfgparser.1 | 2 - .../Python-2.7.2/Lib/test/check_soundcard.vbs | 13 - .../Lib/test/cjkencodings/big5-utf8.txt | 9 - .../Lib/test/cjkencodings/big5.txt | 9 - .../Lib/test/cjkencodings/big5hkscs-utf8.txt | 2 - .../Lib/test/cjkencodings/big5hkscs.txt | 2 - .../Lib/test/cjkencodings/cp949-utf8.txt | 9 - .../Lib/test/cjkencodings/cp949.txt | 9 - .../test/cjkencodings/euc_jisx0213-utf8.txt | 8 - .../Lib/test/cjkencodings/euc_jisx0213.txt | 8 - .../Lib/test/cjkencodings/euc_jp-utf8.txt | 7 - .../Lib/test/cjkencodings/euc_jp.txt | 7 - .../Lib/test/cjkencodings/euc_kr-utf8.txt | 7 - .../Lib/test/cjkencodings/euc_kr.txt | 7 - .../Lib/test/cjkencodings/gb18030-utf8.txt | 15 - .../Lib/test/cjkencodings/gb18030.txt | 15 - .../Lib/test/cjkencodings/gb2312-utf8.txt | 6 - .../Lib/test/cjkencodings/gb2312.txt | 6 - .../Lib/test/cjkencodings/gbk-utf8.txt | 14 - .../Lib/test/cjkencodings/gbk.txt | 14 - .../Lib/test/cjkencodings/hz-utf8.txt | 2 - .../Python-2.7.2/Lib/test/cjkencodings/hz.txt | 2 - .../Lib/test/cjkencodings/johab-utf8.txt | 9 - .../Lib/test/cjkencodings/johab.txt | 9 - .../Lib/test/cjkencodings/shift_jis-utf8.txt | 7 - .../Lib/test/cjkencodings/shift_jis.txt | 7 - .../test/cjkencodings/shift_jisx0213-utf8.txt | 8 - .../Lib/test/cjkencodings/shift_jisx0213.txt | 8 - .../Python-2.7.2/Lib/test/cmath_testcases.txt | 2365 --- .../Python-2.7.2/Lib/test/crashers/README | 16 - .../Lib/test/crashers/bogus_code_obj.py | 19 - .../Lib/test/crashers/borrowed_ref_1.py | 29 - .../Lib/test/crashers/borrowed_ref_2.py | 38 - .../Lib/test/crashers/compiler_recursion.py | 5 - .../Lib/test/crashers/gc_has_finalizer.py | 36 - .../Lib/test/crashers/gc_inspection.py | 32 - .../Lib/test/crashers/infinite_loop_re.py | 16 - .../Lib/test/crashers/loosing_mro_ref.py | 35 - .../test/crashers/mutation_inside_cyclegc.py | 31 - .../Lib/test/crashers/nasty_eq_vs_dict.py | 47 - .../test/crashers/recursion_limit_too_high.py | 16 - .../Lib/test/crashers/recursive_call.py | 15 - .../Python-2.7.2/Lib/test/curses_tests.py | 46 - .../Python/Python-2.7.2/Lib/test/data/README | 2 - .../Lib/test/decimaltestdata/abs.decTest | 161 - .../Lib/test/decimaltestdata/add.decTest | 2716 --- .../Lib/test/decimaltestdata/and.decTest | 338 - .../Lib/test/decimaltestdata/base.decTest | 1411 -- .../Lib/test/decimaltestdata/clamp.decTest | 211 - .../Lib/test/decimaltestdata/class.decTest | 131 - .../Lib/test/decimaltestdata/compare.decTest | 758 - .../test/decimaltestdata/comparetotal.decTest | 798 - .../decimaltestdata/comparetotmag.decTest | 790 - .../Lib/test/decimaltestdata/copy.decTest | 86 - .../Lib/test/decimaltestdata/copyabs.decTest | 86 - .../test/decimaltestdata/copynegate.decTest | 86 - .../Lib/test/decimaltestdata/copysign.decTest | 177 - .../Lib/test/decimaltestdata/ddAbs.decTest | 126 - .../Lib/test/decimaltestdata/ddAdd.decTest | 1328 -- .../Lib/test/decimaltestdata/ddAnd.decTest | 347 - .../Lib/test/decimaltestdata/ddBase.decTest | 1104 - .../test/decimaltestdata/ddCanonical.decTest | 357 - .../Lib/test/decimaltestdata/ddClass.decTest | 76 - .../test/decimaltestdata/ddCompare.decTest | 744 - .../test/decimaltestdata/ddCompareSig.decTest | 647 - .../decimaltestdata/ddCompareTotal.decTest | 706 - .../decimaltestdata/ddCompareTotalMag.decTest | 706 - .../Lib/test/decimaltestdata/ddCopy.decTest | 88 - .../test/decimaltestdata/ddCopyAbs.decTest | 88 - .../test/decimaltestdata/ddCopyNegate.decTest | 88 - .../test/decimaltestdata/ddCopySign.decTest | 175 - .../Lib/test/decimaltestdata/ddDivide.decTest | 863 - .../test/decimaltestdata/ddDivideInt.decTest | 449 - .../Lib/test/decimaltestdata/ddEncode.decTest | 495 - .../Lib/test/decimaltestdata/ddFMA.decTest | 1698 -- .../Lib/test/decimaltestdata/ddInvert.decTest | 202 - .../Lib/test/decimaltestdata/ddLogB.decTest | 159 - .../Lib/test/decimaltestdata/ddMax.decTest | 322 - .../Lib/test/decimaltestdata/ddMaxMag.decTest | 304 - .../Lib/test/decimaltestdata/ddMin.decTest | 309 - .../Lib/test/decimaltestdata/ddMinMag.decTest | 293 - .../Lib/test/decimaltestdata/ddMinus.decTest | 88 - .../test/decimaltestdata/ddMultiply.decTest | 553 - .../test/decimaltestdata/ddNextMinus.decTest | 126 - .../test/decimaltestdata/ddNextPlus.decTest | 124 - .../test/decimaltestdata/ddNextToward.decTest | 374 - .../Lib/test/decimaltestdata/ddOr.decTest | 292 - .../Lib/test/decimaltestdata/ddPlus.decTest | 88 - .../test/decimaltestdata/ddQuantize.decTest | 833 - .../Lib/test/decimaltestdata/ddReduce.decTest | 182 - .../test/decimaltestdata/ddRemainder.decTest | 600 - .../decimaltestdata/ddRemainderNear.decTest | 629 - .../Lib/test/decimaltestdata/ddRotate.decTest | 262 - .../decimaltestdata/ddSameQuantum.decTest | 389 - .../Lib/test/decimaltestdata/ddScaleB.decTest | 243 - .../Lib/test/decimaltestdata/ddShift.decTest | 262 - .../test/decimaltestdata/ddSubtract.decTest | 629 - .../test/decimaltestdata/ddToIntegral.decTest | 257 - .../Lib/test/decimaltestdata/ddXor.decTest | 337 - .../test/decimaltestdata/decDouble.decTest | 65 - .../Lib/test/decimaltestdata/decQuad.decTest | 65 - .../test/decimaltestdata/decSingle.decTest | 25 - .../Lib/test/decimaltestdata/divide.decTest | 854 - .../test/decimaltestdata/divideint.decTest | 486 - .../Lib/test/decimaltestdata/dqAbs.decTest | 126 - .../Lib/test/decimaltestdata/dqAdd.decTest | 1215 -- .../Lib/test/decimaltestdata/dqAnd.decTest | 420 - .../Lib/test/decimaltestdata/dqBase.decTest | 1081 - .../test/decimaltestdata/dqCanonical.decTest | 372 - .../Lib/test/decimaltestdata/dqClass.decTest | 77 - .../test/decimaltestdata/dqCompare.decTest | 753 - .../test/decimaltestdata/dqCompareSig.decTest | 647 - .../decimaltestdata/dqCompareTotal.decTest | 706 - .../decimaltestdata/dqCompareTotalMag.decTest | 706 - .../Lib/test/decimaltestdata/dqCopy.decTest | 88 - .../test/decimaltestdata/dqCopyAbs.decTest | 88 - .../test/decimaltestdata/dqCopyNegate.decTest | 88 - .../test/decimaltestdata/dqCopySign.decTest | 175 - .../Lib/test/decimaltestdata/dqDivide.decTest | 808 - .../test/decimaltestdata/dqDivideInt.decTest | 453 - .../Lib/test/decimaltestdata/dqEncode.decTest | 477 - .../Lib/test/decimaltestdata/dqFMA.decTest | 1786 -- .../Lib/test/decimaltestdata/dqInvert.decTest | 245 - .../Lib/test/decimaltestdata/dqLogB.decTest | 160 - .../Lib/test/decimaltestdata/dqMax.decTest | 322 - .../Lib/test/decimaltestdata/dqMaxMag.decTest | 304 - .../Lib/test/decimaltestdata/dqMin.decTest | 309 - .../Lib/test/decimaltestdata/dqMinMag.decTest | 293 - .../Lib/test/decimaltestdata/dqMinus.decTest | 88 - .../test/decimaltestdata/dqMultiply.decTest | 589 - .../test/decimaltestdata/dqNextMinus.decTest | 126 - .../test/decimaltestdata/dqNextPlus.decTest | 124 - .../test/decimaltestdata/dqNextToward.decTest | 375 - .../Lib/test/decimaltestdata/dqOr.decTest | 401 - .../Lib/test/decimaltestdata/dqPlus.decTest | 88 - .../test/decimaltestdata/dqQuantize.decTest | 836 - .../Lib/test/decimaltestdata/dqReduce.decTest | 183 - .../test/decimaltestdata/dqRemainder.decTest | 597 - .../decimaltestdata/dqRemainderNear.decTest | 631 - .../Lib/test/decimaltestdata/dqRotate.decTest | 298 - .../decimaltestdata/dqSameQuantum.decTest | 389 - .../Lib/test/decimaltestdata/dqScaleB.decTest | 260 - .../Lib/test/decimaltestdata/dqShift.decTest | 298 - .../test/decimaltestdata/dqSubtract.decTest | 635 - .../test/decimaltestdata/dqToIntegral.decTest | 257 - .../Lib/test/decimaltestdata/dqXor.decTest | 410 - .../Lib/test/decimaltestdata/dsBase.decTest | 1062 - .../Lib/test/decimaltestdata/dsEncode.decTest | 372 - .../Lib/test/decimaltestdata/exp.decTest | 674 - .../Lib/test/decimaltestdata/extra.decTest | 2817 --- .../Lib/test/decimaltestdata/fma.decTest | 3426 --- .../Lib/test/decimaltestdata/inexact.decTest | 215 - .../Lib/test/decimaltestdata/invert.decTest | 176 - .../Lib/test/decimaltestdata/ln.decTest | 611 - .../Lib/test/decimaltestdata/log10.decTest | 551 - .../Lib/test/decimaltestdata/logb.decTest | 188 - .../Lib/test/decimaltestdata/max.decTest | 424 - .../Lib/test/decimaltestdata/maxmag.decTest | 404 - .../Lib/test/decimaltestdata/min.decTest | 407 - .../Lib/test/decimaltestdata/minmag.decTest | 390 - .../Lib/test/decimaltestdata/minus.decTest | 182 - .../Lib/test/decimaltestdata/multiply.decTest | 731 - .../test/decimaltestdata/nextminus.decTest | 148 - .../Lib/test/decimaltestdata/nextplus.decTest | 150 - .../test/decimaltestdata/nexttoward.decTest | 426 - .../Lib/test/decimaltestdata/or.decTest | 334 - .../Lib/test/decimaltestdata/plus.decTest | 195 - .../Lib/test/decimaltestdata/power.decTest | 1624 -- .../test/decimaltestdata/powersqrt.decTest | 2970 --- .../Lib/test/decimaltestdata/quantize.decTest | 948 - .../decimaltestdata/randomBound32.decTest | 2443 --- .../Lib/test/decimaltestdata/randoms.decTest | 4030 ---- .../Lib/test/decimaltestdata/reduce.decTest | 234 - .../test/decimaltestdata/remainder.decTest | 640 - .../decimaltestdata/remainderNear.decTest | 572 - .../Lib/test/decimaltestdata/rescale.decTest | 764 - .../Lib/test/decimaltestdata/rotate.decTest | 247 - .../Lib/test/decimaltestdata/rounding.decTest | 1303 -- .../test/decimaltestdata/samequantum.decTest | 389 - .../Lib/test/decimaltestdata/scaleb.decTest | 209 - .../Lib/test/decimaltestdata/shift.decTest | 250 - .../test/decimaltestdata/squareroot.decTest | 3834 ---- .../Lib/test/decimaltestdata/subtract.decTest | 873 - .../Lib/test/decimaltestdata/testall.decTest | 87 - .../test/decimaltestdata/tointegral.decTest | 241 - .../test/decimaltestdata/tointegralx.decTest | 255 - .../Lib/test/decimaltestdata/xor.decTest | 335 - .../Python-2.7.2/Lib/test/doctest_aliases.py | 13 - .../Python-2.7.2/Lib/test/double_const.py | 30 - .../Python/Python-2.7.2/Lib/test/empty.vbs | 1 - .../Lib/test/exception_hierarchy.txt | 50 - .../Python-2.7.2/Lib/test/floating_points.txt | 1028 - .../Python/Python-2.7.2/Lib/test/fork_wait.py | 79 - .../Lib/test/formatfloat_testcases.txt | 380 - .../Python-2.7.2/Lib/test/gdb_sample.py | 12 - .../Python/Python-2.7.2/Lib/test/greyrgb.uue | 1547 -- .../Lib/test/https_svn_python_org_root.pem | 41 - .../Python/Python-2.7.2/Lib/test/ieee754.txt | 185 - .../Python-2.7.2/Lib/test/infinite_reload.py | 8 - .../Python-2.7.2/Lib/test/inspect_fodder.py | 56 - .../Python-2.7.2/Lib/test/inspect_fodder2.py | 99 - .../Python/Python-2.7.2/Lib/test/keycert.pem | 32 - .../Python-2.7.2/Lib/test/leakers/README.txt | 32 - .../Python-2.7.2/Lib/test/leakers/__init__.py | 0 .../Lib/test/leakers/test_ctypes.py | 16 - .../Lib/test/leakers/test_dictself.py | 12 - .../Lib/test/leakers/test_gestalt.py | 14 - .../Lib/test/leakers/test_selftype.py | 13 - .../Python-2.7.2/Lib/test/list_tests.py | 534 - .../Python-2.7.2/Lib/test/lock_tests.py | 546 - .../Python-2.7.2/Lib/test/mapping_tests.py | 682 - .../Python-2.7.2/Lib/test/math_testcases.txt | 447 - .../Python/Python-2.7.2/Lib/test/nullcert.pem | 0 .../Python-2.7.2/Lib/test/outstanding_bugs.py | 22 - .../Python-2.7.2/Lib/test/pickletester.py | 1259 -- .../Python/Python-2.7.2/Lib/test/profilee.py | 115 - .../Python-2.7.2/Lib/test/pyclbr_input.py | 33 - .../Python/Python-2.7.2/Lib/test/pydoc_mod.py | 27 - .../Python-2.7.2/Lib/test/pydocfodder.py | 216 - .../Python/Python-2.7.2/Lib/test/pystone.py | 270 - .../Python-2.7.2/Lib/test/randv2_32.pck | 633 - .../Python-2.7.2/Lib/test/randv2_64.pck | 633 - .../Python/Python-2.7.2/Lib/test/randv3.pck | 633 - .../Python/Python-2.7.2/Lib/test/re_tests.py | 674 - .../Python-2.7.2/Lib/test/regex_tests.py | 287 - .../Python/Python-2.7.2/Lib/test/regrtest.py | 1536 -- .../Python/Python-2.7.2/Lib/test/relimport.py | 1 - .../Python/Python-2.7.2/Lib/test/reperf.py | 23 - .../Python-2.7.2/Lib/test/sample_doctest.py | 76 - .../Python-2.7.2/Lib/test/script_helper.py | 164 - .../Python/Python-2.7.2/Lib/test/seq_tests.py | 392 - .../Python-2.7.2/Lib/test/sgml_input.html | 212 - .../Python/Python-2.7.2/Lib/test/sha256.pem | 129 - .../Python/Python-2.7.2/Lib/test/sortperf.py | 169 - .../Python/Python-2.7.2/Lib/test/ssl_cert.pem | 14 - .../Python/Python-2.7.2/Lib/test/ssl_key.pem | 9 - .../Python-2.7.2/Lib/test/string_tests.py | 1333 -- .../test/subprocessdata/sigchild_ignore.py | 6 - .../Lib/test/svn_python_org_https_cert.pem | 31 - .../Python-2.7.2/Lib/test/test_MimeWriter.py | 292 - .../Lib/test/test_SimpleHTTPServer.py | 41 - .../Python-2.7.2/Lib/test/test_StringIO.py | 150 - .../Python-2.7.2/Lib/test/test___all__.py | 123 - .../Python-2.7.2/Lib/test/test___future__.py | 66 - .../Python-2.7.2/Lib/test/test__locale.py | 137 - .../Python/Python-2.7.2/Lib/test/test_abc.py | 233 - .../Lib/test/test_abstract_numbers.py | 52 - .../Python-2.7.2/Lib/test/test_aepack.py | 90 - .../Python/Python-2.7.2/Lib/test/test_aifc.py | 115 - .../Python/Python-2.7.2/Lib/test/test_al.py | 25 - .../Python-2.7.2/Lib/test/test_anydbm.py | 97 - .../Python-2.7.2/Lib/test/test_applesingle.py | 71 - .../Python-2.7.2/Lib/test/test_argparse.py | 4646 ----- .../Python-2.7.2/Lib/test/test_array.py | 1095 - .../Lib/test/test_ascii_formatd.py | 58 - .../Python/Python-2.7.2/Lib/test/test_ast.py | 382 - .../Python-2.7.2/Lib/test/test_asynchat.py | 273 - .../Python-2.7.2/Lib/test/test_asyncore.py | 722 - .../Python-2.7.2/Lib/test/test_atexit.py | 82 - .../Python-2.7.2/Lib/test/test_audioop.py | 206 - .../Python-2.7.2/Lib/test/test_augassign.py | 331 - .../Python-2.7.2/Lib/test/test_base64.py | 190 - .../Python-2.7.2/Lib/test/test_bastion.py | 3 - .../Lib/test/test_bigaddrspace.py | 46 - .../Python-2.7.2/Lib/test/test_bigmem.py | 1073 - .../Python-2.7.2/Lib/test/test_binascii.py | 236 - .../Python-2.7.2/Lib/test/test_binhex.py | 49 - .../Python-2.7.2/Lib/test/test_binop.py | 331 - .../Python-2.7.2/Lib/test/test_bisect.py | 317 - .../Python/Python-2.7.2/Lib/test/test_bool.py | 371 - .../Python-2.7.2/Lib/test/test_bsddb.py | 357 - .../Python-2.7.2/Lib/test/test_bsddb185.py | 43 - .../Python-2.7.2/Lib/test/test_bsddb3.py | 81 - .../Python-2.7.2/Lib/test/test_buffer.py | 31 - .../Python-2.7.2/Lib/test/test_bufio.py | 79 - .../Python-2.7.2/Lib/test/test_builtin.py | 1708 -- .../Python-2.7.2/Lib/test/test_bytes.py | 1119 - .../Python/Python-2.7.2/Lib/test/test_bz2.py | 422 - .../Python-2.7.2/Lib/test/test_calendar.py | 457 - .../Python/Python-2.7.2/Lib/test/test_call.py | 134 - .../Python/Python-2.7.2/Lib/test/test_capi.py | 140 - .../Python/Python-2.7.2/Lib/test/test_cd.py | 30 - .../Python-2.7.2/Lib/test/test_cfgparser.py | 598 - .../Python/Python-2.7.2/Lib/test/test_cgi.py | 386 - .../Lib/test/test_charmapcodec.py | 56 - .../Python/Python-2.7.2/Lib/test/test_cl.py | 82 - .../Python-2.7.2/Lib/test/test_class.py | 626 - .../Python-2.7.2/Lib/test/test_cmath.py | 474 - .../Python/Python-2.7.2/Lib/test/test_cmd.py | 217 - .../Python-2.7.2/Lib/test/test_cmd_line.py | 95 - .../Lib/test/test_cmd_line_script.py | 213 - .../Python/Python-2.7.2/Lib/test/test_code.py | 147 - .../Lib/test/test_codeccallbacks.py | 804 - .../Lib/test/test_codecencodings_cn.py | 86 - .../Lib/test/test_codecencodings_hk.py | 27 - .../Lib/test/test_codecencodings_jp.py | 105 - .../Lib/test/test_codecencodings_kr.py | 69 - .../Lib/test/test_codecencodings_tw.py | 27 - .../Lib/test/test_codecmaps_cn.py | 33 - .../Lib/test/test_codecmaps_hk.py | 21 - .../Lib/test/test_codecmaps_jp.py | 67 - .../Lib/test/test_codecmaps_kr.py | 44 - .../Lib/test/test_codecmaps_tw.py | 31 - .../Python-2.7.2/Lib/test/test_codecs.py | 1614 -- .../Python-2.7.2/Lib/test/test_codeop.py | 304 - .../Python-2.7.2/Lib/test/test_coding.py | 37 - .../Python-2.7.2/Lib/test/test_coercion.py | 348 - .../Python-2.7.2/Lib/test/test_collections.py | 1042 - .../Python-2.7.2/Lib/test/test_colorsys.py | 76 - .../Python-2.7.2/Lib/test/test_commands.py | 74 - .../Python-2.7.2/Lib/test/test_compare.py | 58 - .../Python-2.7.2/Lib/test/test_compile.py | 498 - .../Python-2.7.2/Lib/test/test_compileall.py | 80 - .../Python-2.7.2/Lib/test/test_compiler.py | 317 - .../Python-2.7.2/Lib/test/test_complex.py | 651 - .../Lib/test/test_complex_args.py | 118 - .../Python-2.7.2/Lib/test/test_contains.py | 111 - .../Python-2.7.2/Lib/test/test_contextlib.py | 326 - .../Python-2.7.2/Lib/test/test_cookie.py | 98 - .../Python-2.7.2/Lib/test/test_cookielib.py | 1762 -- .../Python/Python-2.7.2/Lib/test/test_copy.py | 712 - .../Python-2.7.2/Lib/test/test_copy_reg.py | 121 - .../Python-2.7.2/Lib/test/test_cpickle.py | 139 - .../Python-2.7.2/Lib/test/test_cprofile.py | 127 - .../Python-2.7.2/Lib/test/test_crypt.py | 17 - .../Python/Python-2.7.2/Lib/test/test_csv.py | 1055 - .../Python-2.7.2/Lib/test/test_ctypes.py | 15 - .../Python-2.7.2/Lib/test/test_curses.py | 290 - .../Python-2.7.2/Lib/test/test_datetime.py | 3367 --- .../Python/Python-2.7.2/Lib/test/test_dbm.py | 42 - .../Python-2.7.2/Lib/test/test_decimal.py | 2339 --- .../Python-2.7.2/Lib/test/test_decorators.py | 309 - .../Python-2.7.2/Lib/test/test_defaultdict.py | 179 - .../Python-2.7.2/Lib/test/test_deque.py | 787 - .../Python-2.7.2/Lib/test/test_descr.py | 4659 ----- .../Python-2.7.2/Lib/test/test_descrtut.py | 497 - .../Python/Python-2.7.2/Lib/test/test_dict.py | 676 - .../Python-2.7.2/Lib/test/test_dictcomps.py | 54 - .../Python-2.7.2/Lib/test/test_dictviews.py | 154 - .../Python-2.7.2/Lib/test/test_difflib.py | 272 - .../Lib/test/test_difflib_expect.html | 526 - .../Python-2.7.2/Lib/test/test_dircache.py | 77 - .../Python/Python-2.7.2/Lib/test/test_dis.py | 150 - .../Python-2.7.2/Lib/test/test_distutils.py | 18 - .../Python/Python-2.7.2/Lib/test/test_dl.py | 39 - .../Python-2.7.2/Lib/test/test_doctest.py | 2615 --- .../Python-2.7.2/Lib/test/test_doctest.txt | 17 - .../Python-2.7.2/Lib/test/test_doctest2.py | 124 - .../Python-2.7.2/Lib/test/test_doctest2.txt | 14 - .../Python-2.7.2/Lib/test/test_doctest3.txt | 5 - .../Python-2.7.2/Lib/test/test_doctest4.txt | 17 - .../Python-2.7.2/Lib/test/test_docxmlrpc.py | 201 - .../Python-2.7.2/Lib/test/test_dumbdbm.py | 179 - .../Lib/test/test_dummy_thread.py | 182 - .../Lib/test/test_dummy_threading.py | 63 - .../Python-2.7.2/Lib/test/test_email.py | 12 - .../Lib/test/test_email_codecs.py | 15 - .../Lib/test/test_email_renamed.py | 12 - .../Python-2.7.2/Lib/test/test_enumerate.py | 255 - .../Python/Python-2.7.2/Lib/test/test_eof.py | 32 - .../Python-2.7.2/Lib/test/test_epoll.py | 221 - .../Python-2.7.2/Lib/test/test_errno.py | 40 - .../Lib/test/test_exception_variations.py | 180 - .../Python-2.7.2/Lib/test/test_exceptions.py | 620 - .../Python-2.7.2/Lib/test/test_extcall.py | 319 - .../Python-2.7.2/Lib/test/test_fcntl.py | 108 - .../Python/Python-2.7.2/Lib/test/test_file.py | 347 - .../Python-2.7.2/Lib/test/test_file2k.py | 680 - .../Python-2.7.2/Lib/test/test_filecmp.py | 134 - .../Python-2.7.2/Lib/test/test_fileinput.py | 225 - .../Python-2.7.2/Lib/test/test_fileio.py | 434 - .../Python-2.7.2/Lib/test/test_float.py | 1396 -- .../Python-2.7.2/Lib/test/test_fnmatch.py | 72 - .../Python-2.7.2/Lib/test/test_fork1.py | 71 - .../Python-2.7.2/Lib/test/test_format.py | 297 - .../Python-2.7.2/Lib/test/test_fpformat.py | 76 - .../Python-2.7.2/Lib/test/test_fractions.py | 587 - .../Python-2.7.2/Lib/test/test_frozen.py | 47 - .../Python-2.7.2/Lib/test/test_ftplib.py | 778 - .../Python-2.7.2/Lib/test/test_funcattrs.py | 353 - .../Python-2.7.2/Lib/test/test_functools.py | 478 - .../Python-2.7.2/Lib/test/test_future.py | 119 - .../Python-2.7.2/Lib/test/test_future1.py | 11 - .../Python-2.7.2/Lib/test/test_future2.py | 10 - .../Python-2.7.2/Lib/test/test_future3.py | 30 - .../Python-2.7.2/Lib/test/test_future4.py | 47 - .../Python-2.7.2/Lib/test/test_future5.py | 21 - .../Lib/test/test_future_builtins.py | 38 - .../Python/Python-2.7.2/Lib/test/test_gc.py | 639 - .../Python/Python-2.7.2/Lib/test/test_gdb.py | 702 - .../Python/Python-2.7.2/Lib/test/test_gdbm.py | 82 - .../Python-2.7.2/Lib/test/test_generators.py | 1906 -- .../Python-2.7.2/Lib/test/test_genericpath.py | 256 - .../Python-2.7.2/Lib/test/test_genexps.py | 282 - .../Python-2.7.2/Lib/test/test_getargs.py | 31 - .../Python-2.7.2/Lib/test/test_getargs2.py | 335 - .../Python-2.7.2/Lib/test/test_getopt.py | 187 - .../Python-2.7.2/Lib/test/test_gettext.py | 467 - .../Python/Python-2.7.2/Lib/test/test_gl.py | 155 - .../Python/Python-2.7.2/Lib/test/test_glob.py | 114 - .../Python-2.7.2/Lib/test/test_global.py | 52 - .../Python-2.7.2/Lib/test/test_grammar.py | 999 - .../Python/Python-2.7.2/Lib/test/test_grp.py | 97 - .../Python/Python-2.7.2/Lib/test/test_gzip.py | 281 - .../Python/Python-2.7.2/Lib/test/test_hash.py | 144 - .../Python-2.7.2/Lib/test/test_hashlib.py | 361 - .../Python-2.7.2/Lib/test/test_heapq.py | 393 - .../Python/Python-2.7.2/Lib/test/test_hmac.py | 314 - .../Python-2.7.2/Lib/test/test_hotshot.py | 158 - .../Python-2.7.2/Lib/test/test_htmllib.py | 69 - .../Python-2.7.2/Lib/test/test_htmlparser.py | 351 - .../Python-2.7.2/Lib/test/test_httplib.py | 447 - .../Python-2.7.2/Lib/test/test_httpservers.py | 529 - .../Python-2.7.2/Lib/test/test_imageop.py | 211 - .../Python-2.7.2/Lib/test/test_imaplib.py | 240 - .../Python-2.7.2/Lib/test/test_imgfile.py | 119 - .../Python/Python-2.7.2/Lib/test/test_imp.py | 81 - .../Python-2.7.2/Lib/test/test_import.py | 460 - .../Python-2.7.2/Lib/test/test_importhooks.py | 255 - .../Python-2.7.2/Lib/test/test_importlib.py | 176 - .../Python-2.7.2/Lib/test/test_index.py | 323 - .../Python-2.7.2/Lib/test/test_inspect.py | 752 - .../Python/Python-2.7.2/Lib/test/test_int.py | 406 - .../Python-2.7.2/Lib/test/test_int_literal.py | 188 - .../Python/Python-2.7.2/Lib/test/test_io.py | 2782 --- .../Python-2.7.2/Lib/test/test_ioctl.py | 93 - .../Python-2.7.2/Lib/test/test_isinstance.py | 277 - .../Python/Python-2.7.2/Lib/test/test_iter.py | 917 - .../Python-2.7.2/Lib/test/test_iterlen.py | 257 - .../Python-2.7.2/Lib/test/test_itertools.py | 1650 -- .../Python/Python-2.7.2/Lib/test/test_json.py | 17 - .../Python-2.7.2/Lib/test/test_kqueue.py | 196 - .../Python-2.7.2/Lib/test/test_largefile.py | 200 - .../Python-2.7.2/Lib/test/test_lib2to3.py | 21 - .../Python-2.7.2/Lib/test/test_linecache.py | 131 - .../Lib/test/test_linuxaudiodev.py | 99 - .../Python/Python-2.7.2/Lib/test/test_list.py | 78 - .../Python-2.7.2/Lib/test/test_locale.py | 420 - .../Python-2.7.2/Lib/test/test_logging.py | 1886 -- .../Python/Python-2.7.2/Lib/test/test_long.py | 914 - .../Python-2.7.2/Lib/test/test_long_future.py | 221 - .../Python-2.7.2/Lib/test/test_longexp.py | 14 - .../Python-2.7.2/Lib/test/test_macos.py | 98 - .../Python-2.7.2/Lib/test/test_macostools.py | 88 - .../Python-2.7.2/Lib/test/test_macpath.py | 57 - .../Python-2.7.2/Lib/test/test_mailbox.py | 1970 -- .../Python-2.7.2/Lib/test/test_marshal.py | 283 - .../Python/Python-2.7.2/Lib/test/test_math.py | 1030 - .../Python/Python-2.7.2/Lib/test/test_md5.py | 61 - .../Python-2.7.2/Lib/test/test_memoryio.py | 707 - .../Python-2.7.2/Lib/test/test_memoryview.py | 361 - .../Python-2.7.2/Lib/test/test_mhlib.py | 348 - .../Python-2.7.2/Lib/test/test_mimetools.py | 53 - .../Python-2.7.2/Lib/test/test_mimetypes.py | 94 - .../Python-2.7.2/Lib/test/test_minidom.py | 1477 -- .../Python/Python-2.7.2/Lib/test/test_mmap.py | 704 - .../Python-2.7.2/Lib/test/test_module.py | 85 - .../Lib/test/test_modulefinder.py | 286 - .../Python-2.7.2/Lib/test/test_msilib.py | 46 - .../Lib/test/test_multibytecodec.py | 274 - .../Lib/test/test_multibytecodec_support.py | 338 - .../Python-2.7.2/Lib/test/test_multifile.py | 67 - .../Lib/test/test_multiprocessing.py | 2110 -- .../Python-2.7.2/Lib/test/test_mutants.py | 292 - .../Python-2.7.2/Lib/test/test_mutex.py | 35 - .../Python-2.7.2/Lib/test/test_netrc.py | 110 - .../Python/Python-2.7.2/Lib/test/test_new.py | 163 - .../Python/Python-2.7.2/Lib/test/test_nis.py | 44 - .../Lib/test/test_normalization.py | 102 - .../Python-2.7.2/Lib/test/test_ntpath.py | 203 - .../Python-2.7.2/Lib/test/test_old_mailbox.py | 152 - .../Python-2.7.2/Lib/test/test_opcodes.py | 121 - .../Python-2.7.2/Lib/test/test_openpty.py | 23 - .../Python-2.7.2/Lib/test/test_operator.py | 532 - .../Python-2.7.2/Lib/test/test_optparse.py | 1619 -- .../Python/Python-2.7.2/Lib/test/test_os.py | 824 - .../Python-2.7.2/Lib/test/test_ossaudiodev.py | 174 - .../Python-2.7.2/Lib/test/test_parser.py | 596 - .../Python/Python-2.7.2/Lib/test/test_pdb.py | 287 - .../Python-2.7.2/Lib/test/test_peepholer.py | 243 - .../Python-2.7.2/Lib/test/test_pep247.py | 74 - .../Python-2.7.2/Lib/test/test_pep263.py | 48 - .../Python-2.7.2/Lib/test/test_pep277.py | 210 - .../Python-2.7.2/Lib/test/test_pep292.py | 193 - .../Python-2.7.2/Lib/test/test_pep352.py | 239 - .../Python-2.7.2/Lib/test/test_pickle.py | 80 - .../Python-2.7.2/Lib/test/test_pickletools.py | 24 - .../Python-2.7.2/Lib/test/test_pipes.py | 204 - .../Python/Python-2.7.2/Lib/test/test_pkg.py | 292 - .../Python-2.7.2/Lib/test/test_pkgimport.py | 83 - .../Python-2.7.2/Lib/test/test_pkgutil.py | 130 - .../Python-2.7.2/Lib/test/test_platform.py | 254 - .../Python-2.7.2/Lib/test/test_plistlib.py | 192 - .../Python/Python-2.7.2/Lib/test/test_poll.py | 157 - .../Python-2.7.2/Lib/test/test_popen.py | 52 - .../Python-2.7.2/Lib/test/test_popen2.py | 130 - .../Python-2.7.2/Lib/test/test_poplib.py | 343 - .../Python-2.7.2/Lib/test/test_posix.py | 429 - .../Python-2.7.2/Lib/test/test_posixpath.py | 348 - .../Python/Python-2.7.2/Lib/test/test_pow.py | 129 - .../Python-2.7.2/Lib/test/test_pprint.py | 432 - .../Python-2.7.2/Lib/test/test_print.py | 141 - .../Python-2.7.2/Lib/test/test_profile.py | 186 - .../Python-2.7.2/Lib/test/test_property.py | 231 - .../Python-2.7.2/Lib/test/test_pstats.py | 32 - .../Python/Python-2.7.2/Lib/test/test_pty.py | 200 - .../Python/Python-2.7.2/Lib/test/test_pwd.py | 100 - .../Python-2.7.2/Lib/test/test_py3kwarn.py | 426 - .../Python-2.7.2/Lib/test/test_pyclbr.py | 197 - .../Python-2.7.2/Lib/test/test_pydoc.py | 367 - .../Python-2.7.2/Lib/test/test_pyexpat.py | 604 - .../Python-2.7.2/Lib/test/test_queue.py | 322 - .../Python-2.7.2/Lib/test/test_quopri.py | 201 - .../Python-2.7.2/Lib/test/test_random.py | 572 - .../Python/Python-2.7.2/Lib/test/test_re.py | 889 - .../Python-2.7.2/Lib/test/test_readline.py | 43 - .../Python/Python-2.7.2/Lib/test/test_repr.py | 327 - .../Python-2.7.2/Lib/test/test_resource.py | 110 - .../Python-2.7.2/Lib/test/test_rfc822.py | 257 - .../Python-2.7.2/Lib/test/test_richcmp.py | 338 - .../Python-2.7.2/Lib/test/test_rlcompleter.py | 73 - .../Python-2.7.2/Lib/test/test_robotparser.py | 261 - .../Python-2.7.2/Lib/test/test_runpy.py | 402 - .../Python/Python-2.7.2/Lib/test/test_sax.py | 753 - .../Python-2.7.2/Lib/test/test_scope.py | 664 - .../Lib/test/test_scriptpackages.py | 51 - .../Python-2.7.2/Lib/test/test_select.py | 58 - .../Python/Python-2.7.2/Lib/test/test_set.py | 1781 -- .../Python-2.7.2/Lib/test/test_setcomps.py | 151 - .../Python/Python-2.7.2/Lib/test/test_sets.py | 862 - .../Python-2.7.2/Lib/test/test_sgmllib.py | 439 - .../Python/Python-2.7.2/Lib/test/test_sha.py | 56 - .../Python-2.7.2/Lib/test/test_shelve.py | 163 - .../Python-2.7.2/Lib/test/test_shlex.py | 191 - .../Python-2.7.2/Lib/test/test_shutil.py | 831 - .../Python-2.7.2/Lib/test/test_signal.py | 493 - .../Python/Python-2.7.2/Lib/test/test_site.py | 392 - .../Python-2.7.2/Lib/test/test_slice.py | 134 - .../Python-2.7.2/Lib/test/test_smtplib.py | 518 - .../Python-2.7.2/Lib/test/test_smtpnet.py | 31 - .../Python-2.7.2/Lib/test/test_socket.py | 1618 -- .../Lib/test/test_socketserver.py | 284 - .../Python-2.7.2/Lib/test/test_softspace.py | 23 - .../Python/Python-2.7.2/Lib/test/test_sort.py | 292 - .../Python-2.7.2/Lib/test/test_sqlite.py | 16 - .../Python/Python-2.7.2/Lib/test/test_ssl.py | 1360 -- .../Python-2.7.2/Lib/test/test_startfile.py | 45 - .../Python/Python-2.7.2/Lib/test/test_str.py | 434 - .../Python-2.7.2/Lib/test/test_strftime.py | 185 - .../Python-2.7.2/Lib/test/test_string.py | 217 - .../Python-2.7.2/Lib/test/test_stringprep.py | 96 - .../Python-2.7.2/Lib/test/test_strop.py | 153 - .../Python-2.7.2/Lib/test/test_strptime.py | 562 - .../Python-2.7.2/Lib/test/test_strtod.py | 399 - .../Python-2.7.2/Lib/test/test_struct.py | 551 - .../Lib/test/test_structmembers.py | 108 - .../Python-2.7.2/Lib/test/test_structseq.py | 120 - .../Python-2.7.2/Lib/test/test_subprocess.py | 1053 - .../Python-2.7.2/Lib/test/test_sunaudiodev.py | 33 - .../Python-2.7.2/Lib/test/test_sundry.py | 96 - .../Python-2.7.2/Lib/test/test_support.py | 1233 -- .../Python-2.7.2/Lib/test/test_symtable.py | 184 - .../Python-2.7.2/Lib/test/test_syntax.py | 572 - .../Python/Python-2.7.2/Lib/test/test_sys.py | 794 - .../Lib/test/test_sys_setprofile.py | 386 - .../Lib/test/test_sys_settrace.py | 789 - .../Python-2.7.2/Lib/test/test_sysconfig.py | 316 - .../Python-2.7.2/Lib/test/test_tarfile.py | 1637 -- .../Python/Python-2.7.2/Lib/test/test_tcl.py | 160 - .../Python-2.7.2/Lib/test/test_telnetlib.py | 372 - .../Python-2.7.2/Lib/test/test_tempfile.py | 856 - .../Python-2.7.2/Lib/test/test_textwrap.py | 610 - .../Python-2.7.2/Lib/test/test_thread.py | 242 - .../Lib/test/test_threaded_import.py | 76 - .../Lib/test/test_threadedtempfile.py | 78 - .../Python-2.7.2/Lib/test/test_threading.py | 734 - .../Lib/test/test_threading_local.py | 234 - .../Lib/test/test_threadsignals.py | 85 - .../Python/Python-2.7.2/Lib/test/test_time.py | 250 - .../Python-2.7.2/Lib/test/test_timeout.py | 202 - .../Python/Python-2.7.2/Lib/test/test_tk.py | 35 - .../Python-2.7.2/Lib/test/test_tokenize.py | 596 - .../Python-2.7.2/Lib/test/test_trace.py | 341 - .../Python-2.7.2/Lib/test/test_traceback.py | 204 - .../Python-2.7.2/Lib/test/test_transformer.py | 38 - .../Python-2.7.2/Lib/test/test_ttk_guionly.py | 40 - .../Lib/test/test_ttk_textonly.py | 19 - .../Python-2.7.2/Lib/test/test_tuple.py | 161 - .../Python-2.7.2/Lib/test/test_typechecks.py | 93 - .../Python-2.7.2/Lib/test/test_types.py | 756 - .../Python/Python-2.7.2/Lib/test/test_ucn.py | 144 - .../Python-2.7.2/Lib/test/test_unary.py | 59 - .../Lib/test/test_undocumented_details.py | 39 - .../Python-2.7.2/Lib/test/test_unicode.py | 1404 -- .../Lib/test/test_unicode_file.py | 200 - .../Python-2.7.2/Lib/test/test_unicodedata.py | 317 - .../Python-2.7.2/Lib/test/test_unittest.py | 12 - .../Lib/test/test_univnewlines.py | 135 - .../Lib/test/test_univnewlines2k.py | 130 - .../Python-2.7.2/Lib/test/test_unpack.py | 130 - .../Python-2.7.2/Lib/test/test_urllib.py | 786 - .../Python-2.7.2/Lib/test/test_urllib2.py | 1327 -- .../Lib/test/test_urllib2_localnet.py | 539 - .../Python-2.7.2/Lib/test/test_urllib2net.py | 319 - .../Python-2.7.2/Lib/test/test_urllibnet.py | 205 - .../Python-2.7.2/Lib/test/test_urlparse.py | 513 - .../Python-2.7.2/Lib/test/test_userdict.py | 350 - .../Python-2.7.2/Lib/test/test_userlist.py | 61 - .../Python-2.7.2/Lib/test/test_userstring.py | 147 - .../Python/Python-2.7.2/Lib/test/test_uu.py | 201 - .../Python/Python-2.7.2/Lib/test/test_uuid.py | 482 - .../Python-2.7.2/Lib/test/test_wait3.py | 39 - .../Python-2.7.2/Lib/test/test_wait4.py | 32 - .../Python-2.7.2/Lib/test/test_warnings.py | 749 - .../Python/Python-2.7.2/Lib/test/test_wave.py | 45 - .../Python-2.7.2/Lib/test/test_weakref.py | 1256 -- .../Python-2.7.2/Lib/test/test_weakset.py | 377 - .../Python-2.7.2/Lib/test/test_whichdb.py | 68 - .../Python-2.7.2/Lib/test/test_winreg.py | 416 - .../Python-2.7.2/Lib/test/test_winsound.py | 255 - .../Python/Python-2.7.2/Lib/test/test_with.py | 750 - .../Python-2.7.2/Lib/test/test_wsgiref.py | 630 - .../Python-2.7.2/Lib/test/test_xdrlib.py | 58 - .../Python-2.7.2/Lib/test/test_xml_etree.py | 1886 -- .../Python-2.7.2/Lib/test/test_xml_etree_c.py | 55 - .../Python-2.7.2/Lib/test/test_xmllib.py | 48 - .../Python-2.7.2/Lib/test/test_xmlrpc.py | 1018 - .../Python-2.7.2/Lib/test/test_xpickle.py | 260 - .../Python-2.7.2/Lib/test/test_xrange.py | 143 - .../Python-2.7.2/Lib/test/test_zipfile.py | 1362 -- .../Python-2.7.2/Lib/test/test_zipfile64.py | 124 - .../Python-2.7.2/Lib/test/test_zipimport.py | 472 - .../Lib/test/test_zipimport_support.py | 238 - .../Python/Python-2.7.2/Lib/test/test_zlib.py | 572 - .../Python/Python-2.7.2/Lib/test/testall.py | 10 - .../Python/Python-2.7.2/Lib/test/testcodec.py | 48 - .../Python/Python-2.7.2/Lib/test/testimg.uue | 1170 -- .../Python/Python-2.7.2/Lib/test/testimgr.uue | 1170 -- .../Python/Python-2.7.2/Lib/test/testrgb.uue | 971 - .../Python/Python-2.7.2/Lib/test/testtar.tar | Bin 281088 -> 0 bytes .../Python-2.7.2/Lib/test/tf_inherit_check.py | 25 - .../Lib/test/threaded_import_hangers.py | 42 - .../Python-2.7.2/Lib/test/time_hashlib.py | 87 - .../Python-2.7.2/Lib/test/tokenize_tests.txt | 178 - .../Lib/test/tracedmodules/__init__.py | 4 - .../Lib/test/tracedmodules/testmod.py | 9 - .../Python-2.7.2/Lib/test/warning_tests.py | 9 - .../Lib/test/win_console_handler.py | 49 - .../Python-2.7.2/Lib/test/wrongcert.pem | 32 - .../Lib/test/xmltestdata/simple-ns.xml | 7 - .../Lib/test/xmltestdata/simple.xml | 6 - .../Lib/test/xmltestdata/test.xml | 115 - .../Lib/test/xmltestdata/test.xml.out | 115 - .../Python/Python-2.7.2/Lib/test/xmltests.py | 21 - .../Python/Python-2.7.2/Lib/test/zipdir.zip | Bin 374 -> 0 bytes .../Python/Python-2.7.2/Lib/textwrap.py | 417 - .../Python/Python-2.7.2/Lib/this.py | 28 - .../Python/Python-2.7.2/Lib/timeit.py | 328 - .../Python/Python-2.7.2/Lib/toaiff.py | 110 - .../Python/Python-2.7.2/Lib/token.py | 142 - .../Python/Python-2.7.2/Lib/tokenize.py | 424 - .../Python/Python-2.7.2/Lib/trace.py | 827 - .../Python/Python-2.7.2/Lib/traceback.py | 319 - .../Python/Python-2.7.2/Lib/tty.py | 36 - .../Python/Python-2.7.2/Lib/types.py | 84 - .../Python-2.7.2/Lib/unittest/__init__.py | 69 - .../Python-2.7.2/Lib/unittest/__main__.py | 12 - .../Python/Python-2.7.2/Lib/unittest/case.py | 1070 - .../Python-2.7.2/Lib/unittest/loader.py | 314 - .../Python/Python-2.7.2/Lib/unittest/main.py | 233 - .../Python-2.7.2/Lib/unittest/result.py | 193 - .../Python-2.7.2/Lib/unittest/runner.py | 196 - .../Python-2.7.2/Lib/unittest/signals.py | 57 - .../Python/Python-2.7.2/Lib/unittest/suite.py | 303 - .../Lib/unittest/test/__init__.py | 21 - .../Python-2.7.2/Lib/unittest/test/dummy.py | 1 - .../Python-2.7.2/Lib/unittest/test/support.py | 119 - .../Lib/unittest/test/test_assertions.py | 286 - .../Lib/unittest/test/test_break.py | 252 - .../Lib/unittest/test/test_case.py | 1109 - .../Lib/unittest/test/test_discovery.py | 362 - .../unittest/test/test_functiontestcase.py | 148 - .../Lib/unittest/test/test_loader.py | 1286 -- .../Lib/unittest/test/test_program.py | 255 - .../Lib/unittest/test/test_result.py | 567 - .../Lib/unittest/test/test_runner.py | 253 - .../Lib/unittest/test/test_setups.py | 508 - .../Lib/unittest/test/test_skipping.py | 138 - .../Lib/unittest/test/test_suite.py | 367 - .../Python/Python-2.7.2/Lib/unittest/util.py | 156 - .../Python/Python-2.7.2/Lib/urllib.py | 1646 -- .../Python/Python-2.7.2/Lib/urllib2.py | 1448 -- .../Python/Python-2.7.2/Lib/urlparse.py | 397 - .../Python/Python-2.7.2/Lib/user.py | 48 - .../Python/Python-2.7.2/Lib/uu.py | 196 - .../Python/Python-2.7.2/Lib/uuid.py | 560 - .../Python/Python-2.7.2/Lib/warnings.py | 400 - .../Python/Python-2.7.2/Lib/wave.py | 504 - .../Python/Python-2.7.2/Lib/weakref.py | 379 - .../Python/Python-2.7.2/Lib/webbrowser.py | 673 - .../Python/Python-2.7.2/Lib/whichdb.py | 117 - .../Python/Python-2.7.2/Lib/wsgiref.egg-info | 8 - .../Python-2.7.2/Lib/wsgiref/__init__.py | 23 - .../Python-2.7.2/Lib/wsgiref/handlers.py | 448 - .../Python-2.7.2/Lib/wsgiref/headers.py | 169 - .../Python-2.7.2/Lib/wsgiref/simple_server.py | 155 - .../Python/Python-2.7.2/Lib/wsgiref/util.py | 165 - .../Python-2.7.2/Lib/wsgiref/validate.py | 432 - .../Python/Python-2.7.2/Lib/xdrlib.py | 231 - .../Python/Python-2.7.2/Lib/xml/__init__.py | 41 - .../Python-2.7.2/Lib/xml/dom/NodeFilter.py | 27 - .../Python-2.7.2/Lib/xml/dom/__init__.py | 139 - .../Python/Python-2.7.2/Lib/xml/dom/domreg.py | 99 - .../Python-2.7.2/Lib/xml/dom/expatbuilder.py | 983 - .../Python-2.7.2/Lib/xml/dom/minicompat.py | 110 - .../Python-2.7.2/Lib/xml/dom/minidom.py | 1937 -- .../Python-2.7.2/Lib/xml/dom/pulldom.py | 351 - .../Python-2.7.2/Lib/xml/dom/xmlbuilder.py | 386 - .../Lib/xml/etree/ElementInclude.py | 143 - .../Python-2.7.2/Lib/xml/etree/ElementPath.py | 303 - .../Python-2.7.2/Lib/xml/etree/ElementTree.py | 1649 -- .../Python-2.7.2/Lib/xml/etree/__init__.py | 33 - .../Lib/xml/etree/cElementTree.py | 3 - .../Python-2.7.2/Lib/xml/parsers/__init__.py | 8 - .../Python-2.7.2/Lib/xml/parsers/expat.py | 4 - .../Python-2.7.2/Lib/xml/sax/__init__.py | 108 - .../Python-2.7.2/Lib/xml/sax/_exceptions.py | 131 - .../Python-2.7.2/Lib/xml/sax/expatreader.py | 414 - .../Python-2.7.2/Lib/xml/sax/handler.py | 342 - .../Python-2.7.2/Lib/xml/sax/saxutils.py | 308 - .../Python-2.7.2/Lib/xml/sax/xmlreader.py | 381 - .../Python/Python-2.7.2/Lib/xmllib.py | 930 - .../Python/Python-2.7.2/Lib/xmlrpclib.py | 1636 -- .../Python/Python-2.7.2/Lib/zipfile.py | 1437 -- .../Python-2.7.2/Modules/_bisectmodule.c | 241 - .../Python-2.7.2/Modules/_codecsmodule.c | 1116 - .../Python-2.7.2/Modules/_collectionsmodule.c | 1634 -- .../Python/Python-2.7.2/Modules/_csv.c | 1611 -- .../Python-2.7.2/Modules/_elementtree.c | 3079 --- .../Python-2.7.2/Modules/_functoolsmodule.c | 402 - .../Python-2.7.2/Modules/_hashopenssl.c | 597 - .../Python-2.7.2/Modules/_heapqmodule.c | 697 - .../Python/Python-2.7.2/Modules/_hotshot.c | 1643 -- .../Python-2.7.2/Modules/_io/_iomodule.c | 768 - .../Python-2.7.2/Modules/_io/_iomodule.h | 165 - .../Python-2.7.2/Modules/_io/bufferedio.c | 2389 --- .../Python/Python-2.7.2/Modules/_io/bytesio.c | 887 - .../Python/Python-2.7.2/Modules/_io/fileio.c | 1095 - .../Python/Python-2.7.2/Modules/_io/iobase.c | 893 - .../Python-2.7.2/Modules/_io/stringio.c | 882 - .../Python/Python-2.7.2/Modules/_io/textio.c | 2617 --- .../Python/Python-2.7.2/Modules/_json.c | 2421 --- .../Python-2.7.2/Modules/_localemodule.c | 758 - .../Python/Python-2.7.2/Modules/_lsprof.c | 892 - .../Python/Python-2.7.2/Modules/_math.c | 232 - .../Python/Python-2.7.2/Modules/_math.h | 45 - .../Python-2.7.2/Modules/_randommodule.c | 580 - .../Python-2.7.2/Modules/_sqlite/cache.c | 375 - .../Python-2.7.2/Modules/_sqlite/cache.h | 73 - .../Python-2.7.2/Modules/_sqlite/connection.c | 1664 -- .../Python-2.7.2/Modules/_sqlite/connection.h | 138 - .../Python-2.7.2/Modules/_sqlite/cursor.c | 1126 - .../Python-2.7.2/Modules/_sqlite/cursor.h | 74 - .../Modules/_sqlite/microprotocols.c | 142 - .../Modules/_sqlite/microprotocols.h | 55 - .../Python-2.7.2/Modules/_sqlite/module.c | 457 - .../Python-2.7.2/Modules/_sqlite/module.h | 58 - .../Modules/_sqlite/prepare_protocol.c | 84 - .../Modules/_sqlite/prepare_protocol.h | 41 - .../Python/Python-2.7.2/Modules/_sqlite/row.c | 256 - .../Python/Python-2.7.2/Modules/_sqlite/row.h | 39 - .../Modules/_sqlite/sqlitecompat.h | 63 - .../Python-2.7.2/Modules/_sqlite/statement.c | 543 - .../Python-2.7.2/Modules/_sqlite/statement.h | 59 - .../Python-2.7.2/Modules/_sqlite/util.c | 106 - .../Python-2.7.2/Modules/_sqlite/util.h | 38 - .../Python/Python-2.7.2/Modules/_sre.c | 3921 ---- .../Python/Python-2.7.2/Modules/_ssl.c | 1751 -- .../Python/Python-2.7.2/Modules/_struct.c | 2048 -- .../Python-2.7.2/Modules/_testcapimodule.c | 1897 -- .../Python/Python-2.7.2/Modules/_weakref.c | 112 - .../Python/Python-2.7.2/Modules/addrinfo.h | 178 - .../Python/Python-2.7.2/Modules/arraymodule.c | 2246 -- .../Python/Python-2.7.2/Modules/binascii.c | 1531 -- .../Python/Python-2.7.2/Modules/bz2module.c | 2344 --- .../Python/Python-2.7.2/Modules/cPickle.c | 6023 ------ .../Python/Python-2.7.2/Modules/cStringIO.c | 752 - .../Python-2.7.2/Modules/cjkcodecs/README | 79 - .../Modules/cjkcodecs/_codecs_cn.c | 444 - .../Modules/cjkcodecs/_codecs_hk.c | 183 - .../Modules/cjkcodecs/_codecs_iso2022.c | 1131 - .../Modules/cjkcodecs/_codecs_jp.c | 731 - .../Modules/cjkcodecs/_codecs_kr.c | 452 - .../Modules/cjkcodecs/_codecs_tw.c | 132 - .../Modules/cjkcodecs/alg_jisx0201.h | 24 - .../Modules/cjkcodecs/cjkcodecs.h | 398 - .../Modules/cjkcodecs/emu_jisx0213_2000.h | 43 - .../Modules/cjkcodecs/mappings_cn.h | 4103 ---- .../Modules/cjkcodecs/mappings_hk.h | 2378 --- .../cjkcodecs/mappings_jisx0213_pair.h | 59 - .../Modules/cjkcodecs/mappings_jp.h | 4765 ----- .../Modules/cjkcodecs/mappings_kr.h | 3251 --- .../Modules/cjkcodecs/mappings_tw.h | 2633 --- .../Modules/cjkcodecs/multibytecodec.c | 1829 -- .../Modules/cjkcodecs/multibytecodec.h | 141 - .../Python/Python-2.7.2/Modules/cmathmodule.c | 1210 -- .../Python/Python-2.7.2/Modules/cryptmodule.c | 49 - .../Python-2.7.2/Modules/datetimemodule.c | 5117 ----- .../Python/Python-2.7.2/Modules/errnomodule.c | 845 - .../Python/Python-2.7.2/Modules/expat/COPYING | 21 - .../Python-2.7.2/Modules/expat/amigaconfig.h | 96 - .../Python/Python-2.7.2/Modules/expat/ascii.h | 85 - .../Python-2.7.2/Modules/expat/asciitab.h | 36 - .../Python/Python-2.7.2/Modules/expat/expat.h | 1013 - .../Python-2.7.2/Modules/expat/expat_config.h | 19 - .../Modules/expat/expat_external.h | 121 - .../Python-2.7.2/Modules/expat/iasciitab.h | 37 - .../Python-2.7.2/Modules/expat/internal.h | 73 - .../Python-2.7.2/Modules/expat/latin1tab.h | 36 - .../Python-2.7.2/Modules/expat/macconfig.h | 53 - .../Python-2.7.2/Modules/expat/nametab.h | 150 - .../Python-2.7.2/Modules/expat/pyexpatns.h | 124 - .../Python-2.7.2/Modules/expat/utf8tab.h | 37 - .../Python-2.7.2/Modules/expat/winconfig.h | 30 - .../Python-2.7.2/Modules/expat/xmlparse.c | 6279 ------ .../Python-2.7.2/Modules/expat/xmlrole.c | 1330 -- .../Python-2.7.2/Modules/expat/xmlrole.h | 114 - .../Python-2.7.2/Modules/expat/xmltok.c | 1639 -- .../Python-2.7.2/Modules/expat/xmltok.h | 316 - .../Python-2.7.2/Modules/expat/xmltok_impl.c | 1779 -- .../Python-2.7.2/Modules/expat/xmltok_impl.h | 46 - .../Python-2.7.2/Modules/expat/xmltok_ns.c | 106 - .../Python/Python-2.7.2/Modules/fcntlmodule.c | 620 - .../Python/Python-2.7.2/Modules/flmodule.c | 2144 -- .../Python/Python-2.7.2/Modules/fmmodule.c | 269 - .../Python-2.7.2/Modules/fpectlmodule.c | 303 - .../Python-2.7.2/Modules/fpetestmodule.c | 186 - .../Python-2.7.2/Modules/future_builtins.c | 105 - .../Python-2.7.2/Modules/gc_weakref.txt | 219 - .../Python/Python-2.7.2/Modules/gcmodule.c | 1516 -- .../Python/Python-2.7.2/Modules/getaddrinfo.c | 638 - .../Python-2.7.2/Modules/getbuildinfo.c | 85 - .../Python/Python-2.7.2/Modules/getnameinfo.c | 222 - .../Python/Python-2.7.2/Modules/getpath.c | 698 - .../Python/Python-2.7.2/Modules/imageop.c | 794 - .../Python-2.7.2/Modules/itertoolsmodule.c | 4097 ---- .../Python/Python-2.7.2/Modules/main.c | 663 - .../Python/Python-2.7.2/Modules/mathmodule.c | 1624 -- .../Python/Python-2.7.2/Modules/md5.c | 394 - .../Python/Python-2.7.2/Modules/md5.h | 91 - .../Python/Python-2.7.2/Modules/md5module.c | 315 - .../Python/Python-2.7.2/Modules/operator.c | 802 - .../Python-2.7.2/Modules/parsermodule.c | 3464 ---- .../Python/Python-2.7.2/Modules/posixmodule.c | 9396 --------- .../Python/Python-2.7.2/Modules/puremodule.c | 992 - .../Python/Python-2.7.2/Modules/pwdmodule.c | 200 - .../Python/Python-2.7.2/Modules/pyexpat.c | 2123 -- .../Python/Python-2.7.2/Modules/python.c | 24 - .../Python/Python-2.7.2/Modules/readline.c | 1144 - .../Python/Python-2.7.2/Modules/resource.c | 329 - .../Python-2.7.2/Modules/rotatingtree.c | 121 - .../Python-2.7.2/Modules/rotatingtree.h | 27 - .../Python-2.7.2/Modules/selectmodule.c | 1912 -- .../Python-2.7.2/Modules/sha256module.c | 706 - .../Python-2.7.2/Modules/sha512module.c | 774 - .../Python/Python-2.7.2/Modules/shamodule.c | 597 - .../Python-2.7.2/Modules/signalmodule.c | 986 - .../Python-2.7.2/Modules/socketmodule.c | 5454 ----- .../Python-2.7.2/Modules/socketmodule.h | 250 - .../Python/Python-2.7.2/Modules/sre.h | 94 - .../Python-2.7.2/Modules/sre_constants.h | 86 - .../Python/Python-2.7.2/Modules/stropmodule.c | 1270 -- .../Python-2.7.2/Modules/symtablemodule.c | 83 - .../Python-2.7.2/Modules/testcapi_long.h | 182 - .../Python-2.7.2/Modules/threadmodule.c | 931 - .../Python/Python-2.7.2/Modules/timemodule.c | 1054 - .../Python/Python-2.7.2/Modules/timing.h | 64 - .../Python-2.7.2/Modules/timingmodule.c | 62 - .../Python/Python-2.7.2/Modules/unicodedata.c | 1280 -- .../Python-2.7.2/Modules/unicodedata_db.h | 6202 ------ .../Python-2.7.2/Modules/unicodename_db.h | 17259 ---------------- .../Python/Python-2.7.2/Modules/xxmodule.c | 379 - .../Python/Python-2.7.2/Modules/xxsubtype.c | 297 - .../Python/Python-2.7.2/Modules/yuv.h | 99 - .../Python/Python-2.7.2/Modules/yuvconvert.c | 118 - .../Python/Python-2.7.2/Modules/zipimport.c | 1229 -- .../Python-2.7.2/Modules/zlib/ChangeLog | 855 - .../Python/Python-2.7.2/Modules/zlib/FAQ | 339 - .../Python/Python-2.7.2/Modules/zlib/INDEX | 51 - .../Python/Python-2.7.2/Modules/zlib/Makefile | 154 - .../Python-2.7.2/Modules/zlib/Makefile.in | 154 - .../Python/Python-2.7.2/Modules/zlib/README | 125 - .../Python-2.7.2/Modules/zlib/adler32.c | 149 - .../Python-2.7.2/Modules/zlib/algorithm.txt | 209 - .../Python-2.7.2/Modules/zlib/compress.c | 79 - .../Python-2.7.2/Modules/zlib/configure | 459 - .../Python/Python-2.7.2/Modules/zlib/crc32.c | 423 - .../Python/Python-2.7.2/Modules/zlib/crc32.h | 441 - .../Python-2.7.2/Modules/zlib/deflate.c | 1736 -- .../Python-2.7.2/Modules/zlib/deflate.h | 331 - .../Python-2.7.2/Modules/zlib/example.c | 565 - .../Python/Python-2.7.2/Modules/zlib/gzio.c | 1026 - .../Python-2.7.2/Modules/zlib/infback.c | 623 - .../Python-2.7.2/Modules/zlib/inffast.c | 318 - .../Python-2.7.2/Modules/zlib/inffast.h | 11 - .../Python-2.7.2/Modules/zlib/inffixed.h | 94 - .../Python-2.7.2/Modules/zlib/inflate.c | 1368 -- .../Python-2.7.2/Modules/zlib/inflate.h | 115 - .../Python-2.7.2/Modules/zlib/inftrees.c | 329 - .../Python-2.7.2/Modules/zlib/inftrees.h | 55 - .../Python-2.7.2/Modules/zlib/make_vms.com | 461 - .../Python-2.7.2/Modules/zlib/minigzip.c | 322 - .../Python/Python-2.7.2/Modules/zlib/trees.c | 1219 -- .../Python/Python-2.7.2/Modules/zlib/trees.h | 128 - .../Python-2.7.2/Modules/zlib/uncompr.c | 61 - .../Python/Python-2.7.2/Modules/zlib/zconf.h | 332 - .../Python-2.7.2/Modules/zlib/zconf.in.h | 332 - .../Python/Python-2.7.2/Modules/zlib/zlib.3 | 159 - .../Python/Python-2.7.2/Modules/zlib/zlib.h | 1357 -- .../Python/Python-2.7.2/Modules/zlib/zutil.c | 318 - .../Python/Python-2.7.2/Modules/zlib/zutil.h | 277 - .../Python/Python-2.7.2/Modules/zlibmodule.c | 1058 - .../Python/Python-2.7.2/Objects/abstract.c | 3113 --- .../Python/Python-2.7.2/Objects/boolobject.c | 202 - .../Python-2.7.2/Objects/bufferobject.c | 857 - .../Python-2.7.2/Objects/bytearrayobject.c | 3044 --- .../Python-2.7.2/Objects/bytes_methods.c | 398 - .../Python/Python-2.7.2/Objects/capsule.c | 324 - .../Python/Python-2.7.2/Objects/cellobject.c | 145 - .../Python/Python-2.7.2/Objects/classobject.c | 2672 --- .../Python/Python-2.7.2/Objects/cobject.c | 172 - .../Python/Python-2.7.2/Objects/codeobject.c | 581 - .../Python-2.7.2/Objects/complexobject.c | 1353 -- .../Python/Python-2.7.2/Objects/descrobject.c | 1385 -- .../Python/Python-2.7.2/Objects/dictnotes.txt | 270 - .../Python/Python-2.7.2/Objects/dictobject.c | 3210 --- .../Python/Python-2.7.2/Objects/enumobject.c | 381 - .../Python/Python-2.7.2/Objects/exceptions.c | 2215 -- .../Python/Python-2.7.2/Objects/fileobject.c | 2822 --- .../Python/Python-2.7.2/Objects/floatobject.c | 2693 --- .../Python/Python-2.7.2/Objects/frameobject.c | 982 - .../Python/Python-2.7.2/Objects/funcobject.c | 897 - .../Python/Python-2.7.2/Objects/genobject.c | 414 - .../Python/Python-2.7.2/Objects/intobject.c | 1550 -- .../Python/Python-2.7.2/Objects/iterobject.c | 230 - .../Python/Python-2.7.2/Objects/listobject.c | 3044 --- .../Python/Python-2.7.2/Objects/listsort.txt | 677 - .../Python-2.7.2/Objects/lnotab_notes.txt | 124 - .../Python/Python-2.7.2/Objects/longobject.c | 4381 ---- .../Python-2.7.2/Objects/memoryobject.c | 842 - .../Python-2.7.2/Objects/methodobject.c | 427 - .../Python-2.7.2/Objects/moduleobject.c | 260 - .../Python/Python-2.7.2/Objects/object.c | 2455 --- .../Python/Python-2.7.2/Objects/obmalloc.c | 1888 -- .../Python/Python-2.7.2/Objects/rangeobject.c | 322 - .../Python/Python-2.7.2/Objects/setobject.c | 2518 --- .../Python/Python-2.7.2/Objects/sliceobject.c | 361 - .../Python-2.7.2/Objects/stringlib/README.txt | 40 - .../Python-2.7.2/Objects/stringlib/count.h | 30 - .../Python-2.7.2/Objects/stringlib/ctype.h | 109 - .../Objects/stringlib/fastsearch.h | 160 - .../Python-2.7.2/Objects/stringlib/find.h | 175 - .../Objects/stringlib/formatter.h | 1531 -- .../Objects/stringlib/localeutil.h | 227 - .../Objects/stringlib/partition.h | 110 - .../Python-2.7.2/Objects/stringlib/split.h | 394 - .../Objects/stringlib/string_format.h | 1364 -- .../Objects/stringlib/stringdefs.h | 33 - .../Objects/stringlib/transmogrify.h | 264 - .../Objects/stringlib/unicodedefs.h | 37 - .../Python-2.7.2/Objects/stringobject.c | 4824 ----- .../Python/Python-2.7.2/Objects/structseq.c | 539 - .../Python/Python-2.7.2/Objects/tupleobject.c | 1052 - .../Python/Python-2.7.2/Objects/typeobject.c | 6712 ------ .../Python-2.7.2/Objects/unicodectype.c | 215 - .../Python-2.7.2/Objects/unicodeobject.c | 8888 -------- .../Python-2.7.2/Objects/unicodetype_db.h | 3337 --- .../Python-2.7.2/Objects/weakrefobject.c | 975 - .../Python/Python-2.7.2/Parser/Python.asdl | 115 - .../Python/Python-2.7.2/Parser/acceler.c | 125 - .../Python/Python-2.7.2/Parser/asdl.py | 413 - .../Python/Python-2.7.2/Parser/asdl_c.py | 1220 -- .../Python/Python-2.7.2/Parser/bitset.c | 66 - .../Python/Python-2.7.2/Parser/firstsets.c | 113 - .../Python/Python-2.7.2/Parser/grammar.c | 254 - .../Python/Python-2.7.2/Parser/grammar1.c | 57 - .../Python/Python-2.7.2/Parser/intrcheck.c | 178 - .../Python/Python-2.7.2/Parser/listnode.c | 66 - .../Python/Python-2.7.2/Parser/metagrammar.c | 159 - .../Python/Python-2.7.2/Parser/myreadline.c | 221 - .../Python/Python-2.7.2/Parser/node.c | 138 - .../Python/Python-2.7.2/Parser/parser.c | 436 - .../Python/Python-2.7.2/Parser/parser.h | 42 - .../Python/Python-2.7.2/Parser/parsetok.c | 295 - .../Python/Python-2.7.2/Parser/pgen.c | 708 - .../Python/Python-2.7.2/Parser/pgenmain.c | 173 - .../Python/Python-2.7.2/Parser/printgrammar.c | 117 - .../Python/Python-2.7.2/Parser/spark.py | 839 - .../Python/Python-2.7.2/Parser/tokenizer.c | 1726 -- .../Python/Python-2.7.2/Parser/tokenizer.h | 70 - .../Python-2.7.2/Parser/tokenizer_pgen.c | 2 - .../Python/Python-2.7.2/Python/Python-ast.c | 6763 ------ .../Python/Python-2.7.2/Python/_warnings.c | 909 - .../Python/Python-2.7.2/Python/asdl.c | 64 - .../Python/Python-2.7.2/Python/ast.c | 3558 ---- .../Python/Python-2.7.2/Python/atof.c | 50 - .../Python/Python-2.7.2/Python/bltinmodule.c | 3043 --- .../Python/Python-2.7.2/Python/ceval.c | 4895 ----- .../Python/Python-2.7.2/Python/codecs.c | 872 - .../Python/Python-2.7.2/Python/compile.c | 3979 ---- .../Python/Python-2.7.2/Python/dtoa.c | 2918 --- .../Python/Python-2.7.2/Python/dup2.c | 31 - .../Python/Python-2.7.2/Python/dynload_aix.c | 183 - .../Python-2.7.2/Python/dynload_atheos.c | 47 - .../Python/Python-2.7.2/Python/dynload_beos.c | 254 - .../Python/Python-2.7.2/Python/dynload_dl.c | 26 - .../Python/Python-2.7.2/Python/dynload_hpux.c | 58 - .../Python/Python-2.7.2/Python/dynload_next.c | 114 - .../Python/Python-2.7.2/Python/dynload_os2.c | 46 - .../Python-2.7.2/Python/dynload_shlib.c | 143 - .../Python/Python-2.7.2/Python/dynload_stub.c | 11 - .../Python/Python-2.7.2/Python/dynload_win.c | 274 - .../Python/Python-2.7.2/Python/errors.c | 805 - .../Python-2.7.2/Python/formatter_string.c | 17 - .../Python-2.7.2/Python/formatter_unicode.c | 18 - .../Python/Python-2.7.2/Python/frozen.c | 38 - .../Python/Python-2.7.2/Python/frozenmain.c | 68 - .../Python/Python-2.7.2/Python/future.c | 142 - .../Python/Python-2.7.2/Python/getargs.c | 1907 -- .../Python/Python-2.7.2/Python/getcompiler.c | 28 - .../Python/Python-2.7.2/Python/getcopyright.c | 36 - .../Python/Python-2.7.2/Python/getcwd.c | 82 - .../Python/Python-2.7.2/Python/getopt.c | 126 - .../Python/Python-2.7.2/Python/getplatform.c | 12 - .../Python/Python-2.7.2/Python/getversion.c | 15 - .../Python/Python-2.7.2/Python/graminit.c | 2177 -- .../Python/Python-2.7.2/Python/import.c | 3398 --- .../Python/Python-2.7.2/Python/importdl.c | 78 - .../Python/Python-2.7.2/Python/importdl.h | 53 - .../Python-2.7.2/Python/mactoolboxglue.c | 474 - .../Python/Python-2.7.2/Python/marshal.c | 1422 -- .../Python/Python-2.7.2/Python/modsupport.c | 644 - .../Python/Python-2.7.2/Python/mysnprintf.c | 105 - .../Python/Python-2.7.2/Python/mystrtoul.c | 285 - .../Python/Python-2.7.2/Python/peephole.c | 680 - .../Python/Python-2.7.2/Python/pyarena.c | 220 - .../Python/Python-2.7.2/Python/pyctype.c | 214 - .../Python/Python-2.7.2/Python/pyfpe.c | 23 - .../Python/Python-2.7.2/Python/pymath.c | 79 - .../Python/Python-2.7.2/Python/pystate.c | 680 - .../Python/Python-2.7.2/Python/pystrcmp.c | 26 - .../Python/Python-2.7.2/Python/pystrtod.c | 1249 -- .../Python/Python-2.7.2/Python/pythonrun.c | 2004 -- .../Python/Python-2.7.2/Python/sigcheck.c | 19 - .../Python/Python-2.7.2/Python/strdup.c | 14 - .../Python/Python-2.7.2/Python/strtod.c | 159 - .../Python/Python-2.7.2/Python/structmember.c | 363 - .../Python/Python-2.7.2/Python/symtable.c | 1554 -- .../Python/Python-2.7.2/Python/sysmodule.c | 1779 -- .../Python/Python-2.7.2/Python/thread.c | 421 - .../Python-2.7.2/Python/thread_atheos.h | 259 - .../Python/Python-2.7.2/Python/thread_beos.h | 248 - .../Python-2.7.2/Python/thread_cthread.h | 112 - .../Python-2.7.2/Python/thread_foobar.h | 75 - .../Python/Python-2.7.2/Python/thread_lwp.h | 113 - .../Python/Python-2.7.2/Python/thread_nt.h | 359 - .../Python/Python-2.7.2/Python/thread_os2.h | 267 - .../Python/Python-2.7.2/Python/thread_pth.h | 178 - .../Python-2.7.2/Python/thread_pthread.h | 505 - .../Python/Python-2.7.2/Python/thread_sgi.h | 259 - .../Python-2.7.2/Python/thread_solaris.h | 130 - .../Python/Python-2.7.2/Python/thread_wince.h | 136 - .../Python/Python-2.7.2/Python/traceback.c | 283 - .../Applications/Python/Python-2.7.2/README | 1229 -- .../Python/Python-2.7.2/Tools/README | 41 - .../Python/Python-2.7.2/Tools/bgen/README | 9 - .../Python-2.7.2/Tools/bgen/bgen/bgen.py | 12 - .../Tools/bgen/bgen/bgenBuffer.py | 301 - .../Tools/bgen/bgen/bgenGenerator.py | 302 - .../Tools/bgen/bgen/bgenGeneratorGroup.py | 40 - .../Tools/bgen/bgen/bgenHeapBuffer.py | 145 - .../Tools/bgen/bgen/bgenModule.py | 94 - .../Tools/bgen/bgen/bgenObjectDefinition.py | 512 - .../Tools/bgen/bgen/bgenOutput.py | 219 - .../Tools/bgen/bgen/bgenStackBuffer.py | 62 - .../Tools/bgen/bgen/bgenStringBuffer.py | 67 - .../Python-2.7.2/Tools/bgen/bgen/bgenType.py | 328 - .../Tools/bgen/bgen/bgenVariable.py | 112 - .../Tools/bgen/bgen/macsupport.py | 197 - .../Python-2.7.2/Tools/bgen/bgen/scantools.py | 849 - .../Tools/buildbot/README.tcltk-AMD64 | 36 - .../Tools/buildbot/build-amd64.bat | 6 - .../Python-2.7.2/Tools/buildbot/build.bat | 7 - .../Python-2.7.2/Tools/buildbot/buildmsi.bat | 20 - .../Tools/buildbot/clean-amd64.bat | 10 - .../Python-2.7.2/Tools/buildbot/clean.bat | 10 - .../Tools/buildbot/external-amd64.bat | 20 - .../Tools/buildbot/external-common.bat | 45 - .../Python-2.7.2/Tools/buildbot/external.bat | 21 - .../Tools/buildbot/test-amd64.bat | 3 - .../Python-2.7.2/Tools/buildbot/test.bat | 3 - .../Python-2.7.2/Tools/ccbench/ccbench.py | 609 - .../Python/Python-2.7.2/Tools/compiler/ACKS | 8 - .../Python/Python-2.7.2/Tools/compiler/README | 18 - .../Python-2.7.2/Tools/compiler/ast.txt | 104 - .../Python-2.7.2/Tools/compiler/astgen.py | 294 - .../Python-2.7.2/Tools/compiler/compile.py | 51 - .../Python-2.7.2/Tools/compiler/demo.py | 38 - .../Python-2.7.2/Tools/compiler/dumppyc.py | 46 - .../Python-2.7.2/Tools/compiler/regrtest.py | 78 - .../Python-2.7.2/Tools/compiler/stacktest.py | 43 - .../Python/Python-2.7.2/Tools/faqwiz/README | 114 - .../Python-2.7.2/Tools/faqwiz/faqconf.py | 577 - .../Python-2.7.2/Tools/faqwiz/faqcust.py | 1 - .../Python/Python-2.7.2/Tools/faqwiz/faqw.py | 33 - .../Python-2.7.2/Tools/faqwiz/faqwiz.py | 841 - .../Python-2.7.2/Tools/faqwiz/move-faqwiz.sh | 55 - .../Python-2.7.2/Tools/framer/README.txt | 8 - .../Python/Python-2.7.2/Tools/framer/TODO.txt | 6 - .../Python-2.7.2/Tools/framer/example.py | 126 - .../Tools/framer/framer/__init__.py | 6 - .../Python-2.7.2/Tools/framer/framer/bases.py | 220 - .../Tools/framer/framer/function.py | 173 - .../Tools/framer/framer/member.py | 73 - .../Python-2.7.2/Tools/framer/framer/slots.py | 64 - .../Tools/framer/framer/struct.py | 52 - .../Tools/framer/framer/structparse.py | 46 - .../Tools/framer/framer/template.py | 102 - .../Python-2.7.2/Tools/framer/framer/util.py | 35 - .../Python/Python-2.7.2/Tools/freeze/README | 296 - .../Python-2.7.2/Tools/freeze/bkfile.py | 47 - .../Tools/freeze/checkextensions.py | 90 - .../Tools/freeze/checkextensions_win32.py | 188 - .../Tools/freeze/extensions_win32.ini | 171 - .../Python-2.7.2/Tools/freeze/freeze.py | 497 - .../Python/Python-2.7.2/Tools/freeze/hello.py | 1 - .../Python-2.7.2/Tools/freeze/makeconfig.py | 60 - .../Python-2.7.2/Tools/freeze/makefreeze.py | 90 - .../Python-2.7.2/Tools/freeze/makemakefile.py | 29 - .../Python-2.7.2/Tools/freeze/parsesetup.py | 112 - .../Python-2.7.2/Tools/freeze/win32.html | 119 - .../Tools/freeze/winmakemakefile.py | 147 - .../Python-2.7.2/Tools/gdb/libpython.py | 1447 -- .../Tools/i18n/makelocalealias.py | 73 - .../Python/Python-2.7.2/Tools/i18n/msgfmt.py | 226 - .../Python-2.7.2/Tools/i18n/pygettext.py | 669 - .../Python-2.7.2/Tools/iobench/iobench.py | 539 - .../Python/Python-2.7.2/Tools/msi/README.txt | 25 - .../Python-2.7.2/Tools/msi/crtlicense.txt | 44 - .../Python/Python-2.7.2/Tools/msi/msi.py | 1398 -- .../Python/Python-2.7.2/Tools/msi/msilib.py | 692 - .../Python-2.7.2/Tools/msi/msisupport.c | 93 - .../Python-2.7.2/Tools/msi/msisupport.mak | 9 - .../Python/Python-2.7.2/Tools/msi/schema.py | 1007 - .../Python/Python-2.7.2/Tools/msi/sequence.py | 126 - .../Python/Python-2.7.2/Tools/msi/uisample.py | 1400 -- .../Python/Python-2.7.2/Tools/msi/uuids.py | 58 - .../Python-2.7.2/Tools/pybench/Arithmetic.py | 777 - .../Python-2.7.2/Tools/pybench/Calls.py | 560 - .../Python-2.7.2/Tools/pybench/CommandLine.py | 634 - .../Python-2.7.2/Tools/pybench/Constructs.py | 564 - .../Python/Python-2.7.2/Tools/pybench/Dict.py | 504 - .../Python-2.7.2/Tools/pybench/Exceptions.py | 699 - .../Python-2.7.2/Tools/pybench/Imports.py | 138 - .../Python-2.7.2/Tools/pybench/Instances.py | 66 - .../Python/Python-2.7.2/Tools/pybench/LICENSE | 25 - .../Python-2.7.2/Tools/pybench/Lists.py | 350 - .../Python-2.7.2/Tools/pybench/Lookups.py | 945 - .../Tools/pybench/NewInstances.py | 75 - .../Python-2.7.2/Tools/pybench/Numbers.py | 784 - .../Python/Python-2.7.2/Tools/pybench/README | 368 - .../Python-2.7.2/Tools/pybench/Setup.py | 43 - .../Python-2.7.2/Tools/pybench/Strings.py | 562 - .../Python-2.7.2/Tools/pybench/Tuples.py | 360 - .../Python-2.7.2/Tools/pybench/Unicode.py | 542 - .../Python/Python-2.7.2/Tools/pybench/With.py | 190 - .../Python-2.7.2/Tools/pybench/clockres.py | 43 - .../Tools/pybench/package/__init__.py | 0 .../Tools/pybench/package/submodule.py | 0 .../Python-2.7.2/Tools/pybench/pybench.py | 961 - .../Python-2.7.2/Tools/pybench/systimes.py | 211 - .../Python/Python-2.7.2/Tools/scripts/2to3 | 5 - .../Python/Python-2.7.2/Tools/scripts/README | 69 - .../Python-2.7.2/Tools/scripts/analyze_dxp.py | 129 - .../Python-2.7.2/Tools/scripts/byext.py | 131 - .../Python-2.7.2/Tools/scripts/byteyears.py | 61 - .../Python-2.7.2/Tools/scripts/checkappend.py | 167 - .../Python-2.7.2/Tools/scripts/checkpyc.py | 66 - .../Python-2.7.2/Tools/scripts/classfix.py | 190 - .../Python-2.7.2/Tools/scripts/cleanfuture.py | 276 - .../Python-2.7.2/Tools/scripts/combinerefs.py | 127 - .../Python-2.7.2/Tools/scripts/copytime.py | 26 - .../Python/Python-2.7.2/Tools/scripts/crlf.py | 23 - .../Python-2.7.2/Tools/scripts/cvsfiles.py | 72 - .../Python-2.7.2/Tools/scripts/db2pickle.py | 135 - .../Python/Python-2.7.2/Tools/scripts/diff.py | 49 - .../Python-2.7.2/Tools/scripts/dutree.doc | 54 - .../Python-2.7.2/Tools/scripts/dutree.py | 60 - .../Python-2.7.2/Tools/scripts/eptags.py | 56 - .../Tools/scripts/find_recursionlimit.py | 117 - .../Python-2.7.2/Tools/scripts/finddiv.py | 89 - .../Python-2.7.2/Tools/scripts/findlinksto.py | 43 - .../Tools/scripts/findnocoding.py | 104 - .../Python-2.7.2/Tools/scripts/fixcid.py | 314 - .../Python-2.7.2/Tools/scripts/fixdiv.py | 380 - .../Python-2.7.2/Tools/scripts/fixheader.py | 49 - .../Python-2.7.2/Tools/scripts/fixnotice.py | 113 - .../Python-2.7.2/Tools/scripts/fixps.py | 33 - .../Python-2.7.2/Tools/scripts/ftpmirror.py | 400 - .../Python-2.7.2/Tools/scripts/google.py | 23 - .../Python-2.7.2/Tools/scripts/gprof2html.py | 79 - .../Python/Python-2.7.2/Tools/scripts/h2py.py | 175 - .../Python-2.7.2/Tools/scripts/hotshotmain.py | 55 - .../Python/Python-2.7.2/Tools/scripts/idle | 5 - .../Python-2.7.2/Tools/scripts/ifdef.py | 112 - .../Python/Python-2.7.2/Tools/scripts/lfcr.py | 24 - .../Python-2.7.2/Tools/scripts/linktree.py | 80 - .../Python/Python-2.7.2/Tools/scripts/lll.py | 28 - .../Python-2.7.2/Tools/scripts/logmerge.py | 185 - .../Tools/scripts/mailerdaemon.py | 237 - .../Python-2.7.2/Tools/scripts/md5sum.py | 90 - .../Python-2.7.2/Tools/scripts/methfix.py | 171 - .../Python-2.7.2/Tools/scripts/mkreal.py | 66 - .../Python-2.7.2/Tools/scripts/ndiff.py | 133 - .../Python-2.7.2/Tools/scripts/nm2def.py | 103 - .../Python-2.7.2/Tools/scripts/objgraph.py | 215 - .../Tools/scripts/parseentities.py | 64 - .../Python-2.7.2/Tools/scripts/patchcheck.py | 158 - .../Python-2.7.2/Tools/scripts/pathfix.py | 149 - .../Python-2.7.2/Tools/scripts/pdeps.py | 167 - .../Python-2.7.2/Tools/scripts/pickle2db.py | 147 - .../Python-2.7.2/Tools/scripts/pindent.py | 542 - .../Python-2.7.2/Tools/scripts/ptags.py | 53 - .../Python/Python-2.7.2/Tools/scripts/pydoc | 5 - .../Python-2.7.2/Tools/scripts/pydocgui.pyw | 7 - .../Python-2.7.2/Tools/scripts/pysource.py | 130 - .../Python-2.7.2/Tools/scripts/redemo.py | 171 - .../Tools/scripts/reindent-rst.py | 14 - .../Python-2.7.2/Tools/scripts/reindent.py | 304 - .../Python-2.7.2/Tools/scripts/rgrep.py | 64 - .../Python-2.7.2/Tools/scripts/serve.py | 35 - .../Python-2.7.2/Tools/scripts/setup.py | 20 - .../Python/Python-2.7.2/Tools/scripts/suff.py | 30 - .../Python-2.7.2/Tools/scripts/svneol.py | 91 - .../Python-2.7.2/Tools/scripts/texcheck.py | 233 - .../Python-2.7.2/Tools/scripts/texi2html.py | 2078 -- .../Python-2.7.2/Tools/scripts/treesync.py | 205 - .../Python-2.7.2/Tools/scripts/untabify.py | 52 - .../Python-2.7.2/Tools/scripts/which.py | 60 - .../Tools/scripts/win_add2path.py | 57 - .../Python/Python-2.7.2/Tools/scripts/xxci.py | 116 - .../Tools/ssl/get-remote-certificate.py | 79 - .../Python-2.7.2/Tools/unicode/Makefile | 84 - .../Tools/unicode/comparecodecs.py | 53 - .../Tools/unicode/gencjkcodecs.py | 68 - .../Python-2.7.2/Tools/unicode/gencodec.py | 423 - .../Python-2.7.2/Tools/unicode/genwincodec.py | 61 - .../Tools/unicode/genwincodecs.bat | 7 - .../Python-2.7.2/Tools/unicode/listcodecs.py | 41 - .../Tools/unicode/makeunicodedata.py | 1135 - .../Tools/unicode/mkstringprep.py | 425 - .../Tools/unicode/python-mappings/CP1140.TXT | 291 - .../Tools/unicode/python-mappings/KOI8-U.TXT | 298 - .../Tools/unicode/python-mappings/TIS-620.TXT | 284 - .../Python-2.7.2/Tools/versioncheck/README | 41 - .../Tools/versioncheck/_checkversion.py | 16 - .../Tools/versioncheck/checkversions.py | 52 - .../Tools/versioncheck/pyversioncheck.py | 98 - .../Python-2.7.2/Tools/webchecker/README | 23 - .../Python-2.7.2/Tools/webchecker/tktools.py | 366 - .../Python-2.7.2/Tools/webchecker/wcgui.py | 456 - .../Python-2.7.2/Tools/webchecker/wcmac.py | 7 - .../Tools/webchecker/webchecker.py | 892 - .../Tools/webchecker/websucker.py | 123 - .../Python-2.7.2/Tools/webchecker/wsgui.py | 240 - .../Python/Python-2.7.2/Tools/world/README | 85 - .../Python/Python-2.7.2/Tools/world/world | 551 - AppPkg/Applications/Python/PythonCore.inf | 248 - AppPkg/Applications/Python/X64/pyconfig.h | 1301 -- 2134 files changed, 1 insertion(+), 911901 deletions(-) delete mode 100644 AppPkg/Applications/Python/Efi/config.c delete mode 100644 AppPkg/Applications/Python/Efi/edk2module.c delete mode 100644 AppPkg/Applications/Python/Efi/getpath.c delete mode 100644 AppPkg/Applications/Python/Ia32/pyconfig.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Include/fileobject.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Include/osdefs.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Include/pyport.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Lib/ntpath.py delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Lib/os.py delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Lib/pydoc.py delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Lib/site.py delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/_sre.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/addrinfo.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/errnomodule.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/expat_external.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/xmlparse.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/main.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/selectmodule.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Objects/longobject.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/localeutil.h delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Python/getcopyright.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Python/import.c delete mode 100644 AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/cgi0.sh delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/cgi1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/cgi2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/cgi3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/wiki.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Complex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Dates.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Dbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Range.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Rev.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/Vec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/classes/bitvec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/patterns delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/regextest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/sortingtest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/systemtest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/foo delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/md5driver.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Eiffel.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Enum.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Meta.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Simple.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Synch.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/Trace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/index.html delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/meta-vladimir.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/Eiffel.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/Enum.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/FILES delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/docstring.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/example.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/simple.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/source.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/test_parser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/test_unparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/parser/unparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/FSProxy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/RCSProxy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/client.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/cmdfw.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/cmptree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/cvslib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/cvslock.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/mac.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/makechangelog.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcsbump delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcsclient.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcslib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcvs delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcvs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rrcs delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rrcs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/security.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/server.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/sumtree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/beer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/eqfix.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/fact.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/find-uname.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/from.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/lpwatch.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/makedir.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/markov.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/mboxconvert.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/morse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/newslist.doc delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/newslist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/pi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/pp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/primes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/queens.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/script.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/unbirthday.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/update.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/broadcast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/echosvr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/finger.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ftp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/gopher.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/mcast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/radio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/rpython.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/rpythond.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/telnet.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/throughput.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/udpecho.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/unicast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/unixclient.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/unixserver.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/xml/elem_count.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/xml/roundtrip.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/xml/rss2html.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/minigzip.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/zlibdemo.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Grammar/Grammar delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/Python-ast.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/Python.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/abstract.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/asdl.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/ast.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/bitset.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/boolobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/bufferobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/bytearrayobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/bytes_methods.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/bytesobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/cStringIO.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/cellobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/ceval.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/classobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/cobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/code.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/codecs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/compile.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/complexobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/datetime.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/descrobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/dictobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/dtoa.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/enumobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/errcode.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/eval.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/fileobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/floatobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/frameobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/funcobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/genobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/graminit.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/grammar.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/import.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/intobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/intrcheck.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/iterobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/listobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/longintrepr.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/longobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/marshal.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/memoryobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/metagrammar.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/methodobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/modsupport.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/moduleobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/node.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/object.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/objimpl.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/opcode.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/osdefs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/parsetok.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/patchlevel.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pgen.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pgenheaders.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/py_curses.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyarena.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pycapsule.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyctype.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pydebug.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyerrors.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyexpat.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyfpe.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pygetopt.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pymacconfig.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pymactoolbox.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pymath.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pymem.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pyport.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pystate.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pystrcmp.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pystrtod.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pythonrun.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/pythread.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/rangeobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/setobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/sliceobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/stringobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/structmember.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/structseq.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/symtable.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/sysmodule.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/timefuncs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/token.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/traceback.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/tupleobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/ucnhash.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/unicodeobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/warnings.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Include/weakrefobject.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/LICENSE delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/BaseHTTPServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/Bastion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/CGIHTTPServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ConfigParser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/Cookie.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/DocXMLRPCServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/HTMLParser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/MimeWriter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/Queue.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/SimpleHTTPServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/SimpleXMLRPCServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/SocketServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/StringIO.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/UserDict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/UserList.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/UserString.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_LWPCookieJar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_MozillaCookieJar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/__future__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/__phello__.foo.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_abcoll.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_pyio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_strptime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/_weakrefset.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/abc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/aifc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/antigravity.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/anydbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/argparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/asynchat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/asyncore.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/atexit.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/base64.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/bdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/binhex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/bisect.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/cProfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/calendar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/cgi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/cgitb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/chunk.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/cmd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/code.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/codecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/codeop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/collections.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/colorsys.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/commands.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compileall.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/consts.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/future.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/misc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/pyassem.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/pycodegen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/symbols.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/syntax.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/transformer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/visitor.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/contextlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/cookielib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/copy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/copy_reg.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/csv.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dbhash.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/decimal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/difflib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dircache.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dis.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/archive_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/bcppcompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/cmd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/bdist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/bdist_dumb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/bdist_msi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/bdist_rpm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/bdist_wininst.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/build.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/build_clib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/build_ext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/build_py.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/build_scripts.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/check.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/clean.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/command_template delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/config.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_data.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_egg_info.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_headers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_lib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_scripts.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/register.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/sdist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/upload.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/wininst-6.0.exe delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/wininst-7.1.exe delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/wininst-8.0.exe delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/wininst-9.0-amd64.exe delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/wininst-9.0.exe delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/config.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/core.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/cygwinccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/debug.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/dep_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/dir_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/dist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/emxccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/errors.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/extension.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/fancy_getopt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/file_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/filelist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/log.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/msvc9compiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/msvccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/spawn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/sysconfig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/Setup.sample delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/setuptools_build_ext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/setuptools_extension.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_archive_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist_dumb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist_msi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist_rpm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist_wininst.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_build.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_build_clib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_build_ext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_build_py.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_build_scripts.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_ccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_check.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_clean.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_cmd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_config.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_config_cmd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_core.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_dep_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_dir_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_dist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_file_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_filelist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_install.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_install_data.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_install_headers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_install_lib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_install_scripts.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_msvc9compiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_register.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_sdist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_spawn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_sysconfig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_text_file.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_unixccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_upload.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_version.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_versionpredicate.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/text_file.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/unixccompiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/version.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/versionpredicate.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/doctest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dumbdbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dummy_thread.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/dummy_threading.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/_parseaddr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/base64mime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/charset.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/encoders.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/errors.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/feedparser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/generator.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/header.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/iterators.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/message.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/application.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/audio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/base.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/image.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/message.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/multipart.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/nonmultipart.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/text.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/parser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/quoprimime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/PyBanner048.gif delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/audiotest.au delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_01.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_02.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_03.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_04.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_05.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_06.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_07.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_08.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_09.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_10.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_11.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_12.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_12a.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_13.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_14.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_15.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_16.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_17.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_18.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_19.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_20.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_21.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_22.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_23.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_24.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_25.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_26.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_27.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_28.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_29.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_30.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_31.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_32.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_33.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_34.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_35.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_36.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_37.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_38.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_39.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_40.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_41.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_42.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_43.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_44.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_45.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/msg_46.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/test_email.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/test_email_codecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/test_email_codecs_renamed.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/test_email_renamed.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/test_email_torture.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/email/utils.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/aliases.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ascii.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/base64_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/big5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/big5hkscs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/bz2_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/charmap.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp037.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1006.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1026.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1140.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1250.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1251.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1252.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1253.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1254.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1255.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1256.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1257.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp1258.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp424.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp437.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp500.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp720.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp737.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp775.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp850.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp852.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp855.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp856.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp857.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp858.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp860.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp861.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp862.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp863.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp864.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp865.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp866.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp869.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp874.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp875.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp932.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp949.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/cp950.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/euc_jis_2004.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/euc_jisx0213.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/euc_jp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/euc_kr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/gb18030.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/gb2312.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/gbk.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/hex_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/hp_roman8.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/hz.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/idna.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp_1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp_2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp_2004.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp_3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_jp_ext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso2022_kr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_10.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_11.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_13.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_14.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_15.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_16.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_4.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_6.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_7.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_8.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/iso8859_9.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/johab.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/koi8_r.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/koi8_u.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/latin_1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_arabic.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_centeuro.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_croatian.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_cyrillic.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_farsi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_greek.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_iceland.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_latin2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_roman.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_romanian.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mac_turkish.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/mbcs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/palmos.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ptcp154.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/punycode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/quopri_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/raw_unicode_escape.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/rot_13.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/shift_jis.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/shift_jis_2004.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/shift_jisx0213.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/string_escape.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/tis_620.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/undefined.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/unicode_escape.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/unicode_internal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_16.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_16_be.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_16_le.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_32.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_32_be.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_32_le.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_7.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_8.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/utf_8_sig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/uu_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/zlib_codec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/filecmp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/fileinput.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/fnmatch.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/formatter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/fpformat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/fractions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ftplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/functools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/genericpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/getopt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/getpass.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/gettext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/glob.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/gzip.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hashlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/heapq.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hmac.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/log.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/stats.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/stones.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/htmlentitydefs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/htmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/httplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ihooks.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/imaplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/imghdr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/importlib/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/imputil.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/inspect.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/io.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/decoder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/encoder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/scanner.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_check_circular.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_decode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_default.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_dump.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_encode_basestring_ascii.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_fail.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_float.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_indent.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_pass1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_pass2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_pass3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_recursion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_scanstring.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_separators.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_speedups.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/test_unicode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/json/tool.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/keyword.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/Grammar.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/PatternGrammar.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/__main__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/btm_matcher.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/btm_utils.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixer_base.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixer_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_apply.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_basestring.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_buffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_callable.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_dict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_except.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_exec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_execfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_exitfunc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_filter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_funcattrs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_future.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_getcwdu.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_has_key.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_idioms.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_import.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_imports.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_imports2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_input.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_intern.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_isinstance.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_itertools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_itertools_imports.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_long.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_map.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_metaclass.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_methodattrs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_ne.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_next.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_nonzero.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_numliterals.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_operator.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_paren.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_print.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_raise.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_raw_input.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_reduce.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_renames.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_repr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_set_literal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_standarderror.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_sys_exc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_throw.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_tuple_params.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_types.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_unicode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_urllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_ws_comma.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_xrange.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_xreadlines.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/fix_zip.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/main.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/patcomp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/conv.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/driver.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/grammar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/literals.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/parse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/pgen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/token.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/tokenize.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pygram.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pytree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/refactor.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/bom.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/crlf.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/different_encoding.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/bad_order.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/fix_first.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/fix_last.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/fix_parrot.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/myfixes/fix_preorder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/no_fixer_cls.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/fixers/parrot_example.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/infinite_recursion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/py2_test_grammar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/py3_test_grammar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/pytree_idempotency.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_all_fixers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_fixers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_main.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_parser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_pytree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_refactor.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/test_util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/linecache.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/locale.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/logging/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/logging/config.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/logging/handlers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mailbox.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mailcap.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/markupbase.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/md5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mhlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mimetools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mimetypes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mimify.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/modulefinder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/multifile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/mutex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/netrc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/new.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/nntplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ntpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/nturl2path.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/numbers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/opcode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/optparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/os.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pdb.doc delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pickle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pickletools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pipes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pkgutil.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/platform.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/plistlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/popen2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/poplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/posixfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/posixpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pprint.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/profile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pstats.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pty.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/py_compile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pyclbr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc_data/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc_data/topics.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/quopri.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/random.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/re.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/repr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/rexec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/rfc822.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/rlcompleter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/robotparser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/runpy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sched.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sets.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sgmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sha.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/shelve.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/shlex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/shutil.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/site-packages/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/site.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/smtpd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/smtplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sndhdr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/socket.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sre.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sre_compile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sre_constants.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sre_parse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/ssl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/stat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/statvfs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/string.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/stringold.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/stringprep.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/struct.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/symbol.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/symtable.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/sysconfig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/tabnanny.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/tarfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/telnetlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/tempfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/185test.db delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/Sine-1000Hz-300ms.aif delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/audiotest.au delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/autotest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/bad_coding.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/bad_coding2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badcert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badkey.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future4.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future6.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future7.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future8.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future9.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_nocaret.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/buffer_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cfgparser.1 delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/check_soundcard.vbs delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/big5-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/big5.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/big5hkscs-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/big5hkscs.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/cp949-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/cp949.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_jisx0213-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_jisx0213.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_jp-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_jp.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_kr-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/euc_kr.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gb18030-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gb18030.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gb2312-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gb2312.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gbk-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/gbk.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/hz-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/hz.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/johab-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/johab.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/shift_jis-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/shift_jis.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/shift_jisx0213-utf8.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cjkencodings/shift_jisx0213.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/cmath_testcases.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/bogus_code_obj.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/borrowed_ref_1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/borrowed_ref_2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/compiler_recursion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/gc_has_finalizer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/gc_inspection.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/infinite_loop_re.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/loosing_mro_ref.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/mutation_inside_cyclegc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/nasty_eq_vs_dict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/recursion_limit_too_high.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/recursive_call.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/curses_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/data/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/abs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/add.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/and.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/base.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/clamp.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/class.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/compare.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/comparetotal.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/comparetotmag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/copy.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/copyabs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/copynegate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/copysign.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddAbs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddAdd.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddAnd.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddBase.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCanonical.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddClass.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCompare.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCompareSig.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCompareTotal.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCompareTotalMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCopy.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCopyAbs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCopyNegate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddCopySign.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddDivide.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddDivideInt.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddEncode.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddFMA.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddInvert.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddLogB.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMax.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMaxMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMin.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMinMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMinus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddMultiply.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddNextMinus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddNextPlus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddNextToward.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddOr.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddPlus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddQuantize.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddReduce.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddRemainder.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddRemainderNear.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddRotate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddSameQuantum.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddScaleB.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddShift.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddSubtract.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddToIntegral.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ddXor.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/decDouble.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/decQuad.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/decSingle.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/divide.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/divideint.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqAbs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqAdd.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqAnd.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqBase.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCanonical.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqClass.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCompare.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCompareSig.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCompareTotal.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCompareTotalMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCopy.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCopyAbs.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCopyNegate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCopySign.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqDivide.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqDivideInt.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqEncode.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqFMA.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqInvert.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqLogB.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMax.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMaxMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMin.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMinMag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMinus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqMultiply.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqNextMinus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqNextPlus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqNextToward.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqOr.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqPlus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqQuantize.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqReduce.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqRemainder.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqRemainderNear.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqRotate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqSameQuantum.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqScaleB.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqShift.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqSubtract.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqToIntegral.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqXor.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dsBase.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dsEncode.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/exp.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/extra.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/fma.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/inexact.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/invert.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ln.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/log10.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/logb.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/max.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/maxmag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/min.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/minmag.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/minus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/multiply.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/nextminus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/nextplus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/nexttoward.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/or.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/plus.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/power.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/powersqrt.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/quantize.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/randomBound32.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/randoms.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/reduce.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/remainder.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/remainderNear.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/rescale.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/rotate.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/rounding.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/samequantum.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/scaleb.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/shift.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/squareroot.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/subtract.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/testall.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/tointegral.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/tointegralx.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/xor.decTest delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/doctest_aliases.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/double_const.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/empty.vbs delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/exception_hierarchy.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/floating_points.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/fork_wait.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/formatfloat_testcases.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/gdb_sample.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/greyrgb.uue delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/https_svn_python_org_root.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/ieee754.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/inspect_fodder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/inspect_fodder2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/keycert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/README.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_ctypes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_dictself.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_gestalt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/test_selftype.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/list_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/lock_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/mapping_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/math_testcases.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/nullcert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/outstanding_bugs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/pickletester.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/profilee.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/pyclbr_input.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/pydoc_mod.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/pydocfodder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/pystone.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/randv2_32.pck delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/randv2_64.pck delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/randv3.pck delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/re_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/regex_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/regrtest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/relimport.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/reperf.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/sample_doctest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/script_helper.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/seq_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/sgml_input.html delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/sha256.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/sortperf.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/ssl_cert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/ssl_key.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/string_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/subprocessdata/sigchild_ignore.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/svn_python_org_https_cert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_MimeWriter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_SimpleHTTPServer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_StringIO.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test___all__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test___future__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test__locale.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_abc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_abstract_numbers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_aepack.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_aifc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_al.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_anydbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_applesingle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_argparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_array.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ascii_formatd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ast.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_asynchat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_asyncore.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_atexit.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_audioop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_augassign.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_base64.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bastion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bigaddrspace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bigmem.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_binascii.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_binhex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_binop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bisect.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bool.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bsddb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bsddb185.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bsddb3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_buffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bufio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_builtin.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bytes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_bz2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_calendar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_call.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_capi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cfgparser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cgi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_charmapcodec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_class.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cmath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cmd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cmd_line.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cmd_line_script.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_code.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codeccallbacks.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_cn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_hk.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_jp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_kr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_tw.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecmaps_cn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecmaps_hk.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecmaps_jp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecmaps_kr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecmaps_tw.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codeop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_coding.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_coercion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_collections.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_colorsys.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_commands.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_compare.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_compile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_compileall.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_compiler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_complex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_complex_args.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_contains.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_contextlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cookie.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cookielib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_copy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_copy_reg.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cpickle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_cprofile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_crypt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_csv.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ctypes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_curses.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_datetime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_decimal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_decorators.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_defaultdict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_deque.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_descr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_descrtut.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dictcomps.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dictviews.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_difflib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_difflib_expect.html delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dircache.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dis.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_distutils.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest2.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest3.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest4.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_docxmlrpc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dumbdbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dummy_thread.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_dummy_threading.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_email.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_email_codecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_email_renamed.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_enumerate.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_eof.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_epoll.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_errno.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_exception_variations.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_exceptions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_extcall.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fcntl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_file.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_file2k.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_filecmp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fileinput.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fileio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_float.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fnmatch.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fork1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_format.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fpformat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_fractions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_frozen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ftplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_funcattrs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_functools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future1.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future4.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future_builtins.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gdbm.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_generators.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_genericpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_genexps.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_getargs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_getargs2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_getopt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gettext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_glob.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_global.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_grammar.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_grp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_gzip.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_hash.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_hashlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_heapq.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_hmac.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_hotshot.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_htmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_htmlparser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_httplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_httpservers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_imageop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_imaplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_imgfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_imp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_import.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_importhooks.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_importlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_index.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_inspect.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_int.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_int_literal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_io.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ioctl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_isinstance.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_iter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_iterlen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_itertools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_json.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_kqueue.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_largefile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_lib2to3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_linecache.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_linuxaudiodev.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_list.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_locale.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_logging.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_long.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_long_future.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_longexp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_macos.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_macostools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_macpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mailbox.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_marshal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_math.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_md5.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_memoryio.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_memoryview.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mhlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mimetools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mimetypes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_minidom.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mmap.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_module.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_modulefinder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_msilib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_multibytecodec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_multibytecodec_support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_multifile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_multiprocessing.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mutants.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_mutex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_netrc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_new.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_nis.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_normalization.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ntpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_old_mailbox.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_opcodes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_openpty.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_operator.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_optparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_os.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ossaudiodev.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_parser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_peepholer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pep247.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pep263.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pep277.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pep292.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pep352.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pickle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pickletools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pipes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pkg.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pkgimport.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pkgutil.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_platform.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_plistlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_poll.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_popen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_popen2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_poplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_posix.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_posixpath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pow.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pprint.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_print.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_profile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_property.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pstats.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pty.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pwd.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_py3kwarn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pyclbr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pydoc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_pyexpat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_queue.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_quopri.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_random.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_re.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_readline.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_repr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_resource.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_rfc822.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_richcmp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_rlcompleter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_robotparser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_runpy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sax.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_scope.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_scriptpackages.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_select.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_set.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_setcomps.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sets.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sgmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sha.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_shelve.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_shlex.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_shutil.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_signal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_site.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_slice.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_smtplib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_smtpnet.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_socket.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_socketserver.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_softspace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sort.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sqlite.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ssl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_startfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_str.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_strftime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_string.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_stringprep.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_strop.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_strptime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_strtod.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_struct.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_structmembers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_structseq.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_subprocess.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sunaudiodev.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sundry.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_symtable.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_syntax.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sys.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sys_setprofile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sys_settrace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_sysconfig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tarfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tcl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_telnetlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tempfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_textwrap.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_thread.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_threaded_import.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_threadedtempfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_threading.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_threading_local.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_threadsignals.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_time.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_timeout.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tk.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tokenize.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_trace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_traceback.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_transformer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ttk_guionly.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ttk_textonly.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_tuple.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_typechecks.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_types.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ucn.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unary.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_undocumented_details.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unicode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unicode_file.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unicodedata.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unittest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_univnewlines.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_univnewlines2k.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_unpack.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urllib2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urllib2_localnet.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urllib2net.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urllibnet.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_urlparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_userdict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_userlist.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_userstring.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_uu.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_uuid.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_wait3.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_wait4.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_warnings.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_wave.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_weakref.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_weakset.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_whichdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_winreg.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_winsound.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_with.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_wsgiref.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xdrlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xml_etree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xml_etree_c.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xmlrpc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xpickle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_xrange.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_zipfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_zipfile64.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_zipimport.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_zipimport_support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_zlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testall.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testcodec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testimg.uue delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testimgr.uue delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testrgb.uue delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/testtar.tar delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/tf_inherit_check.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/threaded_import_hangers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/time_hashlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/tokenize_tests.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/tracedmodules/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/tracedmodules/testmod.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/warning_tests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/win_console_handler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/wrongcert.pem delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple-ns.xml delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple.xml delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml.out delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltests.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/test/zipdir.zip delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/textwrap.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/this.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/timeit.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/toaiff.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/token.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/tokenize.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/trace.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/traceback.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/tty.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/types.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/__main__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/case.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/loader.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/main.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/result.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/runner.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/signals.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/suite.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/dummy.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/support.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_assertions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_break.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_case.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_discovery.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_functiontestcase.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_loader.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_program.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_result.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_runner.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_setups.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_skipping.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/test_suite.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/urllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/urllib2.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/urlparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/user.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/uu.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/uuid.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/warnings.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wave.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/weakref.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/webbrowser.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/whichdb.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref.egg-info delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/handlers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/headers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/simple_server.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/validate.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xdrlib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/NodeFilter.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/domreg.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/expatbuilder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/minicompat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/minidom.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/pulldom.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/xmlbuilder.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/ElementInclude.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/ElementPath.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/ElementTree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/cElementTree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/parsers/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/parsers/expat.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/_exceptions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/expatreader.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/handler.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/saxutils.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/xmlreader.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xmllib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/xmlrpclib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Lib/zipfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_bisectmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_codecsmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_collectionsmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_csv.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_elementtree.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_functoolsmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_hashopenssl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_heapqmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_hotshot.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/_iomodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/_iomodule.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/bufferedio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/bytesio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/fileio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/iobase.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/stringio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_io/textio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_json.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_localemodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_lsprof.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_math.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_math.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_randommodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cache.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cache.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/connection.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/connection.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cursor.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/cursor.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/microprotocols.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/microprotocols.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/module.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/module.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/prepare_protocol.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/prepare_protocol.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/row.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/row.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/sqlitecompat.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/statement.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/statement.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/util.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/util.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_sre.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_ssl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_struct.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_testcapimodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/_weakref.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/addrinfo.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/arraymodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/binascii.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/bz2module.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cPickle.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cStringIO.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_cn.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_hk.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_iso2022.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_jp.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_kr.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/_codecs_tw.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/alg_jisx0201.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/cjkcodecs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/emu_jisx0213_2000.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_cn.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_hk.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_jisx0213_pair.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_jp.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_kr.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/mappings_tw.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/multibytecodec.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/multibytecodec.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cmathmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/cryptmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/datetimemodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/errnomodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/COPYING delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/amigaconfig.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/ascii.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/asciitab.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/expat.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/expat_config.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/expat_external.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/iasciitab.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/internal.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/latin1tab.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/macconfig.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/nametab.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/pyexpatns.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/utf8tab.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/winconfig.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmlparse.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmlrole.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmlrole.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmltok.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmltok.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmltok_impl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmltok_impl.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/expat/xmltok_ns.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/fcntlmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/flmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/fmmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/fpectlmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/fpetestmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/future_builtins.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/gc_weakref.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/gcmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/getaddrinfo.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/getbuildinfo.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/getnameinfo.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/getpath.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/imageop.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/itertoolsmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/main.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/mathmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/md5.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/md5.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/md5module.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/operator.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/parsermodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/posixmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/puremodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/pwdmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/pyexpat.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/python.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/readline.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/resource.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/rotatingtree.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/rotatingtree.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/selectmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/sha256module.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/sha512module.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/shamodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/signalmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/sre.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/sre_constants.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/stropmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/symtablemodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/testcapi_long.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/threadmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/timemodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/timing.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/timingmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/unicodedata.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/unicodedata_db.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/unicodename_db.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/xxmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/xxsubtype.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/yuv.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/yuvconvert.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zipimport.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ChangeLog delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/FAQ delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/INDEX delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/Makefile delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/Makefile.in delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/adler32.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/algorithm.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/compress.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/configure delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/crc32.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/crc32.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/deflate.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/deflate.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/example.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/gzio.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/infback.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inffast.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inffast.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inffixed.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inflate.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inflate.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inftrees.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/inftrees.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/make_vms.com delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/minigzip.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/trees.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/trees.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/uncompr.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zconf.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zconf.in.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zlib.3 delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zlib.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zutil.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/zutil.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Modules/zlibmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/abstract.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/boolobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/bufferobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/bytearrayobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/bytes_methods.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/capsule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/cellobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/classobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/cobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/codeobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/complexobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/descrobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/dictnotes.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/dictobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/enumobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/exceptions.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/fileobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/floatobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/frameobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/funcobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/genobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/intobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/iterobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/listobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/listsort.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/lnotab_notes.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/longobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/memoryobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/methodobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/moduleobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/object.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/obmalloc.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/rangeobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/setobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/sliceobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/README.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/count.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ctype.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/fastsearch.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/find.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/formatter.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/localeutil.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/partition.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/split.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/string_format.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/stringdefs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/transmogrify.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/unicodedefs.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/stringobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/structseq.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/tupleobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/typeobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/unicodectype.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/unicodeobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/unicodetype_db.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Objects/weakrefobject.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/Python.asdl delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/acceler.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/asdl.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/asdl_c.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/bitset.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/firstsets.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/grammar.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/grammar1.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/intrcheck.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/listnode.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/metagrammar.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/myreadline.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/node.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/parser.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/parser.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/parsetok.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/pgen.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/pgenmain.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/printgrammar.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/spark.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/tokenizer.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/tokenizer.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Parser/tokenizer_pgen.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/Python-ast.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/_warnings.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/asdl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/ast.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/atof.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/bltinmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/ceval.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/codecs.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/compile.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dtoa.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dup2.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_aix.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_atheos.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_beos.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_dl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_hpux.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_next.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_os2.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_shlib.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_stub.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/dynload_win.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/errors.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/formatter_string.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/formatter_unicode.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/frozen.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/frozenmain.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/future.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getargs.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getcompiler.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getcopyright.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getcwd.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getopt.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getplatform.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/getversion.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/graminit.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/import.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/importdl.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/importdl.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/mactoolboxglue.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/marshal.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/modsupport.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/mysnprintf.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/mystrtoul.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/peephole.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pyarena.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pyctype.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pyfpe.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pymath.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pystate.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pystrcmp.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pystrtod.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/pythonrun.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/sigcheck.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/strtod.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/structmember.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/symtable.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/sysmodule.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_atheos.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_beos.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_cthread.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_foobar.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_lwp.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_nt.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_os2.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_pth.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_pthread.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_sgi.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_solaris.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/thread_wince.h delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Python/traceback.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenBuffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenGenerator.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenGeneratorGroup.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenHeapBuffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenModule.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenObjectDefinition.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenOutput.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenStackBuffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenStringBuffer.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenType.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/bgenVariable.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/macsupport.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/scantools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/README.tcltk-AMD64 delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/build-amd64.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/build.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/buildmsi.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean-amd64.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/clean.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/external-amd64.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/external-common.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/external.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/test-amd64.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/buildbot/test.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/ccbench.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ACKS delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ast.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/astgen.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/compile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/demo.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/dumppyc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/regrtest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/stacktest.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/faqconf.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/faqcust.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/faqw.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/faqwiz.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/move-faqwiz.sh delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/README.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/TODO.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/example.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/bases.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/function.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/member.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/slots.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/struct.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/structparse.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/template.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/util.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/bkfile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/checkextensions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/checkextensions_win32.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/extensions_win32.ini delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/freeze.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/hello.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/makeconfig.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/makefreeze.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/makemakefile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/parsesetup.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/win32.html delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/winmakemakefile.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/libpython.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/makelocalealias.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/msgfmt.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/pygettext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/iobench.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/README.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/crtlicense.txt delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/msi.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/msilib.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/msisupport.c delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/msisupport.mak delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/schema.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/sequence.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/uisample.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/msi/uuids.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Arithmetic.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Calls.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/CommandLine.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Constructs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Dict.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Exceptions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Imports.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Instances.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/LICENSE delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Lists.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Lookups.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/NewInstances.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Numbers.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Setup.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Strings.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Tuples.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/Unicode.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/With.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/clockres.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/package/__init__.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/package/submodule.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/pybench.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/systimes.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/2to3 delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/analyze_dxp.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/byext.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/byteyears.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/checkappend.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/checkpyc.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/classfix.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/cleanfuture.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/combinerefs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/copytime.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/crlf.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/cvsfiles.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/db2pickle.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/diff.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/dutree.doc delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/dutree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/eptags.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/find_recursionlimit.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/finddiv.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/findlinksto.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/findnocoding.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/fixcid.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/fixdiv.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/fixheader.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/fixnotice.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/fixps.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ftpmirror.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/google.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/gprof2html.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/h2py.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/hotshotmain.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/idle delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ifdef.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/lfcr.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/linktree.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/lll.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/logmerge.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/mailerdaemon.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/md5sum.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/methfix.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/mkreal.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ndiff.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/nm2def.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/objgraph.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/parseentities.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/patchcheck.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pathfix.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pdeps.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pickle2db.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pindent.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ptags.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pydoc delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pydocgui.pyw delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/pysource.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/redemo.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/reindent-rst.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/reindent.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/rgrep.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/serve.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/setup.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/suff.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/svneol.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/texcheck.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/texi2html.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/treesync.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/untabify.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/which.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/win_add2path.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/xxci.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/get-remote-certificate.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/Makefile delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/comparecodecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/gencjkcodecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/gencodec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/genwincodec.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/genwincodecs.bat delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/listcodecs.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/makeunicodedata.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/mkstringprep.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/python-mappings/CP1140.TXT delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/python-mappings/KOI8-U.TXT delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/python-mappings/TIS-620.TXT delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/_checkversion.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/checkversions.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/pyversioncheck.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/tktools.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/wcgui.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/wcmac.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/webchecker.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/websucker.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/wsgui.py delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/world/README delete mode 100644 AppPkg/Applications/Python/Python-2.7.2/Tools/world/world delete mode 100644 AppPkg/Applications/Python/PythonCore.inf delete mode 100644 AppPkg/Applications/Python/X64/pyconfig.h diff --git a/AppPkg/AppPkg.dsc b/AppPkg/AppPkg.dsc index 5938789..eb02539 100644 --- a/AppPkg/AppPkg.dsc +++ b/AppPkg/AppPkg.dsc @@ -7,7 +7,7 @@ # for important information about configuring this package for your # environment. # -# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> +# Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent ## @@ -120,9 +120,6 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040 } -#### Un-comment the following line to build Python 2.7.2. -# AppPkg/Applications/Python/PythonCore.inf - #### Un-comment the following line to build Python 2.7.10. # AppPkg/Applications/Python/Python-2.7.10/Python2710.inf diff --git a/AppPkg/Applications/Python/Efi/config.c b/AppPkg/Applications/Python/Efi/config.c deleted file mode 100644 index 5ca95e8..0000000 --- a/AppPkg/Applications/Python/Efi/config.c +++ /dev/null @@ -1,149 +0,0 @@ -/** @file - Python Module configuration. - - Copyright (c) 2011-2012, Intel Corporation. All rights reserved.<BR> - SPDX-License-Identifier: BSD-2-Clause-Patent -**/ - -/* This file contains the table of built-in modules. - See init_builtin() in import.c. */ - -#include "Python.h" - -extern void initarray(void); -extern void init_ast(void); -extern void initbinascii(void); -extern void init_bisect(void); -extern void initcmath(void); -extern void init_codecs(void); -extern void init_collections(void); -extern void initcPickle(void); -extern void initcStringIO(void); -extern void init_csv(void); -extern void init_ctypes(void); -extern void initdatetime(void); -extern void initedk2(void); -extern void initerrno(void); -extern void init_functools(void); -extern void initfuture_builtins(void); -extern void initgc(void); -extern void init_heapq(void); -extern void init_hotshot(void); -extern void initimp(void); -extern void init_io(void); -extern void inititertools(void); -extern void init_json(void); -extern void init_lsprof(void); -extern void initmath(void); -extern void init_md5(void); -extern void initmmap(void); -extern void initoperator(void); -extern void initparser(void); -extern void initpyexpat(void); -extern void init_random(void); -extern void initselect(void); -extern void init_sha(void); -extern void init_sha256(void); -extern void init_sha512(void); -extern void initsignal(void); -extern void init_socket(void); -extern void init_sre(void); -extern void initstrop(void); -extern void init_struct(void); -extern void init_subprocess(void); -extern void init_symtable(void); -extern void initthread(void); -extern void inittime(void); -extern void initunicodedata(void); -extern void init_weakref(void); -extern void init_winreg(void); -extern void initxxsubtype(void); -extern void initzipimport(void); -extern void initzlib(void); - -extern void PyMarshal_Init(void); -extern void _PyWarnings_Init(void); - -extern void init_multibytecodec(void); -extern void init_codecs_cn(void); -extern void init_codecs_hk(void); -extern void init_codecs_iso2022(void); -extern void init_codecs_jp(void); -extern void init_codecs_kr(void); -extern void init_codecs_tw(void); - -struct _inittab _PyImport_Inittab[] = { - - //{"_ast", init_ast}, - //{"_bisect", init_bisect}, /* A fast version of bisect.py */ - //{"_csv", init_csv}, - //{"_heapq", init_heapq}, /* A fast version of heapq.py */ - //{"_io", init_io}, - //{"_json", init_json}, - //{"_md5", init_md5}, - //{"_sha", init_sha}, - //{"_sha256", init_sha256}, - //{"_sha512", init_sha512}, - //{"_socket", init_socket}, - //{"_symtable", init_symtable}, - - //{"array", initarray}, - //{"cmath", initcmath}, - //{"cPickle", initcPickle}, - //{"datetime", initdatetime}, - //{"future_builtins", initfuture_builtins}, - //{"parser", initparser}, - //{"pyexpat", initpyexpat}, - //{"select", initselect}, - //{"signal", initsignal}, - //{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */ - //{"unicodedata", initunicodedata}, - //{"xxsubtype", initxxsubtype}, - //{"zipimport", initzipimport}, - //{"zlib", initzlib}, - - /* CJK codecs */ - //{"_multibytecodec", init_multibytecodec}, - //{"_codecs_cn", init_codecs_cn}, - //{"_codecs_hk", init_codecs_hk}, - //{"_codecs_iso2022", init_codecs_iso2022}, - //{"_codecs_jp", init_codecs_jp}, - //{"_codecs_kr", init_codecs_kr}, - //{"_codecs_tw", init_codecs_tw}, - -#ifdef WITH_THREAD - {"thread", initthread}, -#endif - - /* These modules are required for the full built-in help() facility provided by pydoc. */ - {"_codecs", init_codecs}, - {"_collections", init_collections}, - {"_functools", init_functools}, - {"_random", init_random}, - {"_sre", init_sre}, - {"_struct", init_struct}, /* Required by the logging package. */ - {"_weakref", init_weakref}, - {"binascii", initbinascii}, - {"cStringIO", initcStringIO}, /* Required by several modules, such as logging. */ - {"gc", initgc}, - {"itertools", inititertools}, - {"math", initmath}, - {"operator", initoperator}, - {"time", inittime}, - - /* These four modules should always be built in. */ - {"edk2", initedk2}, - {"errno", initerrno}, - {"imp", initimp}, /* We get this for free from Python/import.c */ - {"marshal", PyMarshal_Init}, /* We get this for free from Python/marshal.c */ - - /* These entries are here for sys.builtin_module_names */ - {"__main__", NULL}, - {"__builtin__", NULL}, - {"sys", NULL}, - {"exceptions", NULL}, - {"_warnings", _PyWarnings_Init}, - - /* Sentinel */ - {0, 0} -}; diff --git a/AppPkg/Applications/Python/Efi/edk2module.c b/AppPkg/Applications/Python/Efi/edk2module.c deleted file mode 100644 index 0f1c7fe..0000000 --- a/AppPkg/Applications/Python/Efi/edk2module.c +++ /dev/null @@ -1,7414 +0,0 @@ -/** @file - OS-specific module implementation for EDK II and UEFI. - Derived from posixmodule.c in Python 2.7.2. - - Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR> - SPDX-License-Identifier: BSD-2-Clause-Patent -**/ -#define PY_SSIZE_T_CLEAN - -#include "Python.h" -#include "structseq.h" - -#include <stdio.h> -#include <stdlib.h> -#include <wchar.h> -#include <sys/syslimits.h> - -#ifdef __cplusplus -extern "C" { -#endif - -PyDoc_STRVAR(edk2__doc__, - "This module provides access to UEFI firmware functionality that is\n\ - standardized by the C Standard and the POSIX standard (a thinly\n\ - disguised Unix interface). Refer to the library manual and\n\ - corresponding UEFI Specification entries for more information on calls."); - -#ifndef Py_USING_UNICODE - /* This is used in signatures of functions. */ - #define Py_UNICODE void -#endif - -#ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> -#endif /* HAVE_SYS_TYPES_H */ - -#ifdef HAVE_SYS_STAT_H - #include <sys/stat.h> -#endif /* HAVE_SYS_STAT_H */ - -#ifdef HAVE_SYS_WAIT_H - #include <sys/wait.h> /* For WNOHANG */ -#endif - -#ifdef HAVE_SIGNAL_H - #include <signal.h> -#endif - -#ifdef HAVE_FCNTL_H - #include <fcntl.h> -#endif /* HAVE_FCNTL_H */ - -#ifdef HAVE_GRP_H - #include <grp.h> -#endif - -#ifdef HAVE_SYSEXITS_H - #include <sysexits.h> -#endif /* HAVE_SYSEXITS_H */ - -#ifdef HAVE_SYS_LOADAVG_H - #include <sys/loadavg.h> -#endif - -#ifdef HAVE_UTIME_H - #include <utime.h> -#endif /* HAVE_UTIME_H */ - -#ifdef HAVE_SYS_UTIME_H - #include <sys/utime.h> - #define HAVE_UTIME_H /* pretend we do for the rest of this file */ -#endif /* HAVE_SYS_UTIME_H */ - -#ifdef HAVE_SYS_TIMES_H - #include <sys/times.h> -#endif /* HAVE_SYS_TIMES_H */ - -#ifdef HAVE_SYS_PARAM_H - #include <sys/param.h> -#endif /* HAVE_SYS_PARAM_H */ - -#ifdef HAVE_SYS_UTSNAME_H - #include <sys/utsname.h> -#endif /* HAVE_SYS_UTSNAME_H */ - -#ifdef HAVE_DIRENT_H - #include <dirent.h> - #define NAMLEN(dirent) wcslen((dirent)->FileName) -#else - #define dirent direct - #define NAMLEN(dirent) (dirent)->d_namlen - #ifdef HAVE_SYS_NDIR_H - #include <sys/ndir.h> - #endif - #ifdef HAVE_SYS_DIR_H - #include <sys/dir.h> - #endif - #ifdef HAVE_NDIR_H - #include <ndir.h> - #endif -#endif - -#ifndef MAXPATHLEN - #if defined(PATH_MAX) && PATH_MAX > 1024 - #define MAXPATHLEN PATH_MAX - #else - #define MAXPATHLEN 1024 - #endif -#endif /* MAXPATHLEN */ - -#define WAIT_TYPE int -#define WAIT_STATUS_INT(s) (s) - -/* Issue #1983: pid_t can be longer than a C long on some systems */ -#if !defined(SIZEOF_PID_T) || SIZEOF_PID_T == SIZEOF_INT - #define PARSE_PID "i" - #define PyLong_FromPid PyInt_FromLong - #define PyLong_AsPid PyInt_AsLong -#elif SIZEOF_PID_T == SIZEOF_LONG - #define PARSE_PID "l" - #define PyLong_FromPid PyInt_FromLong - #define PyLong_AsPid PyInt_AsLong -#elif defined(SIZEOF_LONG_LONG) && SIZEOF_PID_T == SIZEOF_LONG_LONG - #define PARSE_PID "L" - #define PyLong_FromPid PyLong_FromLongLong - #define PyLong_AsPid PyInt_AsLongLong -#else - #error "sizeof(pid_t) is neither sizeof(int), sizeof(long) or sizeof(long long)" -#endif /* SIZEOF_PID_T */ - -/* Don't use the "_r" form if we don't need it (also, won't have a - prototype for it, at least on Solaris -- maybe others as well?). */ -#if defined(HAVE_CTERMID_R) && defined(WITH_THREAD) - #define USE_CTERMID_R -#endif - -#if defined(HAVE_TMPNAM_R) && defined(WITH_THREAD) - #define USE_TMPNAM_R -#endif - -/* choose the appropriate stat and fstat functions and return structs */ -#undef STAT -#undef FSTAT -#undef STRUCT_STAT -#define STAT stat -#define FSTAT fstat -#define STRUCT_STAT struct stat - -/* dummy version. _PyVerify_fd() is already defined in fileobject.h */ -#define _PyVerify_fd_dup2(A, B) (1) - -#ifndef UEFI_C_SOURCE -/* Return a dictionary corresponding to the POSIX environment table */ -extern char **environ; - -static PyObject * -convertenviron(void) -{ - PyObject *d; - char **e; - d = PyDict_New(); - if (d == NULL) - return NULL; - if (environ == NULL) - return d; - /* This part ignores errors */ - for (e = environ; *e != NULL; e++) { - PyObject *k; - PyObject *v; - char *p = strchr(*e, '='); - if (p == NULL) - continue; - k = PyString_FromStringAndSize(*e, (int)(p-*e)); - if (k == NULL) { - PyErr_Clear(); - continue; - } - v = PyString_FromString(p+1); - if (v == NULL) { - PyErr_Clear(); - Py_DECREF(k); - continue; - } - if (PyDict_GetItem(d, k) == NULL) { - if (PyDict_SetItem(d, k, v) != 0) - PyErr_Clear(); - } - Py_DECREF(k); - Py_DECREF(v); - } - return d; -} -#endif /* UEFI_C_SOURCE */ - -/* Set a POSIX-specific error from errno, and return NULL */ - -static PyObject * -posix_error(void) -{ - return PyErr_SetFromErrno(PyExc_OSError); -} -static PyObject * -posix_error_with_filename(char* name) -{ - return PyErr_SetFromErrnoWithFilename(PyExc_OSError, name); -} - - -static PyObject * -posix_error_with_allocated_filename(char* name) -{ - PyObject *rc = PyErr_SetFromErrnoWithFilename(PyExc_OSError, name); - PyMem_Free(name); - return rc; -} - -/* POSIX generic methods */ - -#ifndef UEFI_C_SOURCE - static PyObject * - posix_fildes(PyObject *fdobj, int (*func)(int)) - { - int fd; - int res; - fd = PyObject_AsFileDescriptor(fdobj); - if (fd < 0) - return NULL; - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - res = (*func)(fd); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; - } -#endif /* UEFI_C_SOURCE */ - -static PyObject * -posix_1str(PyObject *args, char *format, int (*func)(const char*)) -{ - char *path1 = NULL; - int res; - if (!PyArg_ParseTuple(args, format, - Py_FileSystemDefaultEncoding, &path1)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = (*func)(path1); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path1); - PyMem_Free(path1); - Py_INCREF(Py_None); - return Py_None; -} - -static PyObject * -posix_2str(PyObject *args, - char *format, - int (*func)(const char *, const char *)) -{ - char *path1 = NULL, *path2 = NULL; - int res; - if (!PyArg_ParseTuple(args, format, - Py_FileSystemDefaultEncoding, &path1, - Py_FileSystemDefaultEncoding, &path2)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = (*func)(path1, path2); - Py_END_ALLOW_THREADS - PyMem_Free(path1); - PyMem_Free(path2); - if (res != 0) - /* XXX how to report both path1 and path2??? */ - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} - -PyDoc_STRVAR(stat_result__doc__, -"stat_result: Result from stat or lstat.\n\n\ -This object may be accessed either as a tuple of\n\ - (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)\n\ -or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.\n\ -\n\ -Posix/windows: If your platform supports st_blksize, st_blocks, st_rdev,\n\ -or st_flags, they are available as attributes only.\n\ -\n\ -See os.stat for more information."); - -static PyStructSequence_Field stat_result_fields[] = { - {"st_mode", "protection bits"}, - //{"st_ino", "inode"}, - //{"st_dev", "device"}, - //{"st_nlink", "number of hard links"}, - //{"st_uid", "user ID of owner"}, - //{"st_gid", "group ID of owner"}, - {"st_size", "total size, in bytes"}, - /* The NULL is replaced with PyStructSequence_UnnamedField later. */ - {NULL, "integer time of last access"}, - {NULL, "integer time of last modification"}, - {NULL, "integer time of last change"}, - {"st_atime", "time of last access"}, - {"st_mtime", "time of last modification"}, - {"st_ctime", "time of last change"}, -#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE - {"st_blksize", "blocksize for filesystem I/O"}, -#endif -#ifdef HAVE_STRUCT_STAT_ST_BLOCKS - {"st_blocks", "number of blocks allocated"}, -#endif -#ifdef HAVE_STRUCT_STAT_ST_RDEV - {"st_rdev", "device type (if inode device)"}, -#endif -#ifdef HAVE_STRUCT_STAT_ST_FLAGS - {"st_flags", "user defined flags for file"}, -#endif -#ifdef HAVE_STRUCT_STAT_ST_GEN - {"st_gen", "generation number"}, -#endif -#ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME - {"st_birthtime", "time of creation"}, -#endif - {0} -}; - -#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE -#define ST_BLKSIZE_IDX 8 -#else -#define ST_BLKSIZE_IDX 12 -#endif - -#ifdef HAVE_STRUCT_STAT_ST_BLOCKS -#define ST_BLOCKS_IDX (ST_BLKSIZE_IDX+1) -#else -#define ST_BLOCKS_IDX ST_BLKSIZE_IDX -#endif - -#ifdef HAVE_STRUCT_STAT_ST_RDEV -#define ST_RDEV_IDX (ST_BLOCKS_IDX+1) -#else -#define ST_RDEV_IDX ST_BLOCKS_IDX -#endif - -#ifdef HAVE_STRUCT_STAT_ST_FLAGS -#define ST_FLAGS_IDX (ST_RDEV_IDX+1) -#else -#define ST_FLAGS_IDX ST_RDEV_IDX -#endif - -#ifdef HAVE_STRUCT_STAT_ST_GEN -#define ST_GEN_IDX (ST_FLAGS_IDX+1) -#else -#define ST_GEN_IDX ST_FLAGS_IDX -#endif - -#ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME -#define ST_BIRTHTIME_IDX (ST_GEN_IDX+1) -#else -#define ST_BIRTHTIME_IDX ST_GEN_IDX -#endif - -static PyStructSequence_Desc stat_result_desc = { - "stat_result", /* name */ - stat_result__doc__, /* doc */ - stat_result_fields, - 10 -}; - -#ifndef UEFI_C_SOURCE /* Not in UEFI */ -PyDoc_STRVAR(statvfs_result__doc__, -"statvfs_result: Result from statvfs or fstatvfs.\n\n\ -This object may be accessed either as a tuple of\n\ - (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax),\n\ -or via the attributes f_bsize, f_frsize, f_blocks, f_bfree, and so on.\n\ -\n\ -See os.statvfs for more information."); - -static PyStructSequence_Field statvfs_result_fields[] = { - {"f_bsize", }, - {"f_frsize", }, - {"f_blocks", }, - {"f_bfree", }, - {"f_bavail", }, - {"f_files", }, - {"f_ffree", }, - {"f_favail", }, - {"f_flag", }, - {"f_namemax",}, - {0} -}; - -static PyStructSequence_Desc statvfs_result_desc = { - "statvfs_result", /* name */ - statvfs_result__doc__, /* doc */ - statvfs_result_fields, - 10 -}; - -static PyTypeObject StatVFSResultType; -#endif - -static int initialized; -static PyTypeObject StatResultType; -static newfunc structseq_new; - -static PyObject * -statresult_new(PyTypeObject *type, PyObject *args, PyObject *kwds) -{ - PyStructSequence *result; - int i; - - result = (PyStructSequence*)structseq_new(type, args, kwds); - if (!result) - return NULL; - /* If we have been initialized from a tuple, - st_?time might be set to None. Initialize it - from the int slots. */ - for (i = 7; i <= 9; i++) { - if (result->ob_item[i+3] == Py_None) { - Py_DECREF(Py_None); - Py_INCREF(result->ob_item[i]); - result->ob_item[i+3] = result->ob_item[i]; - } - } - return (PyObject*)result; -} - - - -/* If true, st_?time is float. */ -#if defined(UEFI_C_SOURCE) - static int _stat_float_times = 0; -#else - static int _stat_float_times = 1; - -PyDoc_STRVAR(stat_float_times__doc__, -"stat_float_times([newval]) -> oldval\n\n\ -Determine whether os.[lf]stat represents time stamps as float objects.\n\ -If newval is True, future calls to stat() return floats, if it is False,\n\ -future calls return ints. \n\ -If newval is omitted, return the current setting.\n"); - -static PyObject* -stat_float_times(PyObject* self, PyObject *args) -{ - int newval = -1; - - if (!PyArg_ParseTuple(args, "|i:stat_float_times", &newval)) - return NULL; - if (newval == -1) - /* Return old value */ - return PyBool_FromLong(_stat_float_times); - _stat_float_times = newval; - Py_INCREF(Py_None); - return Py_None; -} -#endif /* UEFI_C_SOURCE */ - -static void -fill_time(PyObject *v, int index, time_t sec, unsigned long nsec) -{ - PyObject *fval,*ival; -#if SIZEOF_TIME_T > SIZEOF_LONG - ival = PyLong_FromLongLong((PY_LONG_LONG)sec); -#else - ival = PyInt_FromLong((long)sec); -#endif - if (!ival) - return; - if (_stat_float_times) { - fval = PyFloat_FromDouble(sec + 1e-9*nsec); - } else { - fval = ival; - Py_INCREF(fval); - } - PyStructSequence_SET_ITEM(v, index, ival); - PyStructSequence_SET_ITEM(v, index+3, fval); -} - -/* pack a system stat C structure into the Python stat tuple - (used by posix_stat() and posix_fstat()) */ -static PyObject* -_pystat_fromstructstat(STRUCT_STAT *st) -{ - unsigned long ansec, mnsec, cnsec; - PyObject *v = PyStructSequence_New(&StatResultType); - if (v == NULL) - return NULL; - - PyStructSequence_SET_ITEM(v, 0, PyInt_FromLong((long)st->st_mode)); - PyStructSequence_SET_ITEM(v, 1, - PyLong_FromLongLong((PY_LONG_LONG)st->st_size)); - - ansec = mnsec = cnsec = 0; - /* The index used by fill_time is the index of the integer time. - fill_time will add 3 to the index to get the floating time index. - */ - fill_time(v, 2, st->st_atime, ansec); - fill_time(v, 3, st->st_mtime, mnsec); - fill_time(v, 4, st->st_mtime, cnsec); - -#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE - PyStructSequence_SET_ITEM(v, ST_BLKSIZE_IDX, - PyInt_FromLong((long)st->st_blksize)); -#endif -#ifdef HAVE_STRUCT_STAT_ST_BLOCKS - PyStructSequence_SET_ITEM(v, ST_BLOCKS_IDX, - PyInt_FromLong((long)st->st_blocks)); -#endif -#ifdef HAVE_STRUCT_STAT_ST_RDEV - PyStructSequence_SET_ITEM(v, ST_RDEV_IDX, - PyInt_FromLong((long)st->st_rdev)); -#endif -#ifdef HAVE_STRUCT_STAT_ST_GEN - PyStructSequence_SET_ITEM(v, ST_GEN_IDX, - PyInt_FromLong((long)st->st_gen)); -#endif -#ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME - { - PyObject *val; - unsigned long bsec,bnsec; - bsec = (long)st->st_birthtime; -#ifdef HAVE_STAT_TV_NSEC2 - bnsec = st->st_birthtimespec.tv_nsec; -#else - bnsec = 0; -#endif - if (_stat_float_times) { - val = PyFloat_FromDouble(bsec + 1e-9*bnsec); - } else { - val = PyInt_FromLong((long)bsec); - } - PyStructSequence_SET_ITEM(v, ST_BIRTHTIME_IDX, - val); - } -#endif -#ifdef HAVE_STRUCT_STAT_ST_FLAGS - PyStructSequence_SET_ITEM(v, ST_FLAGS_IDX, - PyInt_FromLong((long)st->st_flags)); -#endif - - if (PyErr_Occurred()) { - Py_DECREF(v); - return NULL; - } - - return v; -} - -static PyObject * -posix_do_stat(PyObject *self, PyObject *args, - char *format, - int (*statfunc)(const char *, STRUCT_STAT *), - char *wformat, - int (*wstatfunc)(const Py_UNICODE *, STRUCT_STAT *)) -{ - STRUCT_STAT st; - char *path = NULL; /* pass this to stat; do not free() it */ - char *pathfree = NULL; /* this memory must be free'd */ - int res; - PyObject *result; - - if (!PyArg_ParseTuple(args, format, - Py_FileSystemDefaultEncoding, &path)) - return NULL; - pathfree = path; - - Py_BEGIN_ALLOW_THREADS - res = (*statfunc)(path, &st); - Py_END_ALLOW_THREADS - - if (res != 0) { - result = posix_error_with_filename(pathfree); - } - else - result = _pystat_fromstructstat(&st); - - PyMem_Free(pathfree); - return result; -} - -/* POSIX methods */ - -PyDoc_STRVAR(posix_access__doc__, -"access(path, mode) -> True if granted, False otherwise\n\n\ -Use the real uid/gid to test for access to a path. Note that most\n\ -operations will use the effective uid/gid, therefore this routine can\n\ -be used in a suid/sgid environment to test if the invoking user has the\n\ -specified access to the path. The mode argument can be F_OK to test\n\ -existence, or the inclusive-OR of R_OK, W_OK, and X_OK."); - -static PyObject * -posix_access(PyObject *self, PyObject *args) -{ - char *path; - int mode; - - int res; - if (!PyArg_ParseTuple(args, "eti:access", - Py_FileSystemDefaultEncoding, &path, &mode)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = access(path, mode); - Py_END_ALLOW_THREADS - PyMem_Free(path); - return PyBool_FromLong(res == 0); -} - -#ifndef F_OK - #define F_OK 0 -#endif -#ifndef R_OK - #define R_OK 4 -#endif -#ifndef W_OK - #define W_OK 2 -#endif -#ifndef X_OK - #define X_OK 1 -#endif - -PyDoc_STRVAR(posix_chdir__doc__, -"chdir(path)\n\n\ -Change the current working directory to the specified path."); - -static PyObject * -posix_chdir(PyObject *self, PyObject *args) -{ - return posix_1str(args, "et:chdir", chdir); -} - -PyDoc_STRVAR(posix_chmod__doc__, -"chmod(path, mode)\n\n\ -Change the access permissions of a file."); - -static PyObject * -posix_chmod(PyObject *self, PyObject *args) -{ - char *path = NULL; - int i; - int res; - if (!PyArg_ParseTuple(args, "eti:chmod", Py_FileSystemDefaultEncoding, - &path, &i)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = chmod(path, i); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} - -#ifdef HAVE_FCHMOD -PyDoc_STRVAR(posix_fchmod__doc__, -"fchmod(fd, mode)\n\n\ -Change the access permissions of the file given by file\n\ -descriptor fd."); - -static PyObject * -posix_fchmod(PyObject *self, PyObject *args) -{ - int fd, mode, res; - if (!PyArg_ParseTuple(args, "ii:fchmod", &fd, &mode)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = fchmod(fd, mode); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_RETURN_NONE; -} -#endif /* HAVE_FCHMOD */ - -#ifdef HAVE_LCHMOD -PyDoc_STRVAR(posix_lchmod__doc__, -"lchmod(path, mode)\n\n\ -Change the access permissions of a file. If path is a symlink, this\n\ -affects the link itself rather than the target."); - -static PyObject * -posix_lchmod(PyObject *self, PyObject *args) -{ - char *path = NULL; - int i; - int res; - if (!PyArg_ParseTuple(args, "eti:lchmod", Py_FileSystemDefaultEncoding, - &path, &i)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = lchmod(path, i); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_RETURN_NONE; -} -#endif /* HAVE_LCHMOD */ - - -#ifdef HAVE_CHFLAGS -PyDoc_STRVAR(posix_chflags__doc__, -"chflags(path, flags)\n\n\ -Set file flags."); - -static PyObject * -posix_chflags(PyObject *self, PyObject *args) -{ - char *path; - unsigned long flags; - int res; - if (!PyArg_ParseTuple(args, "etk:chflags", - Py_FileSystemDefaultEncoding, &path, &flags)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = chflags(path, flags); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_CHFLAGS */ - -#ifdef HAVE_LCHFLAGS -PyDoc_STRVAR(posix_lchflags__doc__, -"lchflags(path, flags)\n\n\ -Set file flags.\n\ -This function will not follow symbolic links."); - -static PyObject * -posix_lchflags(PyObject *self, PyObject *args) -{ - char *path; - unsigned long flags; - int res; - if (!PyArg_ParseTuple(args, "etk:lchflags", - Py_FileSystemDefaultEncoding, &path, &flags)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = lchflags(path, flags); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_LCHFLAGS */ - -#ifdef HAVE_CHROOT -PyDoc_STRVAR(posix_chroot__doc__, -"chroot(path)\n\n\ -Change root directory to path."); - -static PyObject * -posix_chroot(PyObject *self, PyObject *args) -{ - return posix_1str(args, "et:chroot", chroot); -} -#endif - -#ifdef HAVE_FSYNC -PyDoc_STRVAR(posix_fsync__doc__, -"fsync(fildes)\n\n\ -force write of file with filedescriptor to disk."); - -static PyObject * -posix_fsync(PyObject *self, PyObject *fdobj) -{ - return posix_fildes(fdobj, fsync); -} -#endif /* HAVE_FSYNC */ - -#ifdef HAVE_FDATASYNC - -#ifdef __hpux -extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */ -#endif - -PyDoc_STRVAR(posix_fdatasync__doc__, -"fdatasync(fildes)\n\n\ -force write of file with filedescriptor to disk.\n\ - does not force update of metadata."); - -static PyObject * -posix_fdatasync(PyObject *self, PyObject *fdobj) -{ - return posix_fildes(fdobj, fdatasync); -} -#endif /* HAVE_FDATASYNC */ - - -#ifdef HAVE_CHOWN -PyDoc_STRVAR(posix_chown__doc__, -"chown(path, uid, gid)\n\n\ -Change the owner and group id of path to the numeric uid and gid."); - -static PyObject * -posix_chown(PyObject *self, PyObject *args) -{ - char *path = NULL; - long uid, gid; - int res; - if (!PyArg_ParseTuple(args, "etll:chown", - Py_FileSystemDefaultEncoding, &path, - &uid, &gid)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = chown(path, (uid_t) uid, (gid_t) gid); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_CHOWN */ - -#ifdef HAVE_FCHOWN -PyDoc_STRVAR(posix_fchown__doc__, -"fchown(fd, uid, gid)\n\n\ -Change the owner and group id of the file given by file descriptor\n\ -fd to the numeric uid and gid."); - -static PyObject * -posix_fchown(PyObject *self, PyObject *args) -{ - int fd; - long uid, gid; - int res; - if (!PyArg_ParseTuple(args, "ill:chown", &fd, &uid, &gid)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = fchown(fd, (uid_t) uid, (gid_t) gid); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_RETURN_NONE; -} -#endif /* HAVE_FCHOWN */ - -#ifdef HAVE_LCHOWN -PyDoc_STRVAR(posix_lchown__doc__, -"lchown(path, uid, gid)\n\n\ -Change the owner and group id of path to the numeric uid and gid.\n\ -This function will not follow symbolic links."); - -static PyObject * -posix_lchown(PyObject *self, PyObject *args) -{ - char *path = NULL; - long uid, gid; - int res; - if (!PyArg_ParseTuple(args, "etll:lchown", - Py_FileSystemDefaultEncoding, &path, - &uid, &gid)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = lchown(path, (uid_t) uid, (gid_t) gid); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_LCHOWN */ - - -#ifdef HAVE_GETCWD -PyDoc_STRVAR(posix_getcwd__doc__, -"getcwd() -> path\n\n\ -Return a string representing the current working directory."); - -static PyObject * -posix_getcwd(PyObject *self, PyObject *noargs) -{ - int bufsize_incr = 1024; - int bufsize = 0; - char *tmpbuf = NULL; - char *res = NULL; - PyObject *dynamic_return; - - Py_BEGIN_ALLOW_THREADS - do { - bufsize = bufsize + bufsize_incr; - tmpbuf = malloc(bufsize); - if (tmpbuf == NULL) { - break; - } - res = getcwd(tmpbuf, bufsize); - if (res == NULL) { - free(tmpbuf); - } - } while ((res == NULL) && (errno == ERANGE)); - Py_END_ALLOW_THREADS - - if (res == NULL) - return posix_error(); - - dynamic_return = PyString_FromString(tmpbuf); - free(tmpbuf); - - return dynamic_return; -} - -#ifdef Py_USING_UNICODE -PyDoc_STRVAR(posix_getcwdu__doc__, -"getcwdu() -> path\n\n\ -Return a unicode string representing the current working directory."); - -static PyObject * -posix_getcwdu(PyObject *self, PyObject *noargs) -{ - char buf[1026]; - char *res; - - Py_BEGIN_ALLOW_THREADS - res = getcwd(buf, sizeof buf); - Py_END_ALLOW_THREADS - if (res == NULL) - return posix_error(); - return PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,"strict"); -} -#endif /* Py_USING_UNICODE */ -#endif /* HAVE_GETCWD */ - - -PyDoc_STRVAR(posix_listdir__doc__, -"listdir(path) -> list_of_strings\n\n\ -Return a list containing the names of the entries in the directory.\n\ -\n\ - path: path of directory to list\n\ -\n\ -The list is in arbitrary order. It does not include the special\n\ -entries '.' and '..' even if they are present in the directory."); - -static PyObject * -posix_listdir(PyObject *self, PyObject *args) -{ - /* XXX Should redo this putting the (now four) versions of opendir - in separate files instead of having them all here... */ - - char *name = NULL; - char *MBname; - PyObject *d, *v; - DIR *dirp; - struct dirent *ep; - int arg_is_unicode = 1; - - errno = 0; - if (!PyArg_ParseTuple(args, "U:listdir", &v)) { - arg_is_unicode = 0; - PyErr_Clear(); - } - if (!PyArg_ParseTuple(args, "et:listdir", Py_FileSystemDefaultEncoding, &name)) - return NULL; - Py_BEGIN_ALLOW_THREADS - dirp = opendir(name); - Py_END_ALLOW_THREADS - if (dirp == NULL) { - return posix_error_with_allocated_filename(name); - } - if ((d = PyList_New(0)) == NULL) { - Py_BEGIN_ALLOW_THREADS - closedir(dirp); - Py_END_ALLOW_THREADS - PyMem_Free(name); - return NULL; - } - if((MBname = malloc(NAME_MAX)) == NULL) { - Py_BEGIN_ALLOW_THREADS - closedir(dirp); - Py_END_ALLOW_THREADS - Py_DECREF(d); - PyMem_Free(name); - return NULL; - } - for (;;) { - errno = 0; - Py_BEGIN_ALLOW_THREADS - ep = readdir(dirp); - Py_END_ALLOW_THREADS - if (ep == NULL) { - if ((errno == 0) || (errno == EISDIR)) { - break; - } else { - Py_BEGIN_ALLOW_THREADS - closedir(dirp); - Py_END_ALLOW_THREADS - Py_DECREF(d); - return posix_error_with_allocated_filename(name); - } - } - if (ep->FileName[0] == L'.' && - (NAMLEN(ep) == 1 || - (ep->FileName[1] == L'.' && NAMLEN(ep) == 2))) - continue; - if(wcstombs(MBname, ep->FileName, NAME_MAX) == -1) { - free(MBname); - Py_BEGIN_ALLOW_THREADS - closedir(dirp); - Py_END_ALLOW_THREADS - Py_DECREF(d); - PyMem_Free(name); - return NULL; - } - v = PyString_FromStringAndSize(MBname, strlen(MBname)); - if (v == NULL) { - Py_DECREF(d); - d = NULL; - break; - } -#ifdef Py_USING_UNICODE - if (arg_is_unicode) { - PyObject *w; - - w = PyUnicode_FromEncodedObject(v, - Py_FileSystemDefaultEncoding, - "strict"); - if (w != NULL) { - Py_DECREF(v); - v = w; - } - else { - /* fall back to the original byte string, as - discussed in patch #683592 */ - PyErr_Clear(); - } - } -#endif - if (PyList_Append(d, v) != 0) { - Py_DECREF(v); - Py_DECREF(d); - d = NULL; - break; - } - Py_DECREF(v); - } - Py_BEGIN_ALLOW_THREADS - closedir(dirp); - Py_END_ALLOW_THREADS - PyMem_Free(name); - if(MBname != NULL) { - free(MBname); - } - - return d; - -} /* end of posix_listdir */ - -#ifdef MS_WINDOWS -/* A helper function for abspath on win32 */ -static PyObject * -posix__getfullpathname(PyObject *self, PyObject *args) -{ - /* assume encoded strings won't more than double no of chars */ - char inbuf[MAX_PATH*2]; - char *inbufp = inbuf; - Py_ssize_t insize = sizeof(inbuf); - char outbuf[MAX_PATH*2]; - char *temp; - - PyUnicodeObject *po; - if (PyArg_ParseTuple(args, "U|:_getfullpathname", &po)) { - Py_UNICODE *wpath = PyUnicode_AS_UNICODE(po); - Py_UNICODE woutbuf[MAX_PATH*2], *woutbufp = woutbuf; - Py_UNICODE *wtemp; - DWORD result; - PyObject *v; - result = GetFullPathNameW(wpath, - sizeof(woutbuf)/sizeof(woutbuf[0]), - woutbuf, &wtemp); - if (result > sizeof(woutbuf)/sizeof(woutbuf[0])) { - woutbufp = malloc(result * sizeof(Py_UNICODE)); - if (!woutbufp) - return PyErr_NoMemory(); - result = GetFullPathNameW(wpath, result, woutbufp, &wtemp); - } - if (result) - v = PyUnicode_FromUnicode(woutbufp, wcslen(woutbufp)); - else - v = win32_error_unicode("GetFullPathNameW", wpath); - if (woutbufp != woutbuf) - free(woutbufp); - return v; - } - /* Drop the argument parsing error as narrow strings - are also valid. */ - PyErr_Clear(); - - if (!PyArg_ParseTuple (args, "et#:_getfullpathname", - Py_FileSystemDefaultEncoding, &inbufp, - &insize)) - return NULL; - if (!GetFullPathName(inbuf, sizeof(outbuf)/sizeof(outbuf[0]), - outbuf, &temp)) - return win32_error("GetFullPathName", inbuf); - if (PyUnicode_Check(PyTuple_GetItem(args, 0))) { - return PyUnicode_Decode(outbuf, strlen(outbuf), - Py_FileSystemDefaultEncoding, NULL); - } - return PyString_FromString(outbuf); -} /* end of posix__getfullpathname */ -#endif /* MS_WINDOWS */ - -PyDoc_STRVAR(posix_mkdir__doc__, -"mkdir(path [, mode=0777])\n\n\ -Create a directory."); - -static PyObject * -posix_mkdir(PyObject *self, PyObject *args) -{ - int res; - char *path = NULL; - int mode = 0777; - - if (!PyArg_ParseTuple(args, "et|i:mkdir", - Py_FileSystemDefaultEncoding, &path, &mode)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = mkdir(path, mode); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_allocated_filename(path); - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -} - - -/* sys/resource.h is needed for at least: wait3(), wait4(), broken nice. */ -#if defined(HAVE_SYS_RESOURCE_H) -#include <sys/resource.h> -#endif - - -#ifdef HAVE_NICE -PyDoc_STRVAR(posix_nice__doc__, -"nice(inc) -> new_priority\n\n\ -Decrease the priority of process by inc and return the new priority."); - -static PyObject * -posix_nice(PyObject *self, PyObject *args) -{ - int increment, value; - - if (!PyArg_ParseTuple(args, "i:nice", &increment)) - return NULL; - - /* There are two flavours of 'nice': one that returns the new - priority (as required by almost all standards out there) and the - Linux/FreeBSD/BSDI one, which returns '0' on success and advices - the use of getpriority() to get the new priority. - - If we are of the nice family that returns the new priority, we - need to clear errno before the call, and check if errno is filled - before calling posix_error() on a returnvalue of -1, because the - -1 may be the actual new priority! */ - - errno = 0; - value = nice(increment); -#if defined(HAVE_BROKEN_NICE) && defined(HAVE_GETPRIORITY) - if (value == 0) - value = getpriority(PRIO_PROCESS, 0); -#endif - if (value == -1 && errno != 0) - /* either nice() or getpriority() returned an error */ - return posix_error(); - return PyInt_FromLong((long) value); -} -#endif /* HAVE_NICE */ - -PyDoc_STRVAR(posix_rename__doc__, -"rename(old, new)\n\n\ -Rename a file or directory."); - -static PyObject * -posix_rename(PyObject *self, PyObject *args) -{ - return posix_2str(args, "etet:rename", rename); -} - - -PyDoc_STRVAR(posix_rmdir__doc__, -"rmdir(path)\n\n\ -Remove a directory."); - -static PyObject * -posix_rmdir(PyObject *self, PyObject *args) -{ - return posix_1str(args, "et:rmdir", rmdir); -} - - -PyDoc_STRVAR(posix_stat__doc__, -"stat(path) -> stat result\n\n\ -Perform a stat system call on the given path."); - -static PyObject * -posix_stat(PyObject *self, PyObject *args) -{ - return posix_do_stat(self, args, "et:stat", STAT, NULL, NULL); -} - - -#ifdef HAVE_SYSTEM -PyDoc_STRVAR(posix_system__doc__, -"system(command) -> exit_status\n\n\ -Execute the command (a string) in a subshell."); - -static PyObject * -posix_system(PyObject *self, PyObject *args) -{ - char *command; - long sts; - if (!PyArg_ParseTuple(args, "s:system", &command)) - return NULL; - Py_BEGIN_ALLOW_THREADS - sts = system(command); - Py_END_ALLOW_THREADS - return PyInt_FromLong(sts); -} -#endif - - -PyDoc_STRVAR(posix_umask__doc__, -"umask(new_mask) -> old_mask\n\n\ -Set the current numeric umask and return the previous umask."); - -static PyObject * -posix_umask(PyObject *self, PyObject *args) -{ - int i; - if (!PyArg_ParseTuple(args, "i:umask", &i)) - return NULL; - i = (int)umask(i); - if (i < 0) - return posix_error(); - return PyInt_FromLong((long)i); -} - - -PyDoc_STRVAR(posix_unlink__doc__, -"unlink(path)\n\n\ -Remove a file (same as remove(path))."); - -PyDoc_STRVAR(posix_remove__doc__, -"remove(path)\n\n\ -Remove a file (same as unlink(path))."); - -static PyObject * -posix_unlink(PyObject *self, PyObject *args) -{ - return posix_1str(args, "et:remove", unlink); -} - - -static int -extract_time(PyObject *t, time_t* sec, long* usec) -{ - time_t intval; - if (PyFloat_Check(t)) { - double tval = PyFloat_AsDouble(t); - PyObject *intobj = PyNumber_Long(t); - if (!intobj) - return -1; -#if SIZEOF_TIME_T > SIZEOF_LONG - intval = PyInt_AsUnsignedLongLongMask(intobj); -#else - intval = PyInt_AsLong(intobj); -#endif - Py_DECREF(intobj); - if (intval == -1 && PyErr_Occurred()) - return -1; - *sec = intval; - *usec = (long)((tval - intval) * 1e6); /* can't exceed 1000000 */ - if (*usec < 0) - /* If rounding gave us a negative number, - truncate. */ - *usec = 0; - return 0; - } -#if SIZEOF_TIME_T > SIZEOF_LONG - intval = PyInt_AsUnsignedLongLongMask(t); -#else - intval = PyInt_AsLong(t); -#endif - if (intval == -1 && PyErr_Occurred()) - return -1; - *sec = intval; - *usec = 0; - return 0; -} - -PyDoc_STRVAR(posix_utime__doc__, -"utime(path, (atime, mtime))\n\ -utime(path, None)\n\n\ -Set the access and modified time of the file to the given values. If the\n\ -second form is used, set the access and modified times to the current time."); - -static PyObject * -posix_utime(PyObject *self, PyObject *args) -{ - char *path = NULL; - time_t atime, mtime; - long ausec, musec; - int res; - PyObject* arg; - -#if defined(HAVE_UTIMES) - struct timeval buf[2]; -#define ATIME buf[0].tv_sec -#define MTIME buf[1].tv_sec -#elif defined(HAVE_UTIME_H) -/* XXX should define struct utimbuf instead, above */ - struct utimbuf buf; -#define ATIME buf.actime -#define MTIME buf.modtime -#define UTIME_ARG &buf -#else /* HAVE_UTIMES */ - time_t buf[2]; -#define ATIME buf[0] -#define MTIME buf[1] -#define UTIME_ARG buf -#endif /* HAVE_UTIMES */ - - - if (!PyArg_ParseTuple(args, "etO:utime", - Py_FileSystemDefaultEncoding, &path, &arg)) - return NULL; - if (arg == Py_None) { - /* optional time values not given */ - Py_BEGIN_ALLOW_THREADS - res = utime(path, NULL); - Py_END_ALLOW_THREADS - } - else if (!PyTuple_Check(arg) || PyTuple_Size(arg) != 2) { - PyErr_SetString(PyExc_TypeError, - "utime() arg 2 must be a tuple (atime, mtime)"); - PyMem_Free(path); - return NULL; - } - else { - if (extract_time(PyTuple_GET_ITEM(arg, 0), - &atime, &ausec) == -1) { - PyMem_Free(path); - return NULL; - } - if (extract_time(PyTuple_GET_ITEM(arg, 1), - &mtime, &musec) == -1) { - PyMem_Free(path); - return NULL; - } - ATIME = atime; - MTIME = mtime; -#ifdef HAVE_UTIMES - buf[0].tv_usec = ausec; - buf[1].tv_usec = musec; - Py_BEGIN_ALLOW_THREADS - res = utimes(path, buf); - Py_END_ALLOW_THREADS -#else - Py_BEGIN_ALLOW_THREADS - res = utime(path, UTIME_ARG); - Py_END_ALLOW_THREADS -#endif /* HAVE_UTIMES */ - } - if (res < 0) { - return posix_error_with_allocated_filename(path); - } - PyMem_Free(path); - Py_INCREF(Py_None); - return Py_None; -#undef UTIME_ARG -#undef ATIME -#undef MTIME -} - - -/* Process operations */ - -PyDoc_STRVAR(posix__exit__doc__, -"_exit(status)\n\n\ -Exit to the system with specified status, without normal exit processing."); - -static PyObject * -posix__exit(PyObject *self, PyObject *args) -{ - int sts; - if (!PyArg_ParseTuple(args, "i:_exit", &sts)) - return NULL; - _Exit(sts); - return NULL; /* Make gcc -Wall happy */ -} - -#if defined(HAVE_EXECV) || defined(HAVE_SPAWNV) -static void -free_string_array(char **array, Py_ssize_t count) -{ - Py_ssize_t i; - for (i = 0; i < count; i++) - PyMem_Free(array[i]); - PyMem_DEL(array); -} -#endif - - -#ifdef HAVE_EXECV -PyDoc_STRVAR(posix_execv__doc__, -"execv(path, args)\n\n\ -Execute an executable path with arguments, replacing current process.\n\ -\n\ - path: path of executable file\n\ - args: tuple or list of strings"); - -static PyObject * -posix_execv(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv; - char **argvlist; - Py_ssize_t i, argc; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - - /* execv has two arguments: (path, argv), where - argv is a list or tuple of strings. */ - - if (!PyArg_ParseTuple(args, "etO:execv", - Py_FileSystemDefaultEncoding, - &path, &argv)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, "execv() arg 2 must be a tuple or list"); - PyMem_Free(path); - return NULL; - } - if (argc < 1) { - PyErr_SetString(PyExc_ValueError, "execv() arg 2 must not be empty"); - PyMem_Free(path); - return NULL; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyMem_Free(path); - return PyErr_NoMemory(); - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), "et", - Py_FileSystemDefaultEncoding, - &argvlist[i])) { - free_string_array(argvlist, i); - PyErr_SetString(PyExc_TypeError, - "execv() arg 2 must contain only strings"); - PyMem_Free(path); - return NULL; - - } - } - argvlist[argc] = NULL; - - execv(path, argvlist); - - /* If we get here it's definitely an error */ - - free_string_array(argvlist, argc); - PyMem_Free(path); - return posix_error(); -} - - -PyDoc_STRVAR(posix_execve__doc__, -"execve(path, args, env)\n\n\ -Execute a path with arguments and environment, replacing current process.\n\ -\n\ - path: path of executable file\n\ - args: tuple or list of arguments\n\ - env: dictionary of strings mapping to strings"); - -static PyObject * -posix_execve(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv, *env; - char **argvlist; - char **envlist; - PyObject *key, *val, *keys=NULL, *vals=NULL; - Py_ssize_t i, pos, argc, envc; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - Py_ssize_t lastarg = 0; - - /* execve has three arguments: (path, argv, env), where - argv is a list or tuple of strings and env is a dictionary - like posix.environ. */ - - if (!PyArg_ParseTuple(args, "etOO:execve", - Py_FileSystemDefaultEncoding, - &path, &argv, &env)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, - "execve() arg 2 must be a tuple or list"); - goto fail_0; - } - if (!PyMapping_Check(env)) { - PyErr_SetString(PyExc_TypeError, - "execve() arg 3 must be a mapping object"); - goto fail_0; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyErr_NoMemory(); - goto fail_0; - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), - "et;execve() arg 2 must contain only strings", - Py_FileSystemDefaultEncoding, - &argvlist[i])) - { - lastarg = i; - goto fail_1; - } - } - lastarg = argc; - argvlist[argc] = NULL; - - i = PyMapping_Size(env); - if (i < 0) - goto fail_1; - envlist = PyMem_NEW(char *, i + 1); - if (envlist == NULL) { - PyErr_NoMemory(); - goto fail_1; - } - envc = 0; - keys = PyMapping_Keys(env); - vals = PyMapping_Values(env); - if (!keys || !vals) - goto fail_2; - if (!PyList_Check(keys) || !PyList_Check(vals)) { - PyErr_SetString(PyExc_TypeError, - "execve(): env.keys() or env.values() is not a list"); - goto fail_2; - } - - for (pos = 0; pos < i; pos++) { - char *p, *k, *v; - size_t len; - - key = PyList_GetItem(keys, pos); - val = PyList_GetItem(vals, pos); - if (!key || !val) - goto fail_2; - - if (!PyArg_Parse( - key, - "s;execve() arg 3 contains a non-string key", - &k) || - !PyArg_Parse( - val, - "s;execve() arg 3 contains a non-string value", - &v)) - { - goto fail_2; - } - -#if defined(PYOS_OS2) - /* Omit Pseudo-Env Vars that Would Confuse Programs if Passed On */ - if (stricmp(k, "BEGINLIBPATH") != 0 && stricmp(k, "ENDLIBPATH") != 0) { -#endif - len = PyString_Size(key) + PyString_Size(val) + 2; - p = PyMem_NEW(char, len); - if (p == NULL) { - PyErr_NoMemory(); - goto fail_2; - } - PyOS_snprintf(p, len, "%s=%s", k, v); - envlist[envc++] = p; -#if defined(PYOS_OS2) - } -#endif - } - envlist[envc] = 0; - - execve(path, argvlist, envlist); - - /* If we get here it's definitely an error */ - - (void) posix_error(); - - fail_2: - while (--envc >= 0) - PyMem_DEL(envlist[envc]); - PyMem_DEL(envlist); - fail_1: - free_string_array(argvlist, lastarg); - Py_XDECREF(vals); - Py_XDECREF(keys); - fail_0: - PyMem_Free(path); - return NULL; -} -#endif /* HAVE_EXECV */ - - -#ifdef HAVE_SPAWNV -PyDoc_STRVAR(posix_spawnv__doc__, -"spawnv(mode, path, args)\n\n\ -Execute the program 'path' in a new process.\n\ -\n\ - mode: mode of process creation\n\ - path: path of executable file\n\ - args: tuple or list of strings"); - -static PyObject * -posix_spawnv(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv; - char **argvlist; - int mode, i; - Py_ssize_t argc; - Py_intptr_t spawnval; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - - /* spawnv has three arguments: (mode, path, argv), where - argv is a list or tuple of strings. */ - - if (!PyArg_ParseTuple(args, "ietO:spawnv", &mode, - Py_FileSystemDefaultEncoding, - &path, &argv)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, - "spawnv() arg 2 must be a tuple or list"); - PyMem_Free(path); - return NULL; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyMem_Free(path); - return PyErr_NoMemory(); - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), "et", - Py_FileSystemDefaultEncoding, - &argvlist[i])) { - free_string_array(argvlist, i); - PyErr_SetString( - PyExc_TypeError, - "spawnv() arg 2 must contain only strings"); - PyMem_Free(path); - return NULL; - } - } - argvlist[argc] = NULL; - -#if defined(PYOS_OS2) && defined(PYCC_GCC) - Py_BEGIN_ALLOW_THREADS - spawnval = spawnv(mode, path, argvlist); - Py_END_ALLOW_THREADS -#else - if (mode == _OLD_P_OVERLAY) - mode = _P_OVERLAY; - - Py_BEGIN_ALLOW_THREADS - spawnval = _spawnv(mode, path, argvlist); - Py_END_ALLOW_THREADS -#endif - - free_string_array(argvlist, argc); - PyMem_Free(path); - - if (spawnval == -1) - return posix_error(); - else -#if SIZEOF_LONG == SIZEOF_VOID_P - return Py_BuildValue("l", (long) spawnval); -#else - return Py_BuildValue("L", (PY_LONG_LONG) spawnval); -#endif -} - - -PyDoc_STRVAR(posix_spawnve__doc__, -"spawnve(mode, path, args, env)\n\n\ -Execute the program 'path' in a new process.\n\ -\n\ - mode: mode of process creation\n\ - path: path of executable file\n\ - args: tuple or list of arguments\n\ - env: dictionary of strings mapping to strings"); - -static PyObject * -posix_spawnve(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv, *env; - char **argvlist; - char **envlist; - PyObject *key, *val, *keys=NULL, *vals=NULL, *res=NULL; - int mode, pos, envc; - Py_ssize_t argc, i; - Py_intptr_t spawnval; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - Py_ssize_t lastarg = 0; - - /* spawnve has four arguments: (mode, path, argv, env), where - argv is a list or tuple of strings and env is a dictionary - like posix.environ. */ - - if (!PyArg_ParseTuple(args, "ietOO:spawnve", &mode, - Py_FileSystemDefaultEncoding, - &path, &argv, &env)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, - "spawnve() arg 2 must be a tuple or list"); - goto fail_0; - } - if (!PyMapping_Check(env)) { - PyErr_SetString(PyExc_TypeError, - "spawnve() arg 3 must be a mapping object"); - goto fail_0; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyErr_NoMemory(); - goto fail_0; - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), - "et;spawnve() arg 2 must contain only strings", - Py_FileSystemDefaultEncoding, - &argvlist[i])) - { - lastarg = i; - goto fail_1; - } - } - lastarg = argc; - argvlist[argc] = NULL; - - i = PyMapping_Size(env); - if (i < 0) - goto fail_1; - envlist = PyMem_NEW(char *, i + 1); - if (envlist == NULL) { - PyErr_NoMemory(); - goto fail_1; - } - envc = 0; - keys = PyMapping_Keys(env); - vals = PyMapping_Values(env); - if (!keys || !vals) - goto fail_2; - if (!PyList_Check(keys) || !PyList_Check(vals)) { - PyErr_SetString(PyExc_TypeError, - "spawnve(): env.keys() or env.values() is not a list"); - goto fail_2; - } - - for (pos = 0; pos < i; pos++) { - char *p, *k, *v; - size_t len; - - key = PyList_GetItem(keys, pos); - val = PyList_GetItem(vals, pos); - if (!key || !val) - goto fail_2; - - if (!PyArg_Parse( - key, - "s;spawnve() arg 3 contains a non-string key", - &k) || - !PyArg_Parse( - val, - "s;spawnve() arg 3 contains a non-string value", - &v)) - { - goto fail_2; - } - len = PyString_Size(key) + PyString_Size(val) + 2; - p = PyMem_NEW(char, len); - if (p == NULL) { - PyErr_NoMemory(); - goto fail_2; - } - PyOS_snprintf(p, len, "%s=%s", k, v); - envlist[envc++] = p; - } - envlist[envc] = 0; - -#if defined(PYOS_OS2) && defined(PYCC_GCC) - Py_BEGIN_ALLOW_THREADS - spawnval = spawnve(mode, path, argvlist, envlist); - Py_END_ALLOW_THREADS -#else - if (mode == _OLD_P_OVERLAY) - mode = _P_OVERLAY; - - Py_BEGIN_ALLOW_THREADS - spawnval = _spawnve(mode, path, argvlist, envlist); - Py_END_ALLOW_THREADS -#endif - - if (spawnval == -1) - (void) posix_error(); - else -#if SIZEOF_LONG == SIZEOF_VOID_P - res = Py_BuildValue("l", (long) spawnval); -#else - res = Py_BuildValue("L", (PY_LONG_LONG) spawnval); -#endif - - fail_2: - while (--envc >= 0) - PyMem_DEL(envlist[envc]); - PyMem_DEL(envlist); - fail_1: - free_string_array(argvlist, lastarg); - Py_XDECREF(vals); - Py_XDECREF(keys); - fail_0: - PyMem_Free(path); - return res; -} - -/* OS/2 supports spawnvp & spawnvpe natively */ -#if defined(PYOS_OS2) -PyDoc_STRVAR(posix_spawnvp__doc__, -"spawnvp(mode, file, args)\n\n\ -Execute the program 'file' in a new process, using the environment\n\ -search path to find the file.\n\ -\n\ - mode: mode of process creation\n\ - file: executable file name\n\ - args: tuple or list of strings"); - -static PyObject * -posix_spawnvp(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv; - char **argvlist; - int mode, i, argc; - Py_intptr_t spawnval; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - - /* spawnvp has three arguments: (mode, path, argv), where - argv is a list or tuple of strings. */ - - if (!PyArg_ParseTuple(args, "ietO:spawnvp", &mode, - Py_FileSystemDefaultEncoding, - &path, &argv)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, - "spawnvp() arg 2 must be a tuple or list"); - PyMem_Free(path); - return NULL; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyMem_Free(path); - return PyErr_NoMemory(); - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), "et", - Py_FileSystemDefaultEncoding, - &argvlist[i])) { - free_string_array(argvlist, i); - PyErr_SetString( - PyExc_TypeError, - "spawnvp() arg 2 must contain only strings"); - PyMem_Free(path); - return NULL; - } - } - argvlist[argc] = NULL; - - Py_BEGIN_ALLOW_THREADS -#if defined(PYCC_GCC) - spawnval = spawnvp(mode, path, argvlist); -#else - spawnval = _spawnvp(mode, path, argvlist); -#endif - Py_END_ALLOW_THREADS - - free_string_array(argvlist, argc); - PyMem_Free(path); - - if (spawnval == -1) - return posix_error(); - else - return Py_BuildValue("l", (long) spawnval); -} - - -PyDoc_STRVAR(posix_spawnvpe__doc__, -"spawnvpe(mode, file, args, env)\n\n\ -Execute the program 'file' in a new process, using the environment\n\ -search path to find the file.\n\ -\n\ - mode: mode of process creation\n\ - file: executable file name\n\ - args: tuple or list of arguments\n\ - env: dictionary of strings mapping to strings"); - -static PyObject * -posix_spawnvpe(PyObject *self, PyObject *args) -{ - char *path; - PyObject *argv, *env; - char **argvlist; - char **envlist; - PyObject *key, *val, *keys=NULL, *vals=NULL, *res=NULL; - int mode, i, pos, argc, envc; - Py_intptr_t spawnval; - PyObject *(*getitem)(PyObject *, Py_ssize_t); - int lastarg = 0; - - /* spawnvpe has four arguments: (mode, path, argv, env), where - argv is a list or tuple of strings and env is a dictionary - like posix.environ. */ - - if (!PyArg_ParseTuple(args, "ietOO:spawnvpe", &mode, - Py_FileSystemDefaultEncoding, - &path, &argv, &env)) - return NULL; - if (PyList_Check(argv)) { - argc = PyList_Size(argv); - getitem = PyList_GetItem; - } - else if (PyTuple_Check(argv)) { - argc = PyTuple_Size(argv); - getitem = PyTuple_GetItem; - } - else { - PyErr_SetString(PyExc_TypeError, - "spawnvpe() arg 2 must be a tuple or list"); - goto fail_0; - } - if (!PyMapping_Check(env)) { - PyErr_SetString(PyExc_TypeError, - "spawnvpe() arg 3 must be a mapping object"); - goto fail_0; - } - - argvlist = PyMem_NEW(char *, argc+1); - if (argvlist == NULL) { - PyErr_NoMemory(); - goto fail_0; - } - for (i = 0; i < argc; i++) { - if (!PyArg_Parse((*getitem)(argv, i), - "et;spawnvpe() arg 2 must contain only strings", - Py_FileSystemDefaultEncoding, - &argvlist[i])) - { - lastarg = i; - goto fail_1; - } - } - lastarg = argc; - argvlist[argc] = NULL; - - i = PyMapping_Size(env); - if (i < 0) - goto fail_1; - envlist = PyMem_NEW(char *, i + 1); - if (envlist == NULL) { - PyErr_NoMemory(); - goto fail_1; - } - envc = 0; - keys = PyMapping_Keys(env); - vals = PyMapping_Values(env); - if (!keys || !vals) - goto fail_2; - if (!PyList_Check(keys) || !PyList_Check(vals)) { - PyErr_SetString(PyExc_TypeError, - "spawnvpe(): env.keys() or env.values() is not a list"); - goto fail_2; - } - - for (pos = 0; pos < i; pos++) { - char *p, *k, *v; - size_t len; - - key = PyList_GetItem(keys, pos); - val = PyList_GetItem(vals, pos); - if (!key || !val) - goto fail_2; - - if (!PyArg_Parse( - key, - "s;spawnvpe() arg 3 contains a non-string key", - &k) || - !PyArg_Parse( - val, - "s;spawnvpe() arg 3 contains a non-string value", - &v)) - { - goto fail_2; - } - len = PyString_Size(key) + PyString_Size(val) + 2; - p = PyMem_NEW(char, len); - if (p == NULL) { - PyErr_NoMemory(); - goto fail_2; - } - PyOS_snprintf(p, len, "%s=%s", k, v); - envlist[envc++] = p; - } - envlist[envc] = 0; - - Py_BEGIN_ALLOW_THREADS -#if defined(PYCC_GCC) - spawnval = spawnvpe(mode, path, argvlist, envlist); -#else - spawnval = _spawnvpe(mode, path, argvlist, envlist); -#endif - Py_END_ALLOW_THREADS - - if (spawnval == -1) - (void) posix_error(); - else - res = Py_BuildValue("l", (long) spawnval); - - fail_2: - while (--envc >= 0) - PyMem_DEL(envlist[envc]); - PyMem_DEL(envlist); - fail_1: - free_string_array(argvlist, lastarg); - Py_XDECREF(vals); - Py_XDECREF(keys); - fail_0: - PyMem_Free(path); - return res; -} -#endif /* PYOS_OS2 */ -#endif /* HAVE_SPAWNV */ - - -#ifdef HAVE_FORK1 -PyDoc_STRVAR(posix_fork1__doc__, -"fork1() -> pid\n\n\ -Fork a child process with a single multiplexed (i.e., not bound) thread.\n\ -\n\ -Return 0 to child process and PID of child to parent process."); - -static PyObject * -posix_fork1(PyObject *self, PyObject *noargs) -{ - pid_t pid; - int result = 0; - _PyImport_AcquireLock(); - pid = fork1(); - if (pid == 0) { - /* child: this clobbers and resets the import lock. */ - PyOS_AfterFork(); - } else { - /* parent: release the import lock. */ - result = _PyImport_ReleaseLock(); - } - if (pid == -1) - return posix_error(); - if (result < 0) { - /* Don't clobber the OSError if the fork failed. */ - PyErr_SetString(PyExc_RuntimeError, - "not holding the import lock"); - return NULL; - } - return PyLong_FromPid(pid); -} -#endif - - -#ifdef HAVE_FORK -PyDoc_STRVAR(posix_fork__doc__, -"fork() -> pid\n\n\ -Fork a child process.\n\ -Return 0 to child process and PID of child to parent process."); - -static PyObject * -posix_fork(PyObject *self, PyObject *noargs) -{ - pid_t pid; - int result = 0; - _PyImport_AcquireLock(); - pid = fork(); - if (pid == 0) { - /* child: this clobbers and resets the import lock. */ - PyOS_AfterFork(); - } else { - /* parent: release the import lock. */ - result = _PyImport_ReleaseLock(); - } - if (pid == -1) - return posix_error(); - if (result < 0) { - /* Don't clobber the OSError if the fork failed. */ - PyErr_SetString(PyExc_RuntimeError, - "not holding the import lock"); - return NULL; - } - return PyLong_FromPid(pid); -} -#endif - -/* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */ -/* IRIX has both /dev/ptc and /dev/ptmx, use ptmx */ -#if defined(HAVE_DEV_PTC) && !defined(HAVE_DEV_PTMX) -#define DEV_PTY_FILE "/dev/ptc" -#define HAVE_DEV_PTMX -#else -#define DEV_PTY_FILE "/dev/ptmx" -#endif - -#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_DEV_PTMX) -#ifdef HAVE_PTY_H -#include <pty.h> -#else -#ifdef HAVE_LIBUTIL_H -#include <libutil.h> -#else -#ifdef HAVE_UTIL_H -#include <util.h> -#endif /* HAVE_UTIL_H */ -#endif /* HAVE_LIBUTIL_H */ -#endif /* HAVE_PTY_H */ -#ifdef HAVE_STROPTS_H -#include <stropts.h> -#endif -#endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_DEV_PTMX */ - -#if defined(HAVE_OPENPTY) || defined(HAVE__GETPTY) || defined(HAVE_DEV_PTMX) -PyDoc_STRVAR(posix_openpty__doc__, -"openpty() -> (master_fd, slave_fd)\n\n\ -Open a pseudo-terminal, returning open fd's for both master and slave end.\n"); - -static PyObject * -posix_openpty(PyObject *self, PyObject *noargs) -{ - int master_fd, slave_fd; -#ifndef HAVE_OPENPTY - char * slave_name; -#endif -#if defined(HAVE_DEV_PTMX) && !defined(HAVE_OPENPTY) && !defined(HAVE__GETPTY) - PyOS_sighandler_t sig_saved; -#ifdef sun - extern char *ptsname(int fildes); -#endif -#endif - -#ifdef HAVE_OPENPTY - if (openpty(&master_fd, &slave_fd, NULL, NULL, NULL) != 0) - return posix_error(); -#elif defined(HAVE__GETPTY) - slave_name = _getpty(&master_fd, O_RDWR, 0666, 0); - if (slave_name == NULL) - return posix_error(); - - slave_fd = open(slave_name, O_RDWR); - if (slave_fd < 0) - return posix_error(); -#else - master_fd = open(DEV_PTY_FILE, O_RDWR | O_NOCTTY); /* open master */ - if (master_fd < 0) - return posix_error(); - sig_saved = PyOS_setsig(SIGCHLD, SIG_DFL); - /* change permission of slave */ - if (grantpt(master_fd) < 0) { - PyOS_setsig(SIGCHLD, sig_saved); - return posix_error(); - } - /* unlock slave */ - if (unlockpt(master_fd) < 0) { - PyOS_setsig(SIGCHLD, sig_saved); - return posix_error(); - } - PyOS_setsig(SIGCHLD, sig_saved); - slave_name = ptsname(master_fd); /* get name of slave */ - if (slave_name == NULL) - return posix_error(); - slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */ - if (slave_fd < 0) - return posix_error(); -#if !defined(__CYGWIN__) && !defined(HAVE_DEV_PTC) - ioctl(slave_fd, I_PUSH, "ptem"); /* push ptem */ - ioctl(slave_fd, I_PUSH, "ldterm"); /* push ldterm */ -#ifndef __hpux - ioctl(slave_fd, I_PUSH, "ttcompat"); /* push ttcompat */ -#endif /* __hpux */ -#endif /* HAVE_CYGWIN */ -#endif /* HAVE_OPENPTY */ - - return Py_BuildValue("(ii)", master_fd, slave_fd); - -} -#endif /* defined(HAVE_OPENPTY) || defined(HAVE__GETPTY) || defined(HAVE_DEV_PTMX) */ - -#ifdef HAVE_FORKPTY -PyDoc_STRVAR(posix_forkpty__doc__, -"forkpty() -> (pid, master_fd)\n\n\ -Fork a new process with a new pseudo-terminal as controlling tty.\n\n\ -Like fork(), return 0 as pid to child process, and PID of child to parent.\n\ -To both, return fd of newly opened pseudo-terminal.\n"); - -static PyObject * -posix_forkpty(PyObject *self, PyObject *noargs) -{ - int master_fd = -1, result = 0; - pid_t pid; - - _PyImport_AcquireLock(); - pid = forkpty(&master_fd, NULL, NULL, NULL); - if (pid == 0) { - /* child: this clobbers and resets the import lock. */ - PyOS_AfterFork(); - } else { - /* parent: release the import lock. */ - result = _PyImport_ReleaseLock(); - } - if (pid == -1) - return posix_error(); - if (result < 0) { - /* Don't clobber the OSError if the fork failed. */ - PyErr_SetString(PyExc_RuntimeError, - "not holding the import lock"); - return NULL; - } - return Py_BuildValue("(Ni)", PyLong_FromPid(pid), master_fd); -} -#endif - -#ifdef HAVE_GETEGID -PyDoc_STRVAR(posix_getegid__doc__, -"getegid() -> egid\n\n\ -Return the current process's effective group id."); - -static PyObject * -posix_getegid(PyObject *self, PyObject *noargs) -{ - return PyInt_FromLong((long)getegid()); -} -#endif - - -#ifdef HAVE_GETEUID -PyDoc_STRVAR(posix_geteuid__doc__, -"geteuid() -> euid\n\n\ -Return the current process's effective user id."); - -static PyObject * -posix_geteuid(PyObject *self, PyObject *noargs) -{ - return PyInt_FromLong((long)geteuid()); -} -#endif - - -#ifdef HAVE_GETGID -PyDoc_STRVAR(posix_getgid__doc__, -"getgid() -> gid\n\n\ -Return the current process's group id."); - -static PyObject * -posix_getgid(PyObject *self, PyObject *noargs) -{ - return PyInt_FromLong((long)getgid()); -} -#endif - - -PyDoc_STRVAR(posix_getpid__doc__, -"getpid() -> pid\n\n\ -Return the current process id"); - -static PyObject * -posix_getpid(PyObject *self, PyObject *noargs) -{ - return PyLong_FromPid(getpid()); -} - - -#ifdef HAVE_GETGROUPS -PyDoc_STRVAR(posix_getgroups__doc__, -"getgroups() -> list of group IDs\n\n\ -Return list of supplemental group IDs for the process."); - -static PyObject * -posix_getgroups(PyObject *self, PyObject *noargs) -{ - PyObject *result = NULL; - -#ifdef NGROUPS_MAX -#define MAX_GROUPS NGROUPS_MAX -#else - /* defined to be 16 on Solaris7, so this should be a small number */ -#define MAX_GROUPS 64 -#endif - gid_t grouplist[MAX_GROUPS]; - - /* On MacOSX getgroups(2) can return more than MAX_GROUPS results - * This is a helper variable to store the intermediate result when - * that happens. - * - * To keep the code readable the OSX behaviour is unconditional, - * according to the POSIX spec this should be safe on all unix-y - * systems. - */ - gid_t* alt_grouplist = grouplist; - int n; - - n = getgroups(MAX_GROUPS, grouplist); - if (n < 0) { - if (errno == EINVAL) { - n = getgroups(0, NULL); - if (n == -1) { - return posix_error(); - } - if (n == 0) { - /* Avoid malloc(0) */ - alt_grouplist = grouplist; - } else { - alt_grouplist = PyMem_Malloc(n * sizeof(gid_t)); - if (alt_grouplist == NULL) { - errno = EINVAL; - return posix_error(); - } - n = getgroups(n, alt_grouplist); - if (n == -1) { - PyMem_Free(alt_grouplist); - return posix_error(); - } - } - } else { - return posix_error(); - } - } - result = PyList_New(n); - if (result != NULL) { - int i; - for (i = 0; i < n; ++i) { - PyObject *o = PyInt_FromLong((long)alt_grouplist[i]); - if (o == NULL) { - Py_DECREF(result); - result = NULL; - break; - } - PyList_SET_ITEM(result, i, o); - } - } - - if (alt_grouplist != grouplist) { - PyMem_Free(alt_grouplist); - } - - return result; -} -#endif - -#ifdef HAVE_INITGROUPS -PyDoc_STRVAR(posix_initgroups__doc__, -"initgroups(username, gid) -> None\n\n\ -Call the system initgroups() to initialize the group access list with all of\n\ -the groups of which the specified username is a member, plus the specified\n\ -group id."); - -static PyObject * -posix_initgroups(PyObject *self, PyObject *args) -{ - char *username; - long gid; - - if (!PyArg_ParseTuple(args, "sl:initgroups", &username, &gid)) - return NULL; - - if (initgroups(username, (gid_t) gid) == -1) - return PyErr_SetFromErrno(PyExc_OSError); - - Py_INCREF(Py_None); - return Py_None; -} -#endif - -#ifdef HAVE_GETPGID -PyDoc_STRVAR(posix_getpgid__doc__, -"getpgid(pid) -> pgid\n\n\ -Call the system call getpgid()."); - -static PyObject * -posix_getpgid(PyObject *self, PyObject *args) -{ - pid_t pid, pgid; - if (!PyArg_ParseTuple(args, PARSE_PID ":getpgid", &pid)) - return NULL; - pgid = getpgid(pid); - if (pgid < 0) - return posix_error(); - return PyLong_FromPid(pgid); -} -#endif /* HAVE_GETPGID */ - - -#ifdef HAVE_GETPGRP -PyDoc_STRVAR(posix_getpgrp__doc__, -"getpgrp() -> pgrp\n\n\ -Return the current process group id."); - -static PyObject * -posix_getpgrp(PyObject *self, PyObject *noargs) -{ -#ifdef GETPGRP_HAVE_ARG - return PyLong_FromPid(getpgrp(0)); -#else /* GETPGRP_HAVE_ARG */ - return PyLong_FromPid(getpgrp()); -#endif /* GETPGRP_HAVE_ARG */ -} -#endif /* HAVE_GETPGRP */ - - -#ifdef HAVE_SETPGRP -PyDoc_STRVAR(posix_setpgrp__doc__, -"setpgrp()\n\n\ -Make this process the process group leader."); - -static PyObject * -posix_setpgrp(PyObject *self, PyObject *noargs) -{ -#ifdef SETPGRP_HAVE_ARG - if (setpgrp(0, 0) < 0) -#else /* SETPGRP_HAVE_ARG */ - if (setpgrp() < 0) -#endif /* SETPGRP_HAVE_ARG */ - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} - -#endif /* HAVE_SETPGRP */ - -#ifdef HAVE_GETPPID -PyDoc_STRVAR(posix_getppid__doc__, -"getppid() -> ppid\n\n\ -Return the parent's process id."); - -static PyObject * -posix_getppid(PyObject *self, PyObject *noargs) -{ - return PyLong_FromPid(getppid()); -} -#endif - - -#ifdef HAVE_GETLOGIN -PyDoc_STRVAR(posix_getlogin__doc__, -"getlogin() -> string\n\n\ -Return the actual login name."); - -static PyObject * -posix_getlogin(PyObject *self, PyObject *noargs) -{ - PyObject *result = NULL; - char *name; - int old_errno = errno; - - errno = 0; - name = getlogin(); - if (name == NULL) { - if (errno) - posix_error(); - else - PyErr_SetString(PyExc_OSError, - "unable to determine login name"); - } - else - result = PyString_FromString(name); - errno = old_errno; - - return result; -} -#endif - -#ifndef UEFI_C_SOURCE -PyDoc_STRVAR(posix_getuid__doc__, -"getuid() -> uid\n\n\ -Return the current process's user id."); - -static PyObject * -posix_getuid(PyObject *self, PyObject *noargs) -{ - return PyInt_FromLong((long)getuid()); -} -#endif /* UEFI_C_SOURCE */ - -#ifdef HAVE_KILL -PyDoc_STRVAR(posix_kill__doc__, -"kill(pid, sig)\n\n\ -Kill a process with a signal."); - -static PyObject * -posix_kill(PyObject *self, PyObject *args) -{ - pid_t pid; - int sig; - if (!PyArg_ParseTuple(args, PARSE_PID "i:kill", &pid, &sig)) - return NULL; -#if defined(PYOS_OS2) && !defined(PYCC_GCC) - if (sig == XCPT_SIGNAL_INTR || sig == XCPT_SIGNAL_BREAK) { - APIRET rc; - if ((rc = DosSendSignalException(pid, sig)) != NO_ERROR) - return os2_error(rc); - - } else if (sig == XCPT_SIGNAL_KILLPROC) { - APIRET rc; - if ((rc = DosKillProcess(DKP_PROCESS, pid)) != NO_ERROR) - return os2_error(rc); - - } else - return NULL; /* Unrecognized Signal Requested */ -#else - if (kill(pid, sig) == -1) - return posix_error(); -#endif - Py_INCREF(Py_None); - return Py_None; -} -#endif - -#ifdef HAVE_KILLPG -PyDoc_STRVAR(posix_killpg__doc__, -"killpg(pgid, sig)\n\n\ -Kill a process group with a signal."); - -static PyObject * -posix_killpg(PyObject *self, PyObject *args) -{ - int sig; - pid_t pgid; - /* XXX some man pages make the `pgid` parameter an int, others - a pid_t. Since getpgrp() returns a pid_t, we assume killpg should - take the same type. Moreover, pid_t is always at least as wide as - int (else compilation of this module fails), which is safe. */ - if (!PyArg_ParseTuple(args, PARSE_PID "i:killpg", &pgid, &sig)) - return NULL; - if (killpg(pgid, sig) == -1) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif - -#ifdef HAVE_PLOCK - -#ifdef HAVE_SYS_LOCK_H -#include <sys/lock.h> -#endif - -PyDoc_STRVAR(posix_plock__doc__, -"plock(op)\n\n\ -Lock program segments into memory."); - -static PyObject * -posix_plock(PyObject *self, PyObject *args) -{ - int op; - if (!PyArg_ParseTuple(args, "i:plock", &op)) - return NULL; - if (plock(op) == -1) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif - - -#ifdef HAVE_POPEN -PyDoc_STRVAR(posix_popen__doc__, -"popen(command [, mode='r' [, bufsize]]) -> pipe\n\n\ -Open a pipe to/from a command returning a file object."); - -#if defined(PYOS_OS2) -#if defined(PYCC_VACPP) -static int -async_system(const char *command) -{ - char errormsg[256], args[1024]; - RESULTCODES rcodes; - APIRET rc; - - char *shell = getenv("COMSPEC"); - if (!shell) - shell = "cmd"; - - /* avoid overflowing the argument buffer */ - if (strlen(shell) + 3 + strlen(command) >= 1024) - return ERROR_NOT_ENOUGH_MEMORY - - args[0] = '\0'; - strcat(args, shell); - strcat(args, "/c "); - strcat(args, command); - - /* execute asynchronously, inheriting the environment */ - rc = DosExecPgm(errormsg, - sizeof(errormsg), - EXEC_ASYNC, - args, - NULL, - &rcodes, - shell); - return rc; -} - -static FILE * -popen(const char *command, const char *mode, int pipesize, int *err) -{ - int oldfd, tgtfd; - HFILE pipeh[2]; - APIRET rc; - - /* mode determines which of stdin or stdout is reconnected to - * the pipe to the child - */ - if (strchr(mode, 'r') != NULL) { - tgt_fd = 1; /* stdout */ - } else if (strchr(mode, 'w')) { - tgt_fd = 0; /* stdin */ - } else { - *err = ERROR_INVALID_ACCESS; - return NULL; - } - - /* setup the pipe */ - if ((rc = DosCreatePipe(&pipeh[0], &pipeh[1], pipesize)) != NO_ERROR) { - *err = rc; - return NULL; - } - - /* prevent other threads accessing stdio */ - DosEnterCritSec(); - - /* reconnect stdio and execute child */ - oldfd = dup(tgtfd); - close(tgtfd); - if (dup2(pipeh[tgtfd], tgtfd) == 0) { - DosClose(pipeh[tgtfd]); - rc = async_system(command); - } - - /* restore stdio */ - dup2(oldfd, tgtfd); - close(oldfd); - - /* allow other threads access to stdio */ - DosExitCritSec(); - - /* if execution of child was successful return file stream */ - if (rc == NO_ERROR) - return fdopen(pipeh[1 - tgtfd], mode); - else { - DosClose(pipeh[1 - tgtfd]); - *err = rc; - return NULL; - } -} - -static PyObject * -posix_popen(PyObject *self, PyObject *args) -{ - char *name; - char *mode = "r"; - int err, bufsize = -1; - FILE *fp; - PyObject *f; - if (!PyArg_ParseTuple(args, "s|si:popen", &name, &mode, &bufsize)) - return NULL; - Py_BEGIN_ALLOW_THREADS - fp = popen(name, mode, (bufsize > 0) ? bufsize : 4096, &err); - Py_END_ALLOW_THREADS - if (fp == NULL) - return os2_error(err); - - f = PyFile_FromFile(fp, name, mode, fclose); - if (f != NULL) - PyFile_SetBufSize(f, bufsize); - return f; -} - -#elif defined(PYCC_GCC) - -/* standard posix version of popen() support */ -static PyObject * -posix_popen(PyObject *self, PyObject *args) -{ - char *name; - char *mode = "r"; - int bufsize = -1; - FILE *fp; - PyObject *f; - if (!PyArg_ParseTuple(args, "s|si:popen", &name, &mode, &bufsize)) - return NULL; - Py_BEGIN_ALLOW_THREADS - fp = popen(name, mode); - Py_END_ALLOW_THREADS - if (fp == NULL) - return posix_error(); - f = PyFile_FromFile(fp, name, mode, pclose); - if (f != NULL) - PyFile_SetBufSize(f, bufsize); - return f; -} - -/* fork() under OS/2 has lots'o'warts - * EMX supports pipe() and spawn*() so we can synthesize popen[234]() - * most of this code is a ripoff of the win32 code, but using the - * capabilities of EMX's C library routines - */ - -/* These tell _PyPopen() whether to return 1, 2, or 3 file objects. */ -#define POPEN_1 1 -#define POPEN_2 2 -#define POPEN_3 3 -#define POPEN_4 4 - -static PyObject *_PyPopen(char *, int, int, int); -static int _PyPclose(FILE *file); - -/* - * Internal dictionary mapping popen* file pointers to process handles, - * for use when retrieving the process exit code. See _PyPclose() below - * for more information on this dictionary's use. - */ -static PyObject *_PyPopenProcs = NULL; - -/* os2emx version of popen2() - * - * The result of this function is a pipe (file) connected to the - * process's stdin, and a pipe connected to the process's stdout. - */ - -static PyObject * -os2emx_popen2(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm=0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen2", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "mode must be 't' or 'b'"); - return NULL; - } else - tm = O_BINARY; - - f = _PyPopen(cmdstring, tm, POPEN_2, bufsize); - - return f; -} - -/* - * Variation on os2emx.popen2 - * - * The result of this function is 3 pipes - the process's stdin, - * stdout and stderr - */ - -static PyObject * -os2emx_popen3(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm = 0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen3", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "mode must be 't' or 'b'"); - return NULL; - } else - tm = O_BINARY; - - f = _PyPopen(cmdstring, tm, POPEN_3, bufsize); - - return f; -} - -/* - * Variation on os2emx.popen2 - * - * The result of this function is 2 pipes - the processes stdin, - * and stdout+stderr combined as a single pipe. - */ - -static PyObject * -os2emx_popen4(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm = 0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen4", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "mode must be 't' or 'b'"); - return NULL; - } else - tm = O_BINARY; - - f = _PyPopen(cmdstring, tm, POPEN_4, bufsize); - - return f; -} - -/* a couple of structures for convenient handling of multiple - * file handles and pipes - */ -struct file_ref -{ - int handle; - int flags; -}; - -struct pipe_ref -{ - int rd; - int wr; -}; - -/* The following code is derived from the win32 code */ - -static PyObject * -_PyPopen(char *cmdstring, int mode, int n, int bufsize) -{ - struct file_ref stdio[3]; - struct pipe_ref p_fd[3]; - FILE *p_s[3]; - int file_count, i, pipe_err; - pid_t pipe_pid; - char *shell, *sh_name, *opt, *rd_mode, *wr_mode; - PyObject *f, *p_f[3]; - - /* file modes for subsequent fdopen's on pipe handles */ - if (mode == O_TEXT) - { - rd_mode = "rt"; - wr_mode = "wt"; - } - else - { - rd_mode = "rb"; - wr_mode = "wb"; - } - - /* prepare shell references */ - if ((shell = getenv("EMXSHELL")) == NULL) - if ((shell = getenv("COMSPEC")) == NULL) - { - errno = ENOENT; - return posix_error(); - } - - sh_name = _getname(shell); - if (stricmp(sh_name, "cmd.exe") == 0 || stricmp(sh_name, "4os2.exe") == 0) - opt = "/c"; - else - opt = "-c"; - - /* save current stdio fds + their flags, and set not inheritable */ - i = pipe_err = 0; - while (pipe_err >= 0 && i < 3) - { - pipe_err = stdio[i].handle = dup(i); - stdio[i].flags = fcntl(i, F_GETFD, 0); - fcntl(stdio[i].handle, F_SETFD, stdio[i].flags | FD_CLOEXEC); - i++; - } - if (pipe_err < 0) - { - /* didn't get them all saved - clean up and bail out */ - int saved_err = errno; - while (i-- > 0) - { - close(stdio[i].handle); - } - errno = saved_err; - return posix_error(); - } - - /* create pipe ends */ - file_count = 2; - if (n == POPEN_3) - file_count = 3; - i = pipe_err = 0; - while ((pipe_err == 0) && (i < file_count)) - pipe_err = pipe((int *)&p_fd[i++]); - if (pipe_err < 0) - { - /* didn't get them all made - clean up and bail out */ - while (i-- > 0) - { - close(p_fd[i].wr); - close(p_fd[i].rd); - } - errno = EPIPE; - return posix_error(); - } - - /* change the actual standard IO streams over temporarily, - * making the retained pipe ends non-inheritable - */ - pipe_err = 0; - - /* - stdin */ - if (dup2(p_fd[0].rd, 0) == 0) - { - close(p_fd[0].rd); - i = fcntl(p_fd[0].wr, F_GETFD, 0); - fcntl(p_fd[0].wr, F_SETFD, i | FD_CLOEXEC); - if ((p_s[0] = fdopen(p_fd[0].wr, wr_mode)) == NULL) - { - close(p_fd[0].wr); - pipe_err = -1; - } - } - else - { - pipe_err = -1; - } - - /* - stdout */ - if (pipe_err == 0) - { - if (dup2(p_fd[1].wr, 1) == 1) - { - close(p_fd[1].wr); - i = fcntl(p_fd[1].rd, F_GETFD, 0); - fcntl(p_fd[1].rd, F_SETFD, i | FD_CLOEXEC); - if ((p_s[1] = fdopen(p_fd[1].rd, rd_mode)) == NULL) - { - close(p_fd[1].rd); - pipe_err = -1; - } - } - else - { - pipe_err = -1; - } - } - - /* - stderr, as required */ - if (pipe_err == 0) - switch (n) - { - case POPEN_3: - { - if (dup2(p_fd[2].wr, 2) == 2) - { - close(p_fd[2].wr); - i = fcntl(p_fd[2].rd, F_GETFD, 0); - fcntl(p_fd[2].rd, F_SETFD, i | FD_CLOEXEC); - if ((p_s[2] = fdopen(p_fd[2].rd, rd_mode)) == NULL) - { - close(p_fd[2].rd); - pipe_err = -1; - } - } - else - { - pipe_err = -1; - } - break; - } - - case POPEN_4: - { - if (dup2(1, 2) != 2) - { - pipe_err = -1; - } - break; - } - } - - /* spawn the child process */ - if (pipe_err == 0) - { - pipe_pid = spawnlp(P_NOWAIT, shell, shell, opt, cmdstring, (char *)0); - if (pipe_pid == -1) - { - pipe_err = -1; - } - else - { - /* save the PID into the FILE structure - * NOTE: this implementation doesn't actually - * take advantage of this, but do it for - * completeness - AIM Apr01 - */ - for (i = 0; i < file_count; i++) - p_s[i]->_pid = pipe_pid; - } - } - - /* reset standard IO to normal */ - for (i = 0; i < 3; i++) - { - dup2(stdio[i].handle, i); - fcntl(i, F_SETFD, stdio[i].flags); - close(stdio[i].handle); - } - - /* if any remnant problems, clean up and bail out */ - if (pipe_err < 0) - { - for (i = 0; i < 3; i++) - { - close(p_fd[i].rd); - close(p_fd[i].wr); - } - errno = EPIPE; - return posix_error_with_filename(cmdstring); - } - - /* build tuple of file objects to return */ - if ((p_f[0] = PyFile_FromFile(p_s[0], cmdstring, wr_mode, _PyPclose)) != NULL) - PyFile_SetBufSize(p_f[0], bufsize); - if ((p_f[1] = PyFile_FromFile(p_s[1], cmdstring, rd_mode, _PyPclose)) != NULL) - PyFile_SetBufSize(p_f[1], bufsize); - if (n == POPEN_3) - { - if ((p_f[2] = PyFile_FromFile(p_s[2], cmdstring, rd_mode, _PyPclose)) != NULL) - PyFile_SetBufSize(p_f[0], bufsize); - f = PyTuple_Pack(3, p_f[0], p_f[1], p_f[2]); - } - else - f = PyTuple_Pack(2, p_f[0], p_f[1]); - - /* - * Insert the files we've created into the process dictionary - * all referencing the list with the process handle and the - * initial number of files (see description below in _PyPclose). - * Since if _PyPclose later tried to wait on a process when all - * handles weren't closed, it could create a deadlock with the - * child, we spend some energy here to try to ensure that we - * either insert all file handles into the dictionary or none - * at all. It's a little clumsy with the various popen modes - * and variable number of files involved. - */ - if (!_PyPopenProcs) - { - _PyPopenProcs = PyDict_New(); - } - - if (_PyPopenProcs) - { - PyObject *procObj, *pidObj, *intObj, *fileObj[3]; - int ins_rc[3]; - - fileObj[0] = fileObj[1] = fileObj[2] = NULL; - ins_rc[0] = ins_rc[1] = ins_rc[2] = 0; - - procObj = PyList_New(2); - pidObj = PyLong_FromPid(pipe_pid); - intObj = PyInt_FromLong((long) file_count); - - if (procObj && pidObj && intObj) - { - PyList_SetItem(procObj, 0, pidObj); - PyList_SetItem(procObj, 1, intObj); - - fileObj[0] = PyLong_FromVoidPtr(p_s[0]); - if (fileObj[0]) - { - ins_rc[0] = PyDict_SetItem(_PyPopenProcs, - fileObj[0], - procObj); - } - fileObj[1] = PyLong_FromVoidPtr(p_s[1]); - if (fileObj[1]) - { - ins_rc[1] = PyDict_SetItem(_PyPopenProcs, - fileObj[1], - procObj); - } - if (file_count >= 3) - { - fileObj[2] = PyLong_FromVoidPtr(p_s[2]); - if (fileObj[2]) - { - ins_rc[2] = PyDict_SetItem(_PyPopenProcs, - fileObj[2], - procObj); - } - } - - if (ins_rc[0] < 0 || !fileObj[0] || - ins_rc[1] < 0 || (file_count > 1 && !fileObj[1]) || - ins_rc[2] < 0 || (file_count > 2 && !fileObj[2])) - { - /* Something failed - remove any dictionary - * entries that did make it. - */ - if (!ins_rc[0] && fileObj[0]) - { - PyDict_DelItem(_PyPopenProcs, - fileObj[0]); - } - if (!ins_rc[1] && fileObj[1]) - { - PyDict_DelItem(_PyPopenProcs, - fileObj[1]); - } - if (!ins_rc[2] && fileObj[2]) - { - PyDict_DelItem(_PyPopenProcs, - fileObj[2]); - } - } - } - - /* - * Clean up our localized references for the dictionary keys - * and value since PyDict_SetItem will Py_INCREF any copies - * that got placed in the dictionary. - */ - Py_XDECREF(procObj); - Py_XDECREF(fileObj[0]); - Py_XDECREF(fileObj[1]); - Py_XDECREF(fileObj[2]); - } - - /* Child is launched. */ - return f; -} - -/* - * Wrapper for fclose() to use for popen* files, so we can retrieve the - * exit code for the child process and return as a result of the close. - * - * This function uses the _PyPopenProcs dictionary in order to map the - * input file pointer to information about the process that was - * originally created by the popen* call that created the file pointer. - * The dictionary uses the file pointer as a key (with one entry - * inserted for each file returned by the original popen* call) and a - * single list object as the value for all files from a single call. - * The list object contains the Win32 process handle at [0], and a file - * count at [1], which is initialized to the total number of file - * handles using that list. - * - * This function closes whichever handle it is passed, and decrements - * the file count in the dictionary for the process handle pointed to - * by this file. On the last close (when the file count reaches zero), - * this function will wait for the child process and then return its - * exit code as the result of the close() operation. This permits the - * files to be closed in any order - it is always the close() of the - * final handle that will return the exit code. - * - * NOTE: This function is currently called with the GIL released. - * hence we use the GILState API to manage our state. - */ - -static int _PyPclose(FILE *file) -{ - int result; - int exit_code; - pid_t pipe_pid; - PyObject *procObj, *pidObj, *intObj, *fileObj; - int file_count; -#ifdef WITH_THREAD - PyGILState_STATE state; -#endif - - /* Close the file handle first, to ensure it can't block the - * child from exiting if it's the last handle. - */ - result = fclose(file); - -#ifdef WITH_THREAD - state = PyGILState_Ensure(); -#endif - if (_PyPopenProcs) - { - if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && - (procObj = PyDict_GetItem(_PyPopenProcs, - fileObj)) != NULL && - (pidObj = PyList_GetItem(procObj,0)) != NULL && - (intObj = PyList_GetItem(procObj,1)) != NULL) - { - pipe_pid = (pid_t) PyLong_AsPid(pidObj); - file_count = (int) PyInt_AsLong(intObj); - - if (file_count > 1) - { - /* Still other files referencing process */ - file_count--; - PyList_SetItem(procObj,1, - PyInt_FromLong((long) file_count)); - } - else - { - /* Last file for this process */ - if (result != EOF && - waitpid(pipe_pid, &exit_code, 0) == pipe_pid) - { - /* extract exit status */ - if (WIFEXITED(exit_code)) - { - result = WEXITSTATUS(exit_code); - } - else - { - errno = EPIPE; - result = -1; - } - } - else - { - /* Indicate failure - this will cause the file object - * to raise an I/O error and translate the last - * error code from errno. We do have a problem with - * last errors that overlap the normal errno table, - * but that's a consistent problem with the file object. - */ - result = -1; - } - } - - /* Remove this file pointer from dictionary */ - PyDict_DelItem(_PyPopenProcs, fileObj); - - if (PyDict_Size(_PyPopenProcs) == 0) - { - Py_DECREF(_PyPopenProcs); - _PyPopenProcs = NULL; - } - - } /* if object retrieval ok */ - - Py_XDECREF(fileObj); - } /* if _PyPopenProcs */ - -#ifdef WITH_THREAD - PyGILState_Release(state); -#endif - return result; -} - -#endif /* PYCC_??? */ - -#elif defined(MS_WINDOWS) - -/* - * Portable 'popen' replacement for Win32. - * - * Written by Bill Tutt <billtut@...>. Minor tweaks - * and 2.0 integration by Fredrik Lundh <fredrik@...> - * Return code handling by David Bolen <db3l@...>. - */ - -#include <malloc.h> -#include <io.h> -#include <fcntl.h> - -/* These tell _PyPopen() wether to return 1, 2, or 3 file objects. */ -#define POPEN_1 1 -#define POPEN_2 2 -#define POPEN_3 3 -#define POPEN_4 4 - -static PyObject *_PyPopen(char *, int, int); -static int _PyPclose(FILE *file); - -/* - * Internal dictionary mapping popen* file pointers to process handles, - * for use when retrieving the process exit code. See _PyPclose() below - * for more information on this dictionary's use. - */ -static PyObject *_PyPopenProcs = NULL; - - -/* popen that works from a GUI. - * - * The result of this function is a pipe (file) connected to the - * processes stdin or stdout, depending on the requested mode. - */ - -static PyObject * -posix_popen(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm = 0; - - char *cmdstring; - char *mode = "r"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 'r') - tm = _O_RDONLY; - else if (*mode != 'w') { - PyErr_SetString(PyExc_ValueError, "popen() arg 2 must be 'r' or 'w'"); - return NULL; - } else - tm = _O_WRONLY; - - if (bufsize != -1) { - PyErr_SetString(PyExc_ValueError, "popen() arg 3 must be -1"); - return NULL; - } - - if (*(mode+1) == 't') - f = _PyPopen(cmdstring, tm | _O_TEXT, POPEN_1); - else if (*(mode+1) == 'b') - f = _PyPopen(cmdstring, tm | _O_BINARY, POPEN_1); - else - f = _PyPopen(cmdstring, tm | _O_TEXT, POPEN_1); - - return f; -} - -/* Variation on win32pipe.popen - * - * The result of this function is a pipe (file) connected to the - * process's stdin, and a pipe connected to the process's stdout. - */ - -static PyObject * -win32_popen2(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm=0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen2", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = _O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "popen2() arg 2 must be 't' or 'b'"); - return NULL; - } else - tm = _O_BINARY; - - if (bufsize != -1) { - PyErr_SetString(PyExc_ValueError, "popen2() arg 3 must be -1"); - return NULL; - } - - f = _PyPopen(cmdstring, tm, POPEN_2); - - return f; -} - -/* - * Variation on <om win32pipe.popen> - * - * The result of this function is 3 pipes - the process's stdin, - * stdout and stderr - */ - -static PyObject * -win32_popen3(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm = 0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen3", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = _O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "popen3() arg 2 must be 't' or 'b'"); - return NULL; - } else - tm = _O_BINARY; - - if (bufsize != -1) { - PyErr_SetString(PyExc_ValueError, "popen3() arg 3 must be -1"); - return NULL; - } - - f = _PyPopen(cmdstring, tm, POPEN_3); - - return f; -} - -/* - * Variation on win32pipe.popen - * - * The result of this function is 2 pipes - the processes stdin, - * and stdout+stderr combined as a single pipe. - */ - -static PyObject * -win32_popen4(PyObject *self, PyObject *args) -{ - PyObject *f; - int tm = 0; - - char *cmdstring; - char *mode = "t"; - int bufsize = -1; - if (!PyArg_ParseTuple(args, "s|si:popen4", &cmdstring, &mode, &bufsize)) - return NULL; - - if (*mode == 't') - tm = _O_TEXT; - else if (*mode != 'b') { - PyErr_SetString(PyExc_ValueError, "popen4() arg 2 must be 't' or 'b'"); - return NULL; - } else - tm = _O_BINARY; - - if (bufsize != -1) { - PyErr_SetString(PyExc_ValueError, "popen4() arg 3 must be -1"); - return NULL; - } - - f = _PyPopen(cmdstring, tm, POPEN_4); - - return f; -} - -static BOOL -_PyPopenCreateProcess(char *cmdstring, - HANDLE hStdin, - HANDLE hStdout, - HANDLE hStderr, - HANDLE *hProcess) -{ - PROCESS_INFORMATION piProcInfo; - STARTUPINFO siStartInfo; - DWORD dwProcessFlags = 0; /* no NEW_CONSOLE by default for Ctrl+C handling */ - char *s1,*s2, *s3 = " /c "; - const char *szConsoleSpawn = "w9xpopen.exe"; - int i; - Py_ssize_t x; - - if (i = GetEnvironmentVariable("COMSPEC",NULL,0)) { - char *comshell; - - s1 = (char *)alloca(i); - if (!(x = GetEnvironmentVariable("COMSPEC", s1, i))) - /* x < i, so x fits into an integer */ - return (int)x; - - /* Explicitly check if we are using COMMAND.COM. If we are - * then use the w9xpopen hack. - */ - comshell = s1 + x; - while (comshell >= s1 && *comshell != '\\') - --comshell; - ++comshell; - - if (GetVersion() < 0x80000000 && - _stricmp(comshell, "command.com") != 0) { - /* NT/2000 and not using command.com. */ - x = i + strlen(s3) + strlen(cmdstring) + 1; - s2 = (char *)alloca(x); - ZeroMemory(s2, x); - PyOS_snprintf(s2, x, "%s%s%s", s1, s3, cmdstring); - } - else { - /* - * Oh gag, we're on Win9x or using COMMAND.COM. Use - * the workaround listed in KB: Q150956 - */ - char modulepath[_MAX_PATH]; - struct stat statinfo; - GetModuleFileName(NULL, modulepath, sizeof(modulepath)); - for (x = i = 0; modulepath[i]; i++) - if (modulepath[i] == SEP) - x = i+1; - modulepath[x] = '\0'; - /* Create the full-name to w9xpopen, so we can test it exists */ - strncat(modulepath, - szConsoleSpawn, - (sizeof(modulepath)/sizeof(modulepath[0])) - -strlen(modulepath)); - if (stat(modulepath, &statinfo) != 0) { - size_t mplen = sizeof(modulepath)/sizeof(modulepath[0]); - /* Eeek - file-not-found - possibly an embedding - situation - see if we can locate it in sys.prefix - */ - strncpy(modulepath, - Py_GetExecPrefix(), - mplen); - modulepath[mplen-1] = '\0'; - if (modulepath[strlen(modulepath)-1] != '\\') - strcat(modulepath, "\\"); - strncat(modulepath, - szConsoleSpawn, - mplen-strlen(modulepath)); - /* No where else to look - raise an easily identifiable - error, rather than leaving Windows to report - "file not found" - as the user is probably blissfully - unaware this shim EXE is used, and it will confuse them. - (well, it confused me for a while ;-) - */ - if (stat(modulepath, &statinfo) != 0) { - PyErr_Format(PyExc_RuntimeError, - "Can not locate '%s' which is needed " - "for popen to work with your shell " - "or platform.", - szConsoleSpawn); - return FALSE; - } - } - x = i + strlen(s3) + strlen(cmdstring) + 1 + - strlen(modulepath) + - strlen(szConsoleSpawn) + 1; - - s2 = (char *)alloca(x); - ZeroMemory(s2, x); - /* To maintain correct argument passing semantics, - we pass the command-line as it stands, and allow - quoting to be applied. w9xpopen.exe will then - use its argv vector, and re-quote the necessary - args for the ultimate child process. - */ - PyOS_snprintf( - s2, x, - "\"%s\" %s%s%s", - modulepath, - s1, - s3, - cmdstring); - /* Not passing CREATE_NEW_CONSOLE has been known to - cause random failures on win9x. Specifically a - dialog: - "Your program accessed mem currently in use at xxx" - and a hopeful warning about the stability of your - system. - Cost is Ctrl+C won't kill children, but anyone - who cares can have a go! - */ - dwProcessFlags |= CREATE_NEW_CONSOLE; - } - } - - /* Could be an else here to try cmd.exe / command.com in the path - Now we'll just error out.. */ - else { - PyErr_SetString(PyExc_RuntimeError, - "Cannot locate a COMSPEC environment variable to " - "use as the shell"); - return FALSE; - } - - ZeroMemory(&siStartInfo, sizeof(STARTUPINFO)); - siStartInfo.cb = sizeof(STARTUPINFO); - siStartInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW; - siStartInfo.hStdInput = hStdin; - siStartInfo.hStdOutput = hStdout; - siStartInfo.hStdError = hStderr; - siStartInfo.wShowWindow = SW_HIDE; - - if (CreateProcess(NULL, - s2, - NULL, - NULL, - TRUE, - dwProcessFlags, - NULL, - NULL, - &siStartInfo, - &piProcInfo) ) { - /* Close the handles now so anyone waiting is woken. */ - CloseHandle(piProcInfo.hThread); - - /* Return process handle */ - *hProcess = piProcInfo.hProcess; - return TRUE; - } - win32_error("CreateProcess", s2); - return FALSE; -} - -/* The following code is based off of KB: Q190351 */ - -static PyObject * -_PyPopen(char *cmdstring, int mode, int n) -{ - HANDLE hChildStdinRd, hChildStdinWr, hChildStdoutRd, hChildStdoutWr, - hChildStderrRd, hChildStderrWr, hChildStdinWrDup, hChildStdoutRdDup, - hChildStderrRdDup, hProcess; /* hChildStdoutWrDup; */ - - SECURITY_ATTRIBUTES saAttr; - BOOL fSuccess; - int fd1, fd2, fd3; - FILE *f1, *f2, *f3; - long file_count; - PyObject *f; - - saAttr.nLength = sizeof(SECURITY_ATTRIBUTES); - saAttr.bInheritHandle = TRUE; - saAttr.lpSecurityDescriptor = NULL; - - if (!CreatePipe(&hChildStdinRd, &hChildStdinWr, &saAttr, 0)) - return win32_error("CreatePipe", NULL); - - /* Create new output read handle and the input write handle. Set - * the inheritance properties to FALSE. Otherwise, the child inherits - * these handles; resulting in non-closeable handles to the pipes - * being created. */ - fSuccess = DuplicateHandle(GetCurrentProcess(), hChildStdinWr, - GetCurrentProcess(), &hChildStdinWrDup, 0, - FALSE, - DUPLICATE_SAME_ACCESS); - if (!fSuccess) - return win32_error("DuplicateHandle", NULL); - - /* Close the inheritable version of ChildStdin - that we're using. */ - CloseHandle(hChildStdinWr); - - if (!CreatePipe(&hChildStdoutRd, &hChildStdoutWr, &saAttr, 0)) - return win32_error("CreatePipe", NULL); - - fSuccess = DuplicateHandle(GetCurrentProcess(), hChildStdoutRd, - GetCurrentProcess(), &hChildStdoutRdDup, 0, - FALSE, DUPLICATE_SAME_ACCESS); - if (!fSuccess) - return win32_error("DuplicateHandle", NULL); - - /* Close the inheritable version of ChildStdout - that we're using. */ - CloseHandle(hChildStdoutRd); - - if (n != POPEN_4) { - if (!CreatePipe(&hChildStderrRd, &hChildStderrWr, &saAttr, 0)) - return win32_error("CreatePipe", NULL); - fSuccess = DuplicateHandle(GetCurrentProcess(), - hChildStderrRd, - GetCurrentProcess(), - &hChildStderrRdDup, 0, - FALSE, DUPLICATE_SAME_ACCESS); - if (!fSuccess) - return win32_error("DuplicateHandle", NULL); - /* Close the inheritable version of ChildStdErr that we're using. */ - CloseHandle(hChildStderrRd); - } - - switch (n) { - case POPEN_1: - switch (mode & (_O_RDONLY | _O_TEXT | _O_BINARY | _O_WRONLY)) { - case _O_WRONLY | _O_TEXT: - /* Case for writing to child Stdin in text mode. */ - fd1 = _open_osfhandle((Py_intptr_t)hChildStdinWrDup, mode); - f1 = _fdopen(fd1, "w"); - f = PyFile_FromFile(f1, cmdstring, "w", _PyPclose); - PyFile_SetBufSize(f, 0); - /* We don't care about these pipes anymore, so close them. */ - CloseHandle(hChildStdoutRdDup); - CloseHandle(hChildStderrRdDup); - break; - - case _O_RDONLY | _O_TEXT: - /* Case for reading from child Stdout in text mode. */ - fd1 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode); - f1 = _fdopen(fd1, "r"); - f = PyFile_FromFile(f1, cmdstring, "r", _PyPclose); - PyFile_SetBufSize(f, 0); - /* We don't care about these pipes anymore, so close them. */ - CloseHandle(hChildStdinWrDup); - CloseHandle(hChildStderrRdDup); - break; - - case _O_RDONLY | _O_BINARY: - /* Case for readinig from child Stdout in binary mode. */ - fd1 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode); - f1 = _fdopen(fd1, "rb"); - f = PyFile_FromFile(f1, cmdstring, "rb", _PyPclose); - PyFile_SetBufSize(f, 0); - /* We don't care about these pipes anymore, so close them. */ - CloseHandle(hChildStdinWrDup); - CloseHandle(hChildStderrRdDup); - break; - - case _O_WRONLY | _O_BINARY: - /* Case for writing to child Stdin in binary mode. */ - fd1 = _open_osfhandle((Py_intptr_t)hChildStdinWrDup, mode); - f1 = _fdopen(fd1, "wb"); - f = PyFile_FromFile(f1, cmdstring, "wb", _PyPclose); - PyFile_SetBufSize(f, 0); - /* We don't care about these pipes anymore, so close them. */ - CloseHandle(hChildStdoutRdDup); - CloseHandle(hChildStderrRdDup); - break; - } - file_count = 1; - break; - - case POPEN_2: - case POPEN_4: - { - char *m1, *m2; - PyObject *p1, *p2; - - if (mode & _O_TEXT) { - m1 = "r"; - m2 = "w"; - } else { - m1 = "rb"; - m2 = "wb"; - } - - fd1 = _open_osfhandle((Py_intptr_t)hChildStdinWrDup, mode); - f1 = _fdopen(fd1, m2); - fd2 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode); - f2 = _fdopen(fd2, m1); - p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); - PyFile_SetBufSize(p1, 0); - p2 = PyFile_FromFile(f2, cmdstring, m1, _PyPclose); - PyFile_SetBufSize(p2, 0); - - if (n != 4) - CloseHandle(hChildStderrRdDup); - - f = PyTuple_Pack(2,p1,p2); - Py_XDECREF(p1); - Py_XDECREF(p2); - file_count = 2; - break; - } - - case POPEN_3: - { - char *m1, *m2; - PyObject *p1, *p2, *p3; - - if (mode & _O_TEXT) { - m1 = "r"; - m2 = "w"; - } else { - m1 = "rb"; - m2 = "wb"; - } - - fd1 = _open_osfhandle((Py_intptr_t)hChildStdinWrDup, mode); - f1 = _fdopen(fd1, m2); - fd2 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode); - f2 = _fdopen(fd2, m1); - fd3 = _open_osfhandle((Py_intptr_t)hChildStderrRdDup, mode); - f3 = _fdopen(fd3, m1); - p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); - p2 = PyFile_FromFile(f2, cmdstring, m1, _PyPclose); - p3 = PyFile_FromFile(f3, cmdstring, m1, _PyPclose); - PyFile_SetBufSize(p1, 0); - PyFile_SetBufSize(p2, 0); - PyFile_SetBufSize(p3, 0); - f = PyTuple_Pack(3,p1,p2,p3); - Py_XDECREF(p1); - Py_XDECREF(p2); - Py_XDECREF(p3); - file_count = 3; - break; - } - } - - if (n == POPEN_4) { - if (!_PyPopenCreateProcess(cmdstring, - hChildStdinRd, - hChildStdoutWr, - hChildStdoutWr, - &hProcess)) - return NULL; - } - else { - if (!_PyPopenCreateProcess(cmdstring, - hChildStdinRd, - hChildStdoutWr, - hChildStderrWr, - &hProcess)) - return NULL; - } - - /* - * Insert the files we've created into the process dictionary - * all referencing the list with the process handle and the - * initial number of files (see description below in _PyPclose). - * Since if _PyPclose later tried to wait on a process when all - * handles weren't closed, it could create a deadlock with the - * child, we spend some energy here to try to ensure that we - * either insert all file handles into the dictionary or none - * at all. It's a little clumsy with the various popen modes - * and variable number of files involved. - */ - if (!_PyPopenProcs) { - _PyPopenProcs = PyDict_New(); - } - - if (_PyPopenProcs) { - PyObject *procObj, *hProcessObj, *intObj, *fileObj[3]; - int ins_rc[3]; - - fileObj[0] = fileObj[1] = fileObj[2] = NULL; - ins_rc[0] = ins_rc[1] = ins_rc[2] = 0; - - procObj = PyList_New(2); - hProcessObj = PyLong_FromVoidPtr(hProcess); - intObj = PyInt_FromLong(file_count); - - if (procObj && hProcessObj && intObj) { - PyList_SetItem(procObj,0,hProcessObj); - PyList_SetItem(procObj,1,intObj); - - fileObj[0] = PyLong_FromVoidPtr(f1); - if (fileObj[0]) { - ins_rc[0] = PyDict_SetItem(_PyPopenProcs, - fileObj[0], - procObj); - } - if (file_count >= 2) { - fileObj[1] = PyLong_FromVoidPtr(f2); - if (fileObj[1]) { - ins_rc[1] = PyDict_SetItem(_PyPopenProcs, - fileObj[1], - procObj); - } - } - if (file_count >= 3) { - fileObj[2] = PyLong_FromVoidPtr(f3); - if (fileObj[2]) { - ins_rc[2] = PyDict_SetItem(_PyPopenProcs, - fileObj[2], - procObj); - } - } - - if (ins_rc[0] < 0 || !fileObj[0] || - ins_rc[1] < 0 || (file_count > 1 && !fileObj[1]) || - ins_rc[2] < 0 || (file_count > 2 && !fileObj[2])) { - /* Something failed - remove any dictionary - * entries that did make it. - */ - if (!ins_rc[0] && fileObj[0]) { - PyDict_DelItem(_PyPopenProcs, - fileObj[0]); - } - if (!ins_rc[1] && fileObj[1]) { - PyDict_DelItem(_PyPopenProcs, - fileObj[1]); - } - if (!ins_rc[2] && fileObj[2]) { - PyDict_DelItem(_PyPopenProcs, - fileObj[2]); - } - } - } - - /* - * Clean up our localized references for the dictionary keys - * and value since PyDict_SetItem will Py_INCREF any copies - * that got placed in the dictionary. - */ - Py_XDECREF(procObj); - Py_XDECREF(fileObj[0]); - Py_XDECREF(fileObj[1]); - Py_XDECREF(fileObj[2]); - } - - /* Child is launched. Close the parents copy of those pipe - * handles that only the child should have open. You need to - * make sure that no handles to the write end of the output pipe - * are maintained in this process or else the pipe will not close - * when the child process exits and the ReadFile will hang. */ - - if (!CloseHandle(hChildStdinRd)) - return win32_error("CloseHandle", NULL); - - if (!CloseHandle(hChildStdoutWr)) - return win32_error("CloseHandle", NULL); - - if ((n != 4) && (!CloseHandle(hChildStderrWr))) - return win32_error("CloseHandle", NULL); - - return f; -} - -/* - * Wrapper for fclose() to use for popen* files, so we can retrieve the - * exit code for the child process and return as a result of the close. - * - * This function uses the _PyPopenProcs dictionary in order to map the - * input file pointer to information about the process that was - * originally created by the popen* call that created the file pointer. - * The dictionary uses the file pointer as a key (with one entry - * inserted for each file returned by the original popen* call) and a - * single list object as the value for all files from a single call. - * The list object contains the Win32 process handle at [0], and a file - * count at [1], which is initialized to the total number of file - * handles using that list. - * - * This function closes whichever handle it is passed, and decrements - * the file count in the dictionary for the process handle pointed to - * by this file. On the last close (when the file count reaches zero), - * this function will wait for the child process and then return its - * exit code as the result of the close() operation. This permits the - * files to be closed in any order - it is always the close() of the - * final handle that will return the exit code. - * - * NOTE: This function is currently called with the GIL released. - * hence we use the GILState API to manage our state. - */ - -static int _PyPclose(FILE *file) -{ - int result; - DWORD exit_code; - HANDLE hProcess; - PyObject *procObj, *hProcessObj, *intObj, *fileObj; - long file_count; -#ifdef WITH_THREAD - PyGILState_STATE state; -#endif - - /* Close the file handle first, to ensure it can't block the - * child from exiting if it's the last handle. - */ - result = fclose(file); -#ifdef WITH_THREAD - state = PyGILState_Ensure(); -#endif - if (_PyPopenProcs) { - if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && - (procObj = PyDict_GetItem(_PyPopenProcs, - fileObj)) != NULL && - (hProcessObj = PyList_GetItem(procObj,0)) != NULL && - (intObj = PyList_GetItem(procObj,1)) != NULL) { - - hProcess = PyLong_AsVoidPtr(hProcessObj); - file_count = PyInt_AsLong(intObj); - - if (file_count > 1) { - /* Still other files referencing process */ - file_count--; - PyList_SetItem(procObj,1, - PyInt_FromLong(file_count)); - } else { - /* Last file for this process */ - if (result != EOF && - WaitForSingleObject(hProcess, INFINITE) != WAIT_FAILED && - GetExitCodeProcess(hProcess, &exit_code)) { - /* Possible truncation here in 16-bit environments, but - * real exit codes are just the lower byte in any event. - */ - result = exit_code; - } else { - /* Indicate failure - this will cause the file object - * to raise an I/O error and translate the last Win32 - * error code from errno. We do have a problem with - * last errors that overlap the normal errno table, - * but that's a consistent problem with the file object. - */ - if (result != EOF) { - /* If the error wasn't from the fclose(), then - * set errno for the file object error handling. - */ - errno = GetLastError(); - } - result = -1; - } - - /* Free up the native handle at this point */ - CloseHandle(hProcess); - } - - /* Remove this file pointer from dictionary */ - PyDict_DelItem(_PyPopenProcs, fileObj); - - if (PyDict_Size(_PyPopenProcs) == 0) { - Py_DECREF(_PyPopenProcs); - _PyPopenProcs = NULL; - } - - } /* if object retrieval ok */ - - Py_XDECREF(fileObj); - } /* if _PyPopenProcs */ - -#ifdef WITH_THREAD - PyGILState_Release(state); -#endif - return result; -} - -#else /* which OS? */ -static PyObject * -posix_popen(PyObject *self, PyObject *args) -{ - char *name; - char *mode = "r"; - int bufsize = -1; - FILE *fp; - PyObject *f; - if (!PyArg_ParseTuple(args, "s|si:popen", &name, &mode, &bufsize)) - return NULL; - /* Strip mode of binary or text modifiers */ - if (strcmp(mode, "rb") == 0 || strcmp(mode, "rt") == 0) - mode = "r"; - else if (strcmp(mode, "wb") == 0 || strcmp(mode, "wt") == 0) - mode = "w"; - Py_BEGIN_ALLOW_THREADS - fp = popen(name, mode); - Py_END_ALLOW_THREADS - if (fp == NULL) - return posix_error(); - f = PyFile_FromFile(fp, name, mode, pclose); - if (f != NULL) - PyFile_SetBufSize(f, bufsize); - return f; -} - -#endif /* PYOS_??? */ -#endif /* HAVE_POPEN */ - - -#ifdef HAVE_SETUID -PyDoc_STRVAR(posix_setuid__doc__, -"setuid(uid)\n\n\ -Set the current process's user id."); - -static PyObject * -posix_setuid(PyObject *self, PyObject *args) -{ - long uid_arg; - uid_t uid; - if (!PyArg_ParseTuple(args, "l:setuid", &uid_arg)) - return NULL; - uid = uid_arg; - if (uid != uid_arg) { - PyErr_SetString(PyExc_OverflowError, "user id too big"); - return NULL; - } - if (setuid(uid) < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_SETUID */ - - -#ifdef HAVE_SETEUID -PyDoc_STRVAR(posix_seteuid__doc__, -"seteuid(uid)\n\n\ -Set the current process's effective user id."); - -static PyObject * -posix_seteuid (PyObject *self, PyObject *args) -{ - long euid_arg; - uid_t euid; - if (!PyArg_ParseTuple(args, "l", &euid_arg)) - return NULL; - euid = euid_arg; - if (euid != euid_arg) { - PyErr_SetString(PyExc_OverflowError, "user id too big"); - return NULL; - } - if (seteuid(euid) < 0) { - return posix_error(); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} -#endif /* HAVE_SETEUID */ - -#ifdef HAVE_SETEGID -PyDoc_STRVAR(posix_setegid__doc__, -"setegid(gid)\n\n\ -Set the current process's effective group id."); - -static PyObject * -posix_setegid (PyObject *self, PyObject *args) -{ - long egid_arg; - gid_t egid; - if (!PyArg_ParseTuple(args, "l", &egid_arg)) - return NULL; - egid = egid_arg; - if (egid != egid_arg) { - PyErr_SetString(PyExc_OverflowError, "group id too big"); - return NULL; - } - if (setegid(egid) < 0) { - return posix_error(); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} -#endif /* HAVE_SETEGID */ - -#ifdef HAVE_SETREUID -PyDoc_STRVAR(posix_setreuid__doc__, -"setreuid(ruid, euid)\n\n\ -Set the current process's real and effective user ids."); - -static PyObject * -posix_setreuid (PyObject *self, PyObject *args) -{ - long ruid_arg, euid_arg; - uid_t ruid, euid; - if (!PyArg_ParseTuple(args, "ll", &ruid_arg, &euid_arg)) - return NULL; - if (ruid_arg == -1) - ruid = (uid_t)-1; /* let the compiler choose how -1 fits */ - else - ruid = ruid_arg; /* otherwise, assign from our long */ - if (euid_arg == -1) - euid = (uid_t)-1; - else - euid = euid_arg; - if ((euid_arg != -1 && euid != euid_arg) || - (ruid_arg != -1 && ruid != ruid_arg)) { - PyErr_SetString(PyExc_OverflowError, "user id too big"); - return NULL; - } - if (setreuid(ruid, euid) < 0) { - return posix_error(); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} -#endif /* HAVE_SETREUID */ - -#ifdef HAVE_SETREGID -PyDoc_STRVAR(posix_setregid__doc__, -"setregid(rgid, egid)\n\n\ -Set the current process's real and effective group ids."); - -static PyObject * -posix_setregid (PyObject *self, PyObject *args) -{ - long rgid_arg, egid_arg; - gid_t rgid, egid; - if (!PyArg_ParseTuple(args, "ll", &rgid_arg, &egid_arg)) - return NULL; - if (rgid_arg == -1) - rgid = (gid_t)-1; /* let the compiler choose how -1 fits */ - else - rgid = rgid_arg; /* otherwise, assign from our long */ - if (egid_arg == -1) - egid = (gid_t)-1; - else - egid = egid_arg; - if ((egid_arg != -1 && egid != egid_arg) || - (rgid_arg != -1 && rgid != rgid_arg)) { - PyErr_SetString(PyExc_OverflowError, "group id too big"); - return NULL; - } - if (setregid(rgid, egid) < 0) { - return posix_error(); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} -#endif /* HAVE_SETREGID */ - -#ifdef HAVE_SETGID -PyDoc_STRVAR(posix_setgid__doc__, -"setgid(gid)\n\n\ -Set the current process's group id."); - -static PyObject * -posix_setgid(PyObject *self, PyObject *args) -{ - long gid_arg; - gid_t gid; - if (!PyArg_ParseTuple(args, "l:setgid", &gid_arg)) - return NULL; - gid = gid_arg; - if (gid != gid_arg) { - PyErr_SetString(PyExc_OverflowError, "group id too big"); - return NULL; - } - if (setgid(gid) < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_SETGID */ - -#ifdef HAVE_SETGROUPS -PyDoc_STRVAR(posix_setgroups__doc__, -"setgroups(list)\n\n\ -Set the groups of the current process to list."); - -static PyObject * -posix_setgroups(PyObject *self, PyObject *groups) -{ - int i, len; - gid_t grouplist[MAX_GROUPS]; - - if (!PySequence_Check(groups)) { - PyErr_SetString(PyExc_TypeError, "setgroups argument must be a sequence"); - return NULL; - } - len = PySequence_Size(groups); - if (len > MAX_GROUPS) { - PyErr_SetString(PyExc_ValueError, "too many groups"); - return NULL; - } - for(i = 0; i < len; i++) { - PyObject *elem; - elem = PySequence_GetItem(groups, i); - if (!elem) - return NULL; - if (!PyInt_Check(elem)) { - if (!PyLong_Check(elem)) { - PyErr_SetString(PyExc_TypeError, - "groups must be integers"); - Py_DECREF(elem); - return NULL; - } else { - unsigned long x = PyLong_AsUnsignedLong(elem); - if (PyErr_Occurred()) { - PyErr_SetString(PyExc_TypeError, - "group id too big"); - Py_DECREF(elem); - return NULL; - } - grouplist[i] = x; - /* read back to see if it fits in gid_t */ - if (grouplist[i] != x) { - PyErr_SetString(PyExc_TypeError, - "group id too big"); - Py_DECREF(elem); - return NULL; - } - } - } else { - long x = PyInt_AsLong(elem); - grouplist[i] = x; - if (grouplist[i] != x) { - PyErr_SetString(PyExc_TypeError, - "group id too big"); - Py_DECREF(elem); - return NULL; - } - } - Py_DECREF(elem); - } - - if (setgroups(len, grouplist) < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_SETGROUPS */ - -#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4) -static PyObject * -wait_helper(pid_t pid, int status, struct rusage *ru) -{ - PyObject *result; - static PyObject *struct_rusage; - - if (pid == -1) - return posix_error(); - - if (struct_rusage == NULL) { - PyObject *m = PyImport_ImportModuleNoBlock("resource"); - if (m == NULL) - return NULL; - struct_rusage = PyObject_GetAttrString(m, "struct_rusage"); - Py_DECREF(m); - if (struct_rusage == NULL) - return NULL; - } - - /* XXX(nnorwitz): Copied (w/mods) from resource.c, there should be only one. */ - result = PyStructSequence_New((PyTypeObject*) struct_rusage); - if (!result) - return NULL; - -#ifndef doubletime -#define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001) -#endif - - PyStructSequence_SET_ITEM(result, 0, - PyFloat_FromDouble(doubletime(ru->ru_utime))); - PyStructSequence_SET_ITEM(result, 1, - PyFloat_FromDouble(doubletime(ru->ru_stime))); -#define SET_INT(result, index, value)\ - PyStructSequence_SET_ITEM(result, index, PyInt_FromLong(value)) - SET_INT(result, 2, ru->ru_maxrss); - SET_INT(result, 3, ru->ru_ixrss); - SET_INT(result, 4, ru->ru_idrss); - SET_INT(result, 5, ru->ru_isrss); - SET_INT(result, 6, ru->ru_minflt); - SET_INT(result, 7, ru->ru_majflt); - SET_INT(result, 8, ru->ru_nswap); - SET_INT(result, 9, ru->ru_inblock); - SET_INT(result, 10, ru->ru_oublock); - SET_INT(result, 11, ru->ru_msgsnd); - SET_INT(result, 12, ru->ru_msgrcv); - SET_INT(result, 13, ru->ru_nsignals); - SET_INT(result, 14, ru->ru_nvcsw); - SET_INT(result, 15, ru->ru_nivcsw); -#undef SET_INT - - if (PyErr_Occurred()) { - Py_DECREF(result); - return NULL; - } - - return Py_BuildValue("NiN", PyLong_FromPid(pid), status, result); -} -#endif /* HAVE_WAIT3 || HAVE_WAIT4 */ - -#ifdef HAVE_WAIT3 -PyDoc_STRVAR(posix_wait3__doc__, -"wait3(options) -> (pid, status, rusage)\n\n\ -Wait for completion of a child process."); - -static PyObject * -posix_wait3(PyObject *self, PyObject *args) -{ - pid_t pid; - int options; - struct rusage ru; - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:wait3", &options)) - return NULL; - - Py_BEGIN_ALLOW_THREADS - pid = wait3(&status, options, &ru); - Py_END_ALLOW_THREADS - - return wait_helper(pid, WAIT_STATUS_INT(status), &ru); -} -#endif /* HAVE_WAIT3 */ - -#ifdef HAVE_WAIT4 -PyDoc_STRVAR(posix_wait4__doc__, -"wait4(pid, options) -> (pid, status, rusage)\n\n\ -Wait for completion of a given child process."); - -static PyObject * -posix_wait4(PyObject *self, PyObject *args) -{ - pid_t pid; - int options; - struct rusage ru; - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, PARSE_PID "i:wait4", &pid, &options)) - return NULL; - - Py_BEGIN_ALLOW_THREADS - pid = wait4(pid, &status, options, &ru); - Py_END_ALLOW_THREADS - - return wait_helper(pid, WAIT_STATUS_INT(status), &ru); -} -#endif /* HAVE_WAIT4 */ - -#ifdef HAVE_WAITPID -PyDoc_STRVAR(posix_waitpid__doc__, -"waitpid(pid, options) -> (pid, status)\n\n\ -Wait for completion of a given child process."); - -static PyObject * -posix_waitpid(PyObject *self, PyObject *args) -{ - pid_t pid; - int options; - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, PARSE_PID "i:waitpid", &pid, &options)) - return NULL; - Py_BEGIN_ALLOW_THREADS - pid = waitpid(pid, &status, options); - Py_END_ALLOW_THREADS - if (pid == -1) - return posix_error(); - - return Py_BuildValue("Ni", PyLong_FromPid(pid), WAIT_STATUS_INT(status)); -} - -#elif defined(HAVE_CWAIT) - -/* MS C has a variant of waitpid() that's usable for most purposes. */ -PyDoc_STRVAR(posix_waitpid__doc__, -"waitpid(pid, options) -> (pid, status << 8)\n\n" -"Wait for completion of a given process. options is ignored on Windows."); - -static PyObject * -posix_waitpid(PyObject *self, PyObject *args) -{ - Py_intptr_t pid; - int status, options; - - if (!PyArg_ParseTuple(args, PARSE_PID "i:waitpid", &pid, &options)) - return NULL; - Py_BEGIN_ALLOW_THREADS - pid = _cwait(&status, pid, options); - Py_END_ALLOW_THREADS - if (pid == -1) - return posix_error(); - - /* shift the status left a byte so this is more like the POSIX waitpid */ - return Py_BuildValue("Ni", PyLong_FromPid(pid), status << 8); -} -#endif /* HAVE_WAITPID || HAVE_CWAIT */ - -#ifdef HAVE_WAIT -PyDoc_STRVAR(posix_wait__doc__, -"wait() -> (pid, status)\n\n\ -Wait for completion of a child process."); - -static PyObject * -posix_wait(PyObject *self, PyObject *noargs) -{ - pid_t pid; - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - Py_BEGIN_ALLOW_THREADS - pid = wait(&status); - Py_END_ALLOW_THREADS - if (pid == -1) - return posix_error(); - - return Py_BuildValue("Ni", PyLong_FromPid(pid), WAIT_STATUS_INT(status)); -} -#endif - - -PyDoc_STRVAR(posix_lstat__doc__, -"lstat(path) -> stat result\n\n\ -Like stat(path), but do not follow symbolic links."); - -static PyObject * -posix_lstat(PyObject *self, PyObject *args) -{ -#ifdef HAVE_LSTAT - return posix_do_stat(self, args, "et:lstat", lstat, NULL, NULL); -#else /* !HAVE_LSTAT */ - return posix_do_stat(self, args, "et:lstat", STAT, NULL, NULL); -#endif /* !HAVE_LSTAT */ -} - - -#ifdef HAVE_READLINK -PyDoc_STRVAR(posix_readlink__doc__, -"readlink(path) -> path\n\n\ -Return a string representing the path to which the symbolic link points."); - -static PyObject * -posix_readlink(PyObject *self, PyObject *args) -{ - PyObject* v; - char buf[MAXPATHLEN]; - char *path; - int n; -#ifdef Py_USING_UNICODE - int arg_is_unicode = 0; -#endif - - if (!PyArg_ParseTuple(args, "et:readlink", - Py_FileSystemDefaultEncoding, &path)) - return NULL; -#ifdef Py_USING_UNICODE - v = PySequence_GetItem(args, 0); - if (v == NULL) { - PyMem_Free(path); - return NULL; - } - - if (PyUnicode_Check(v)) { - arg_is_unicode = 1; - } - Py_DECREF(v); -#endif - - Py_BEGIN_ALLOW_THREADS - n = readlink(path, buf, (int) sizeof buf); - Py_END_ALLOW_THREADS - if (n < 0) - return posix_error_with_allocated_filename(path); - - PyMem_Free(path); - v = PyString_FromStringAndSize(buf, n); -#ifdef Py_USING_UNICODE - if (arg_is_unicode) { - PyObject *w; - - w = PyUnicode_FromEncodedObject(v, - Py_FileSystemDefaultEncoding, - "strict"); - if (w != NULL) { - Py_DECREF(v); - v = w; - } - else { - /* fall back to the original byte string, as - discussed in patch #683592 */ - PyErr_Clear(); - } - } -#endif - return v; -} -#endif /* HAVE_READLINK */ - - -#ifdef HAVE_SYMLINK -PyDoc_STRVAR(posix_symlink__doc__, -"symlink(src, dst)\n\n\ -Create a symbolic link pointing to src named dst."); - -static PyObject * -posix_symlink(PyObject *self, PyObject *args) -{ - return posix_2str(args, "etet:symlink", symlink); -} -#endif /* HAVE_SYMLINK */ - - -#ifdef HAVE_TIMES -#if defined(PYCC_VACPP) && defined(PYOS_OS2) -static long -system_uptime(void) -{ - ULONG value = 0; - - Py_BEGIN_ALLOW_THREADS - DosQuerySysInfo(QSV_MS_COUNT, QSV_MS_COUNT, &value, sizeof(value)); - Py_END_ALLOW_THREADS - - return value; -} - -static PyObject * -posix_times(PyObject *self, PyObject *noargs) -{ - /* Currently Only Uptime is Provided -- Others Later */ - return Py_BuildValue("ddddd", - (double)0 /* t.tms_utime / HZ */, - (double)0 /* t.tms_stime / HZ */, - (double)0 /* t.tms_cutime / HZ */, - (double)0 /* t.tms_cstime / HZ */, - (double)system_uptime() / 1000); -} -#else /* not OS2 */ -#define NEED_TICKS_PER_SECOND -static long ticks_per_second = -1; -static PyObject * -posix_times(PyObject *self, PyObject *noargs) -{ - struct tms t; - clock_t c; - errno = 0; - c = times(&t); - if (c == (clock_t) -1) - return posix_error(); - return Py_BuildValue("ddddd", - (double)t.tms_utime / ticks_per_second, - (double)t.tms_stime / ticks_per_second, - (double)t.tms_cutime / ticks_per_second, - (double)t.tms_cstime / ticks_per_second, - (double)c / ticks_per_second); -} -#endif /* not OS2 */ -#endif /* HAVE_TIMES */ - - -#ifdef HAVE_TIMES -PyDoc_STRVAR(posix_times__doc__, -"times() -> (utime, stime, cutime, cstime, elapsed_time)\n\n\ -Return a tuple of floating point numbers indicating process times."); -#endif - - -#ifdef HAVE_GETSID -PyDoc_STRVAR(posix_getsid__doc__, -"getsid(pid) -> sid\n\n\ -Call the system call getsid()."); - -static PyObject * -posix_getsid(PyObject *self, PyObject *args) -{ - pid_t pid; - int sid; - if (!PyArg_ParseTuple(args, PARSE_PID ":getsid", &pid)) - return NULL; - sid = getsid(pid); - if (sid < 0) - return posix_error(); - return PyInt_FromLong((long)sid); -} -#endif /* HAVE_GETSID */ - - -#ifdef HAVE_SETSID -PyDoc_STRVAR(posix_setsid__doc__, -"setsid()\n\n\ -Call the system call setsid()."); - -static PyObject * -posix_setsid(PyObject *self, PyObject *noargs) -{ - if (setsid() < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_SETSID */ - -#ifdef HAVE_SETPGID -PyDoc_STRVAR(posix_setpgid__doc__, -"setpgid(pid, pgrp)\n\n\ -Call the system call setpgid()."); - -static PyObject * -posix_setpgid(PyObject *self, PyObject *args) -{ - pid_t pid; - int pgrp; - if (!PyArg_ParseTuple(args, PARSE_PID "i:setpgid", &pid, &pgrp)) - return NULL; - if (setpgid(pid, pgrp) < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_SETPGID */ - - -#ifdef HAVE_TCGETPGRP -PyDoc_STRVAR(posix_tcgetpgrp__doc__, -"tcgetpgrp(fd) -> pgid\n\n\ -Return the process group associated with the terminal given by a fd."); - -static PyObject * -posix_tcgetpgrp(PyObject *self, PyObject *args) -{ - int fd; - pid_t pgid; - if (!PyArg_ParseTuple(args, "i:tcgetpgrp", &fd)) - return NULL; - pgid = tcgetpgrp(fd); - if (pgid < 0) - return posix_error(); - return PyLong_FromPid(pgid); -} -#endif /* HAVE_TCGETPGRP */ - - -#ifdef HAVE_TCSETPGRP -PyDoc_STRVAR(posix_tcsetpgrp__doc__, -"tcsetpgrp(fd, pgid)\n\n\ -Set the process group associated with the terminal given by a fd."); - -static PyObject * -posix_tcsetpgrp(PyObject *self, PyObject *args) -{ - int fd; - pid_t pgid; - if (!PyArg_ParseTuple(args, "i" PARSE_PID ":tcsetpgrp", &fd, &pgid)) - return NULL; - if (tcsetpgrp(fd, pgid) < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif /* HAVE_TCSETPGRP */ - -/* Functions acting on file descriptors */ - -PyDoc_STRVAR(posix_open__doc__, -"open(filename, flag [, mode=0777]) -> fd\n\n\ -Open a file (for low level IO)."); - -static PyObject * -posix_open(PyObject *self, PyObject *args) -{ - char *file = NULL; - int flag; - int mode = 0777; - int fd; - - if (!PyArg_ParseTuple(args, "eti|i", - Py_FileSystemDefaultEncoding, &file, - &flag, &mode)) - return NULL; - - Py_BEGIN_ALLOW_THREADS - fd = open(file, flag, mode); - Py_END_ALLOW_THREADS - if (fd < 0) - return posix_error_with_allocated_filename(file); - PyMem_Free(file); - return PyInt_FromLong((long)fd); -} - - -PyDoc_STRVAR(posix_close__doc__, -"close(fd)\n\n\ -Close a file descriptor (for low level IO)."); - -static PyObject * -posix_close(PyObject *self, PyObject *args) -{ - int fd, res; - if (!PyArg_ParseTuple(args, "i:close", &fd)) - return NULL; - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - res = close(fd); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} - - -PyDoc_STRVAR(posix_closerange__doc__, -"closerange(fd_low, fd_high)\n\n\ -Closes all file descriptors in [fd_low, fd_high), ignoring errors."); - -static PyObject * -posix_closerange(PyObject *self, PyObject *args) -{ - int fd_from, fd_to, i; - if (!PyArg_ParseTuple(args, "ii:closerange", &fd_from, &fd_to)) - return NULL; - Py_BEGIN_ALLOW_THREADS - for (i = fd_from; i < fd_to; i++) - if (_PyVerify_fd(i)) - close(i); - Py_END_ALLOW_THREADS - Py_RETURN_NONE; -} - - -PyDoc_STRVAR(posix_dup__doc__, -"dup(fd) -> fd2\n\n\ -Return a duplicate of a file descriptor."); - -static PyObject * -posix_dup(PyObject *self, PyObject *args) -{ - int fd; - if (!PyArg_ParseTuple(args, "i:dup", &fd)) - return NULL; - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - fd = dup(fd); - Py_END_ALLOW_THREADS - if (fd < 0) - return posix_error(); - return PyInt_FromLong((long)fd); -} - - -PyDoc_STRVAR(posix_dup2__doc__, -"dup2(old_fd, new_fd)\n\n\ -Duplicate file descriptor."); - -static PyObject * -posix_dup2(PyObject *self, PyObject *args) -{ - int fd, fd2, res; - if (!PyArg_ParseTuple(args, "ii:dup2", &fd, &fd2)) - return NULL; - if (!_PyVerify_fd_dup2(fd, fd2)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - res = dup2(fd, fd2); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} - - -PyDoc_STRVAR(posix_lseek__doc__, -"lseek(fd, pos, how) -> newpos\n\n\ -Set the current position of a file descriptor."); - -static PyObject * -posix_lseek(PyObject *self, PyObject *args) -{ - int fd, how; - off_t pos, res; - PyObject *posobj; - if (!PyArg_ParseTuple(args, "iOi:lseek", &fd, &posobj, &how)) - return NULL; -#ifdef SEEK_SET - /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */ - switch (how) { - case 0: how = SEEK_SET; break; - case 1: how = SEEK_CUR; break; - case 2: how = SEEK_END; break; - } -#endif /* SEEK_END */ - -#if !defined(HAVE_LARGEFILE_SUPPORT) - pos = PyInt_AsLong(posobj); -#else - pos = PyLong_Check(posobj) ? - PyLong_AsLongLong(posobj) : PyInt_AsLong(posobj); -#endif - if (PyErr_Occurred()) - return NULL; - - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - res = lseek(fd, pos, how); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - -#if !defined(HAVE_LARGEFILE_SUPPORT) - return PyInt_FromLong(res); -#else - return PyLong_FromLongLong(res); -#endif -} - - -PyDoc_STRVAR(posix_read__doc__, -"read(fd, buffersize) -> string\n\n\ -Read a file descriptor."); - -static PyObject * -posix_read(PyObject *self, PyObject *args) -{ - int fd, size, n; - PyObject *buffer; - if (!PyArg_ParseTuple(args, "ii:read", &fd, &size)) - return NULL; - if (size < 0) { - errno = EINVAL; - return posix_error(); - } - buffer = PyString_FromStringAndSize((char *)NULL, size); - if (buffer == NULL) - return NULL; - if (!_PyVerify_fd(fd)) { - Py_DECREF(buffer); - return posix_error(); - } - Py_BEGIN_ALLOW_THREADS - n = read(fd, PyString_AsString(buffer), size); - Py_END_ALLOW_THREADS - if (n < 0) { - Py_DECREF(buffer); - return posix_error(); - } - if (n != size) - _PyString_Resize(&buffer, n); - return buffer; -} - - -PyDoc_STRVAR(posix_write__doc__, -"write(fd, string) -> byteswritten\n\n\ -Write a string to a file descriptor."); - -static PyObject * -posix_write(PyObject *self, PyObject *args) -{ - Py_buffer pbuf; - int fd; - Py_ssize_t size; - - if (!PyArg_ParseTuple(args, "is*:write", &fd, &pbuf)) - return NULL; - if (!_PyVerify_fd(fd)) { - PyBuffer_Release(&pbuf); - return posix_error(); - } - Py_BEGIN_ALLOW_THREADS - size = write(fd, pbuf.buf, (size_t)pbuf.len); - Py_END_ALLOW_THREADS - PyBuffer_Release(&pbuf); - if (size < 0) - return posix_error(); - return PyInt_FromSsize_t(size); -} - - -PyDoc_STRVAR(posix_fstat__doc__, -"fstat(fd) -> stat result\n\n\ -Like stat(), but for an open file descriptor."); - -static PyObject * -posix_fstat(PyObject *self, PyObject *args) -{ - int fd; - STRUCT_STAT st; - int res; - if (!PyArg_ParseTuple(args, "i:fstat", &fd)) - return NULL; - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS - res = FSTAT(fd, &st); - Py_END_ALLOW_THREADS - if (res != 0) { - return posix_error(); - } - - return _pystat_fromstructstat(&st); -} - - -PyDoc_STRVAR(posix_fdopen__doc__, -"fdopen(fd [, mode='r' [, bufsize]]) -> file_object\n\n\ -Return an open file object connected to a file descriptor."); - -static PyObject * -posix_fdopen(PyObject *self, PyObject *args) -{ - int fd; - char *orgmode = "r"; - int bufsize = -1; - FILE *fp; - PyObject *f; - char *mode; - if (!PyArg_ParseTuple(args, "i|si", &fd, &orgmode, &bufsize)) - return NULL; - - /* Sanitize mode. See fileobject.c */ - mode = PyMem_MALLOC(strlen(orgmode)+3); - if (!mode) { - PyErr_NoMemory(); - return NULL; - } - strcpy(mode, orgmode); - if (_PyFile_SanitizeMode(mode)) { - PyMem_FREE(mode); - return NULL; - } - if (!_PyVerify_fd(fd)) - return posix_error(); - Py_BEGIN_ALLOW_THREADS -#if !defined(MS_WINDOWS) && defined(HAVE_FCNTL_H) - if (mode[0] == 'a') { - /* try to make sure the O_APPEND flag is set */ - int flags; - flags = fcntl(fd, F_GETFL); - if (flags != -1) - fcntl(fd, F_SETFL, flags | O_APPEND); - fp = fdopen(fd, mode); - if (fp == NULL && flags != -1) - /* restore old mode if fdopen failed */ - fcntl(fd, F_SETFL, flags); - } else { - fp = fdopen(fd, mode); - } -#else - fp = fdopen(fd, mode); -#endif - Py_END_ALLOW_THREADS - PyMem_FREE(mode); - if (fp == NULL) - return posix_error(); - f = PyFile_FromFile(fp, "<fdopen>", orgmode, fclose); - if (f != NULL) - PyFile_SetBufSize(f, bufsize); - return f; -} - -PyDoc_STRVAR(posix_isatty__doc__, -"isatty(fd) -> bool\n\n\ -Return True if the file descriptor 'fd' is an open file descriptor\n\ -connected to the slave end of a terminal."); - -static PyObject * -posix_isatty(PyObject *self, PyObject *args) -{ - int fd; - if (!PyArg_ParseTuple(args, "i:isatty", &fd)) - return NULL; - if (!_PyVerify_fd(fd)) - return PyBool_FromLong(0); - return PyBool_FromLong(isatty(fd)); -} - -#ifdef HAVE_PIPE -PyDoc_STRVAR(posix_pipe__doc__, -"pipe() -> (read_end, write_end)\n\n\ -Create a pipe."); - -static PyObject * -posix_pipe(PyObject *self, PyObject *noargs) -{ -#if defined(PYOS_OS2) - HFILE read, write; - APIRET rc; - - Py_BEGIN_ALLOW_THREADS - rc = DosCreatePipe( &read, &write, 4096); - Py_END_ALLOW_THREADS - if (rc != NO_ERROR) - return os2_error(rc); - - return Py_BuildValue("(ii)", read, write); -#else -#if !defined(MS_WINDOWS) - int fds[2]; - int res; - Py_BEGIN_ALLOW_THREADS - res = pipe(fds); - Py_END_ALLOW_THREADS - if (res != 0) - return posix_error(); - return Py_BuildValue("(ii)", fds[0], fds[1]); -#else /* MS_WINDOWS */ - HANDLE read, write; - int read_fd, write_fd; - BOOL ok; - Py_BEGIN_ALLOW_THREADS - ok = CreatePipe(&read, &write, NULL, 0); - Py_END_ALLOW_THREADS - if (!ok) - return win32_error("CreatePipe", NULL); - read_fd = _open_osfhandle((Py_intptr_t)read, 0); - write_fd = _open_osfhandle((Py_intptr_t)write, 1); - return Py_BuildValue("(ii)", read_fd, write_fd); -#endif /* MS_WINDOWS */ -#endif -} -#endif /* HAVE_PIPE */ - - -#ifdef HAVE_MKFIFO -PyDoc_STRVAR(posix_mkfifo__doc__, -"mkfifo(filename [, mode=0666])\n\n\ -Create a FIFO (a POSIX named pipe)."); - -static PyObject * -posix_mkfifo(PyObject *self, PyObject *args) -{ - char *filename; - int mode = 0666; - int res; - if (!PyArg_ParseTuple(args, "s|i:mkfifo", &filename, &mode)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = mkfifo(filename, mode); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif - - -#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV) -PyDoc_STRVAR(posix_mknod__doc__, -"mknod(filename [, mode=0600, device])\n\n\ -Create a filesystem node (file, device special file or named pipe)\n\ -named filename. mode specifies both the permissions to use and the\n\ -type of node to be created, being combined (bitwise OR) with one of\n\ -S_IFREG, S_IFCHR, S_IFBLK, and S_IFIFO. For S_IFCHR and S_IFBLK,\n\ -device defines the newly created device special file (probably using\n\ -os.makedev()), otherwise it is ignored."); - - -static PyObject * -posix_mknod(PyObject *self, PyObject *args) -{ - char *filename; - int mode = 0600; - int device = 0; - int res; - if (!PyArg_ParseTuple(args, "s|ii:mknod", &filename, &mode, &device)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = mknod(filename, mode, device); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif - -#ifdef HAVE_DEVICE_MACROS -PyDoc_STRVAR(posix_major__doc__, -"major(device) -> major number\n\ -Extracts a device major number from a raw device number."); - -static PyObject * -posix_major(PyObject *self, PyObject *args) -{ - int device; - if (!PyArg_ParseTuple(args, "i:major", &device)) - return NULL; - return PyInt_FromLong((long)major(device)); -} - -PyDoc_STRVAR(posix_minor__doc__, -"minor(device) -> minor number\n\ -Extracts a device minor number from a raw device number."); - -static PyObject * -posix_minor(PyObject *self, PyObject *args) -{ - int device; - if (!PyArg_ParseTuple(args, "i:minor", &device)) - return NULL; - return PyInt_FromLong((long)minor(device)); -} - -PyDoc_STRVAR(posix_makedev__doc__, -"makedev(major, minor) -> device number\n\ -Composes a raw device number from the major and minor device numbers."); - -static PyObject * -posix_makedev(PyObject *self, PyObject *args) -{ - int major, minor; - if (!PyArg_ParseTuple(args, "ii:makedev", &major, &minor)) - return NULL; - return PyInt_FromLong((long)makedev(major, minor)); -} -#endif /* device macros */ - - -#ifdef HAVE_FTRUNCATE -PyDoc_STRVAR(posix_ftruncate__doc__, -"ftruncate(fd, length)\n\n\ -Truncate a file to a specified length."); - -static PyObject * -posix_ftruncate(PyObject *self, PyObject *args) -{ - int fd; - off_t length; - int res; - PyObject *lenobj; - - if (!PyArg_ParseTuple(args, "iO:ftruncate", &fd, &lenobj)) - return NULL; - -#if !defined(HAVE_LARGEFILE_SUPPORT) - length = PyInt_AsLong(lenobj); -#else - length = PyLong_Check(lenobj) ? - PyLong_AsLongLong(lenobj) : PyInt_AsLong(lenobj); -#endif - if (PyErr_Occurred()) - return NULL; - - Py_BEGIN_ALLOW_THREADS - res = ftruncate(fd, length); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error(); - Py_INCREF(Py_None); - return Py_None; -} -#endif - -#ifdef HAVE_PUTENV -PyDoc_STRVAR(posix_putenv__doc__, -"putenv(key, value)\n\n\ -Change or add an environment variable."); - -/* Save putenv() parameters as values here, so we can collect them when they - * get re-set with another call for the same key. */ -static PyObject *posix_putenv_garbage; - -static PyObject * -posix_putenv(PyObject *self, PyObject *args) -{ - char *s1, *s2; - char *newenv; - PyObject *newstr; - size_t len; - - if (!PyArg_ParseTuple(args, "ss:putenv", &s1, &s2)) - return NULL; - -#if defined(PYOS_OS2) - if (stricmp(s1, "BEGINLIBPATH") == 0) { - APIRET rc; - - rc = DosSetExtLIBPATH(s2, BEGIN_LIBPATH); - if (rc != NO_ERROR) - return os2_error(rc); - - } else if (stricmp(s1, "ENDLIBPATH") == 0) { - APIRET rc; - - rc = DosSetExtLIBPATH(s2, END_LIBPATH); - if (rc != NO_ERROR) - return os2_error(rc); - } else { -#endif - - /* XXX This can leak memory -- not easy to fix :-( */ - len = strlen(s1) + strlen(s2) + 2; - /* len includes space for a trailing \0; the size arg to - PyString_FromStringAndSize does not count that */ - newstr = PyString_FromStringAndSize(NULL, (int)len - 1); - if (newstr == NULL) - return PyErr_NoMemory(); - newenv = PyString_AS_STRING(newstr); - PyOS_snprintf(newenv, len, "%s=%s", s1, s2); - if (putenv(newenv)) { - Py_DECREF(newstr); - posix_error(); - return NULL; - } - /* Install the first arg and newstr in posix_putenv_garbage; - * this will cause previous value to be collected. This has to - * happen after the real putenv() call because the old value - * was still accessible until then. */ - if (PyDict_SetItem(posix_putenv_garbage, - PyTuple_GET_ITEM(args, 0), newstr)) { - /* really not much we can do; just leak */ - PyErr_Clear(); - } - else { - Py_DECREF(newstr); - } - -#if defined(PYOS_OS2) - } -#endif - Py_INCREF(Py_None); - return Py_None; -} -#endif /* putenv */ - -#ifdef HAVE_UNSETENV -PyDoc_STRVAR(posix_unsetenv__doc__, -"unsetenv(key)\n\n\ -Delete an environment variable."); - -static PyObject * -posix_unsetenv(PyObject *self, PyObject *args) -{ - char *s1; - - if (!PyArg_ParseTuple(args, "s:unsetenv", &s1)) - return NULL; - - unsetenv(s1); - - /* Remove the key from posix_putenv_garbage; - * this will cause it to be collected. This has to - * happen after the real unsetenv() call because the - * old value was still accessible until then. - */ - if (PyDict_DelItem(posix_putenv_garbage, - PyTuple_GET_ITEM(args, 0))) { - /* really not much we can do; just leak */ - PyErr_Clear(); - } - - Py_INCREF(Py_None); - return Py_None; -} -#endif /* unsetenv */ - -PyDoc_STRVAR(posix_strerror__doc__, -"strerror(code) -> string\n\n\ -Translate an error code to a message string."); - -static PyObject * -posix_strerror(PyObject *self, PyObject *args) -{ - int code; - char *message; - if (!PyArg_ParseTuple(args, "i:strerror", &code)) - return NULL; - message = strerror(code); - if (message == NULL) { - PyErr_SetString(PyExc_ValueError, - "strerror() argument out of range"); - return NULL; - } - return PyString_FromString(message); -} - - -#ifdef HAVE_SYS_WAIT_H - -#ifdef WCOREDUMP -PyDoc_STRVAR(posix_WCOREDUMP__doc__, -"WCOREDUMP(status) -> bool\n\n\ -Return True if the process returning 'status' was dumped to a core file."); - -static PyObject * -posix_WCOREDUMP(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WCOREDUMP", &WAIT_STATUS_INT(status))) - return NULL; - - return PyBool_FromLong(WCOREDUMP(status)); -} -#endif /* WCOREDUMP */ - -#ifdef WIFCONTINUED -PyDoc_STRVAR(posix_WIFCONTINUED__doc__, -"WIFCONTINUED(status) -> bool\n\n\ -Return True if the process returning 'status' was continued from a\n\ -job control stop."); - -static PyObject * -posix_WIFCONTINUED(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WCONTINUED", &WAIT_STATUS_INT(status))) - return NULL; - - return PyBool_FromLong(WIFCONTINUED(status)); -} -#endif /* WIFCONTINUED */ - -#ifdef WIFSTOPPED -PyDoc_STRVAR(posix_WIFSTOPPED__doc__, -"WIFSTOPPED(status) -> bool\n\n\ -Return True if the process returning 'status' was stopped."); - -static PyObject * -posix_WIFSTOPPED(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WIFSTOPPED", &WAIT_STATUS_INT(status))) - return NULL; - - return PyBool_FromLong(WIFSTOPPED(status)); -} -#endif /* WIFSTOPPED */ - -#ifdef WIFSIGNALED -PyDoc_STRVAR(posix_WIFSIGNALED__doc__, -"WIFSIGNALED(status) -> bool\n\n\ -Return True if the process returning 'status' was terminated by a signal."); - -static PyObject * -posix_WIFSIGNALED(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WIFSIGNALED", &WAIT_STATUS_INT(status))) - return NULL; - - return PyBool_FromLong(WIFSIGNALED(status)); -} -#endif /* WIFSIGNALED */ - -#ifdef WIFEXITED -PyDoc_STRVAR(posix_WIFEXITED__doc__, -"WIFEXITED(status) -> bool\n\n\ -Return true if the process returning 'status' exited using the exit()\n\ -system call."); - -static PyObject * -posix_WIFEXITED(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WIFEXITED", &WAIT_STATUS_INT(status))) - return NULL; - - return PyBool_FromLong(WIFEXITED(status)); -} -#endif /* WIFEXITED */ - -#ifdef WEXITSTATUS -PyDoc_STRVAR(posix_WEXITSTATUS__doc__, -"WEXITSTATUS(status) -> integer\n\n\ -Return the process return code from 'status'."); - -static PyObject * -posix_WEXITSTATUS(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WEXITSTATUS", &WAIT_STATUS_INT(status))) - return NULL; - - return Py_BuildValue("i", WEXITSTATUS(status)); -} -#endif /* WEXITSTATUS */ - -#ifdef WTERMSIG -PyDoc_STRVAR(posix_WTERMSIG__doc__, -"WTERMSIG(status) -> integer\n\n\ -Return the signal that terminated the process that provided the 'status'\n\ -value."); - -static PyObject * -posix_WTERMSIG(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WTERMSIG", &WAIT_STATUS_INT(status))) - return NULL; - - return Py_BuildValue("i", WTERMSIG(status)); -} -#endif /* WTERMSIG */ - -#ifdef WSTOPSIG -PyDoc_STRVAR(posix_WSTOPSIG__doc__, -"WSTOPSIG(status) -> integer\n\n\ -Return the signal that stopped the process that provided\n\ -the 'status' value."); - -static PyObject * -posix_WSTOPSIG(PyObject *self, PyObject *args) -{ - WAIT_TYPE status; - WAIT_STATUS_INT(status) = 0; - - if (!PyArg_ParseTuple(args, "i:WSTOPSIG", &WAIT_STATUS_INT(status))) - return NULL; - - return Py_BuildValue("i", WSTOPSIG(status)); -} -#endif /* WSTOPSIG */ - -#endif /* HAVE_SYS_WAIT_H */ - - -#if defined(HAVE_FSTATVFS) && defined(HAVE_SYS_STATVFS_H) -#ifdef _SCO_DS -/* SCO OpenServer 5.0 and later requires _SVID3 before it reveals the - needed definitions in sys/statvfs.h */ -#define _SVID3 -#endif -#include <sys/statvfs.h> - -static PyObject* -_pystatvfs_fromstructstatvfs(struct statvfs st) { - PyObject *v = PyStructSequence_New(&StatVFSResultType); - if (v == NULL) - return NULL; - -#if !defined(HAVE_LARGEFILE_SUPPORT) - PyStructSequence_SET_ITEM(v, 0, PyInt_FromLong((long) st.f_bsize)); - PyStructSequence_SET_ITEM(v, 1, PyInt_FromLong((long) st.f_frsize)); - PyStructSequence_SET_ITEM(v, 2, PyInt_FromLong((long) st.f_blocks)); - PyStructSequence_SET_ITEM(v, 3, PyInt_FromLong((long) st.f_bfree)); - PyStructSequence_SET_ITEM(v, 4, PyInt_FromLong((long) st.f_bavail)); - PyStructSequence_SET_ITEM(v, 5, PyInt_FromLong((long) st.f_files)); - PyStructSequence_SET_ITEM(v, 6, PyInt_FromLong((long) st.f_ffree)); - PyStructSequence_SET_ITEM(v, 7, PyInt_FromLong((long) st.f_favail)); - PyStructSequence_SET_ITEM(v, 8, PyInt_FromLong((long) st.f_flag)); - PyStructSequence_SET_ITEM(v, 9, PyInt_FromLong((long) st.f_namemax)); -#else - PyStructSequence_SET_ITEM(v, 0, PyInt_FromLong((long) st.f_bsize)); - PyStructSequence_SET_ITEM(v, 1, PyInt_FromLong((long) st.f_frsize)); - PyStructSequence_SET_ITEM(v, 2, - PyLong_FromLongLong((PY_LONG_LONG) st.f_blocks)); - PyStructSequence_SET_ITEM(v, 3, - PyLong_FromLongLong((PY_LONG_LONG) st.f_bfree)); - PyStructSequence_SET_ITEM(v, 4, - PyLong_FromLongLong((PY_LONG_LONG) st.f_bavail)); - PyStructSequence_SET_ITEM(v, 5, - PyLong_FromLongLong((PY_LONG_LONG) st.f_files)); - PyStructSequence_SET_ITEM(v, 6, - PyLong_FromLongLong((PY_LONG_LONG) st.f_ffree)); - PyStructSequence_SET_ITEM(v, 7, - PyLong_FromLongLong((PY_LONG_LONG) st.f_favail)); - PyStructSequence_SET_ITEM(v, 8, PyInt_FromLong((long) st.f_flag)); - PyStructSequence_SET_ITEM(v, 9, PyInt_FromLong((long) st.f_namemax)); -#endif - - return v; -} - -PyDoc_STRVAR(posix_fstatvfs__doc__, -"fstatvfs(fd) -> statvfs result\n\n\ -Perform an fstatvfs system call on the given fd."); - -static PyObject * -posix_fstatvfs(PyObject *self, PyObject *args) -{ - int fd, res; - struct statvfs st; - - if (!PyArg_ParseTuple(args, "i:fstatvfs", &fd)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = fstatvfs(fd, &st); - Py_END_ALLOW_THREADS - if (res != 0) - return posix_error(); - - return _pystatvfs_fromstructstatvfs(st); -} -#endif /* HAVE_FSTATVFS && HAVE_SYS_STATVFS_H */ - - -#if defined(HAVE_STATVFS) && defined(HAVE_SYS_STATVFS_H) -#include <sys/statvfs.h> - -PyDoc_STRVAR(posix_statvfs__doc__, -"statvfs(path) -> statvfs result\n\n\ -Perform a statvfs system call on the given path."); - -static PyObject * -posix_statvfs(PyObject *self, PyObject *args) -{ - char *path; - int res; - struct statvfs st; - if (!PyArg_ParseTuple(args, "s:statvfs", &path)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = statvfs(path, &st); - Py_END_ALLOW_THREADS - if (res != 0) - return posix_error_with_filename(path); - - return _pystatvfs_fromstructstatvfs(st); -} -#endif /* HAVE_STATVFS */ - - -#ifdef HAVE_TEMPNAM -PyDoc_STRVAR(posix_tempnam__doc__, -"tempnam([dir[, prefix]]) -> string\n\n\ -Return a unique name for a temporary file.\n\ -The directory and a prefix may be specified as strings; they may be omitted\n\ -or None if not needed."); - -static PyObject * -posix_tempnam(PyObject *self, PyObject *args) -{ - PyObject *result = NULL; - char *dir = NULL; - char *pfx = NULL; - char *name; - - if (!PyArg_ParseTuple(args, "|zz:tempnam", &dir, &pfx)) - return NULL; - - if (PyErr_Warn(PyExc_RuntimeWarning, - "tempnam is a potential security risk to your program") < 0) - return NULL; - - if (PyErr_WarnPy3k("tempnam has been removed in 3.x; " - "use the tempfile module", 1) < 0) - return NULL; - - name = tempnam(dir, pfx); - if (name == NULL) - return PyErr_NoMemory(); - result = PyString_FromString(name); - free(name); - return result; -} -#endif - - -#ifdef HAVE_TMPFILE -PyDoc_STRVAR(posix_tmpfile__doc__, -"tmpfile() -> file object\n\n\ -Create a temporary file with no directory entries."); - -static PyObject * -posix_tmpfile(PyObject *self, PyObject *noargs) -{ - FILE *fp; - - if (PyErr_WarnPy3k("tmpfile has been removed in 3.x; " - "use the tempfile module", 1) < 0) - return NULL; - - fp = tmpfile(); - if (fp == NULL) - return posix_error(); - return PyFile_FromFile(fp, "<tmpfile>", "w+b", fclose); -} -#endif - - -#ifdef HAVE_TMPNAM -PyDoc_STRVAR(posix_tmpnam__doc__, -"tmpnam() -> string\n\n\ -Return a unique name for a temporary file."); - -static PyObject * -posix_tmpnam(PyObject *self, PyObject *noargs) -{ - char buffer[L_tmpnam]; - char *name; - - if (PyErr_Warn(PyExc_RuntimeWarning, - "tmpnam is a potential security risk to your program") < 0) - return NULL; - - if (PyErr_WarnPy3k("tmpnam has been removed in 3.x; " - "use the tempfile module", 1) < 0) - return NULL; - -#ifdef USE_TMPNAM_R - name = tmpnam_r(buffer); -#else - name = tmpnam(buffer); -#endif - if (name == NULL) { - PyObject *err = Py_BuildValue("is", 0, -#ifdef USE_TMPNAM_R - "unexpected NULL from tmpnam_r" -#else - "unexpected NULL from tmpnam" -#endif - ); - PyErr_SetObject(PyExc_OSError, err); - Py_XDECREF(err); - return NULL; - } - return PyString_FromString(buffer); -} -#endif - - -/* This is used for fpathconf(), pathconf(), confstr() and sysconf(). - * It maps strings representing configuration variable names to - * integer values, allowing those functions to be called with the - * magic names instead of polluting the module's namespace with tons of - * rarely-used constants. There are three separate tables that use - * these definitions. - * - * This code is always included, even if none of the interfaces that - * need it are included. The #if hackery needed to avoid it would be - * sufficiently pervasive that it's not worth the loss of readability. - */ -struct constdef { - char *name; - long value; -}; - -#ifndef UEFI_C_SOURCE -static int -conv_confname(PyObject *arg, int *valuep, struct constdef *table, - size_t tablesize) -{ - if (PyInt_Check(arg)) { - *valuep = PyInt_AS_LONG(arg); - return 1; - } - if (PyString_Check(arg)) { - /* look up the value in the table using a binary search */ - size_t lo = 0; - size_t mid; - size_t hi = tablesize; - int cmp; - char *confname = PyString_AS_STRING(arg); - while (lo < hi) { - mid = (lo + hi) / 2; - cmp = strcmp(confname, table[mid].name); - if (cmp < 0) - hi = mid; - else if (cmp > 0) - lo = mid + 1; - else { - *valuep = table[mid].value; - return 1; - } - } - PyErr_SetString(PyExc_ValueError, "unrecognized configuration name"); - } - else - PyErr_SetString(PyExc_TypeError, - "configuration names must be strings or integers"); - return 0; -} -#endif /* UEFI_C_SOURCE */ - -#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF) -static struct constdef posix_constants_pathconf[] = { -#ifdef _PC_ABI_AIO_XFER_MAX - {"PC_ABI_AIO_XFER_MAX", _PC_ABI_AIO_XFER_MAX}, -#endif -#ifdef _PC_ABI_ASYNC_IO - {"PC_ABI_ASYNC_IO", _PC_ABI_ASYNC_IO}, -#endif -#ifdef _PC_ASYNC_IO - {"PC_ASYNC_IO", _PC_ASYNC_IO}, -#endif -#ifdef _PC_CHOWN_RESTRICTED - {"PC_CHOWN_RESTRICTED", _PC_CHOWN_RESTRICTED}, -#endif -#ifdef _PC_FILESIZEBITS - {"PC_FILESIZEBITS", _PC_FILESIZEBITS}, -#endif -#ifdef _PC_LAST - {"PC_LAST", _PC_LAST}, -#endif -#ifdef _PC_LINK_MAX - {"PC_LINK_MAX", _PC_LINK_MAX}, -#endif -#ifdef _PC_MAX_CANON - {"PC_MAX_CANON", _PC_MAX_CANON}, -#endif -#ifdef _PC_MAX_INPUT - {"PC_MAX_INPUT", _PC_MAX_INPUT}, -#endif -#ifdef _PC_NAME_MAX - {"PC_NAME_MAX", _PC_NAME_MAX}, -#endif -#ifdef _PC_NO_TRUNC - {"PC_NO_TRUNC", _PC_NO_TRUNC}, -#endif -#ifdef _PC_PATH_MAX - {"PC_PATH_MAX", _PC_PATH_MAX}, -#endif -#ifdef _PC_PIPE_BUF - {"PC_PIPE_BUF", _PC_PIPE_BUF}, -#endif -#ifdef _PC_PRIO_IO - {"PC_PRIO_IO", _PC_PRIO_IO}, -#endif -#ifdef _PC_SOCK_MAXBUF - {"PC_SOCK_MAXBUF", _PC_SOCK_MAXBUF}, -#endif -#ifdef _PC_SYNC_IO - {"PC_SYNC_IO", _PC_SYNC_IO}, -#endif -#ifdef _PC_VDISABLE - {"PC_VDISABLE", _PC_VDISABLE}, -#endif -}; - -static int -conv_path_confname(PyObject *arg, int *valuep) -{ - return conv_confname(arg, valuep, posix_constants_pathconf, - sizeof(posix_constants_pathconf) - / sizeof(struct constdef)); -} -#endif - -#ifdef HAVE_FPATHCONF -PyDoc_STRVAR(posix_fpathconf__doc__, -"fpathconf(fd, name) -> integer\n\n\ -Return the configuration limit name for the file descriptor fd.\n\ -If there is no limit, return -1."); - -static PyObject * -posix_fpathconf(PyObject *self, PyObject *args) -{ - PyObject *result = NULL; - int name, fd; - - if (PyArg_ParseTuple(args, "iO&:fpathconf", &fd, - conv_path_confname, &name)) { - long limit; - - errno = 0; - limit = fpathconf(fd, name); - if (limit == -1 && errno != 0) - posix_error(); - else - result = PyInt_FromLong(limit); - } - return result; -} -#endif - - -#ifdef HAVE_PATHCONF -PyDoc_STRVAR(posix_pathconf__doc__, -"pathconf(path, name) -> integer\n\n\ -Return the configuration limit name for the file or directory path.\n\ -If there is no limit, return -1."); - -static PyObject * -posix_pathconf(PyObject *self, PyObject *args) -{ - PyObject *result = NULL; - int name; - char *path; - - if (PyArg_ParseTuple(args, "sO&:pathconf", &path, - conv_path_confname, &name)) { - long limit; - - errno = 0; - limit = pathconf(path, name); - if (limit == -1 && errno != 0) { - if (errno == EINVAL) - /* could be a path or name problem */ - posix_error(); - else - posix_error_with_filename(path); - } - else - result = PyInt_FromLong(limit); - } - return result; -} -#endif - -#ifdef HAVE_CONFSTR -static struct constdef posix_constants_confstr[] = { -#ifdef _CS_ARCHITECTURE - {"CS_ARCHITECTURE", _CS_ARCHITECTURE}, -#endif -#ifdef _CS_HOSTNAME - {"CS_HOSTNAME", _CS_HOSTNAME}, -#endif -#ifdef _CS_HW_PROVIDER - {"CS_HW_PROVIDER", _CS_HW_PROVIDER}, -#endif -#ifdef _CS_HW_SERIAL - {"CS_HW_SERIAL", _CS_HW_SERIAL}, -#endif -#ifdef _CS_INITTAB_NAME - {"CS_INITTAB_NAME", _CS_INITTAB_NAME}, -#endif -#ifdef _CS_LFS64_CFLAGS - {"CS_LFS64_CFLAGS", _CS_LFS64_CFLAGS}, -#endif -#ifdef _CS_LFS64_LDFLAGS - {"CS_LFS64_LDFLAGS", _CS_LFS64_LDFLAGS}, -#endif -#ifdef _CS_LFS64_LIBS - {"CS_LFS64_LIBS", _CS_LFS64_LIBS}, -#endif -#ifdef _CS_LFS64_LINTFLAGS - {"CS_LFS64_LINTFLAGS", _CS_LFS64_LINTFLAGS}, -#endif -#ifdef _CS_LFS_CFLAGS - {"CS_LFS_CFLAGS", _CS_LFS_CFLAGS}, -#endif -#ifdef _CS_LFS_LDFLAGS - {"CS_LFS_LDFLAGS", _CS_LFS_LDFLAGS}, -#endif -#ifdef _CS_LFS_LIBS - {"CS_LFS_LIBS", _CS_LFS_LIBS}, -#endif -#ifdef _CS_LFS_LINTFLAGS - {"CS_LFS_LINTFLAGS", _CS_LFS_LINTFLAGS}, -#endif -#ifdef _CS_MACHINE - {"CS_MACHINE", _CS_MACHINE}, -#endif -#ifdef _CS_PATH - {"CS_PATH", _CS_PATH}, -#endif -#ifdef _CS_RELEASE - {"CS_RELEASE", _CS_RELEASE}, -#endif -#ifdef _CS_SRPC_DOMAIN - {"CS_SRPC_DOMAIN", _CS_SRPC_DOMAIN}, -#endif -#ifdef _CS_SYSNAME - {"CS_SYSNAME", _CS_SYSNAME}, -#endif -#ifdef _CS_VERSION - {"CS_VERSION", _CS_VERSION}, -#endif -#ifdef _CS_XBS5_ILP32_OFF32_CFLAGS - {"CS_XBS5_ILP32_OFF32_CFLAGS", _CS_XBS5_ILP32_OFF32_CFLAGS}, -#endif -#ifdef _CS_XBS5_ILP32_OFF32_LDFLAGS - {"CS_XBS5_ILP32_OFF32_LDFLAGS", _CS_XBS5_ILP32_OFF32_LDFLAGS}, -#endif -#ifdef _CS_XBS5_ILP32_OFF32_LIBS - {"CS_XBS5_ILP32_OFF32_LIBS", _CS_XBS5_ILP32_OFF32_LIBS}, -#endif -#ifdef _CS_XBS5_ILP32_OFF32_LINTFLAGS - {"CS_XBS5_ILP32_OFF32_LINTFLAGS", _CS_XBS5_ILP32_OFF32_LINTFLAGS}, -#endif -#ifdef _CS_XBS5_ILP32_OFFBIG_CFLAGS - {"CS_XBS5_ILP32_OFFBIG_CFLAGS", _CS_XBS5_ILP32_OFFBIG_CFLAGS}, -#endif -#ifdef _CS_XBS5_ILP32_OFFBIG_LDFLAGS - {"CS_XBS5_ILP32_OFFBIG_LDFLAGS", _CS_XBS5_ILP32_OFFBIG_LDFLAGS}, -#endif -#ifdef _CS_XBS5_ILP32_OFFBIG_LIBS - {"CS_XBS5_ILP32_OFFBIG_LIBS", _CS_XBS5_ILP32_OFFBIG_LIBS}, -#endif -#ifdef _CS_XBS5_ILP32_OFFBIG_LINTFLAGS - {"CS_XBS5_ILP32_OFFBIG_LINTFLAGS", _CS_XBS5_ILP32_OFFBIG_LINTFLAGS}, -#endif -#ifdef _CS_XBS5_LP64_OFF64_CFLAGS - {"CS_XBS5_LP64_OFF64_CFLAGS", _CS_XBS5_LP64_OFF64_CFLAGS}, -#endif -#ifdef _CS_XBS5_LP64_OFF64_LDFLAGS - {"CS_XBS5_LP64_OFF64_LDFLAGS", _CS_XBS5_LP64_OFF64_LDFLAGS}, -#endif -#ifdef _CS_XBS5_LP64_OFF64_LIBS - {"CS_XBS5_LP64_OFF64_LIBS", _CS_XBS5_LP64_OFF64_LIBS}, -#endif -#ifdef _CS_XBS5_LP64_OFF64_LINTFLAGS - {"CS_XBS5_LP64_OFF64_LINTFLAGS", _CS_XBS5_LP64_OFF64_LINTFLAGS}, -#endif -#ifdef _CS_XBS5_LPBIG_OFFBIG_CFLAGS - {"CS_XBS5_LPBIG_OFFBIG_CFLAGS", _CS_XBS5_LPBIG_OFFBIG_CFLAGS}, -#endif -#ifdef _CS_XBS5_LPBIG_OFFBIG_LDFLAGS - {"CS_XBS5_LPBIG_OFFBIG_LDFLAGS", _CS_XBS5_LPBIG_OFFBIG_LDFLAGS}, -#endif -#ifdef _CS_XBS5_LPBIG_OFFBIG_LIBS - {"CS_XBS5_LPBIG_OFFBIG_LIBS", _CS_XBS5_LPBIG_OFFBIG_LIBS}, -#endif -#ifdef _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS - {"CS_XBS5_LPBIG_OFFBIG_LINTFLAGS", _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS}, -#endif -#ifdef _MIPS_CS_AVAIL_PROCESSORS - {"MIPS_CS_AVAIL_PROCESSORS", _MIPS_CS_AVAIL_PROCESSORS}, -#endif -#ifdef _MIPS_CS_BASE - {"MIPS_CS_BASE", _MIPS_CS_BASE}, -#endif -#ifdef _MIPS_CS_HOSTID - {"MIPS_CS_HOSTID", _MIPS_CS_HOSTID}, -#endif -#ifdef _MIPS_CS_HW_NAME - {"MIPS_CS_HW_NAME", _MIPS_CS_HW_NAME}, -#endif -#ifdef _MIPS_CS_NUM_PROCESSORS - {"MIPS_CS_NUM_PROCESSORS", _MIPS_CS_NUM_PROCESSORS}, -#endif -#ifdef _MIPS_CS_OSREL_MAJ - {"MIPS_CS_OSREL_MAJ", _MIPS_CS_OSREL_MAJ}, -#endif -#ifdef _MIPS_CS_OSREL_MIN - {"MIPS_CS_OSREL_MIN", _MIPS_CS_OSREL_MIN}, -#endif -#ifdef _MIPS_CS_OSREL_PATCH - {"MIPS_CS_OSREL_PATCH", _MIPS_CS_OSREL_PATCH}, -#endif -#ifdef _MIPS_CS_OS_NAME - {"MIPS_CS_OS_NAME", _MIPS_CS_OS_NAME}, -#endif -#ifdef _MIPS_CS_OS_PROVIDER - {"MIPS_CS_OS_PROVIDER", _MIPS_CS_OS_PROVIDER}, -#endif -#ifdef _MIPS_CS_PROCESSORS - {"MIPS_CS_PROCESSORS", _MIPS_CS_PROCESSORS}, -#endif -#ifdef _MIPS_CS_SERIAL - {"MIPS_CS_SERIAL", _MIPS_CS_SERIAL}, -#endif -#ifdef _MIPS_CS_VENDOR - {"MIPS_CS_VENDOR", _MIPS_CS_VENDOR}, -#endif -}; - -static int -conv_confstr_confname(PyObject *arg, int *valuep) -{ - return conv_confname(arg, valuep, posix_constants_confstr, - sizeof(posix_constants_confstr) - / sizeof(struct constdef)); -} - -PyDoc_STRVAR(posix_confstr__doc__, -"confstr(name) -> string\n\n\ -Return a string-valued system configuration variable."); - -static PyObject * -posix_confstr(PyObject *self, PyObject *args) -{ - PyObject *result = NULL; - int name; - char buffer[256]; - - if (PyArg_ParseTuple(args, "O&:confstr", conv_confstr_confname, &name)) { - int len; - - errno = 0; - len = confstr(name, buffer, sizeof(buffer)); - if (len == 0) { - if (errno) { - posix_error(); - } - else { - result = Py_None; - Py_INCREF(Py_None); - } - } - else { - if ((unsigned int)len >= sizeof(buffer)) { - result = PyString_FromStringAndSize(NULL, len-1); - if (result != NULL) - confstr(name, PyString_AS_STRING(result), len); - } - else - result = PyString_FromStringAndSize(buffer, len-1); - } - } - return result; -} -#endif - - -#ifdef HAVE_SYSCONF -static struct constdef posix_constants_sysconf[] = { -#ifdef _SC_2_CHAR_TERM - {"SC_2_CHAR_TERM", _SC_2_CHAR_TERM}, -#endif -#ifdef _SC_2_C_BIND - {"SC_2_C_BIND", _SC_2_C_BIND}, -#endif -#ifdef _SC_2_C_DEV - {"SC_2_C_DEV", _SC_2_C_DEV}, -#endif -#ifdef _SC_2_C_VERSION - {"SC_2_C_VERSION", _SC_2_C_VERSION}, -#endif -#ifdef _SC_2_FORT_DEV - {"SC_2_FORT_DEV", _SC_2_FORT_DEV}, -#endif -#ifdef _SC_2_FORT_RUN - {"SC_2_FORT_RUN", _SC_2_FORT_RUN}, -#endif -#ifdef _SC_2_LOCALEDEF - {"SC_2_LOCALEDEF", _SC_2_LOCALEDEF}, -#endif -#ifdef _SC_2_SW_DEV - {"SC_2_SW_DEV", _SC_2_SW_DEV}, -#endif -#ifdef _SC_2_UPE - {"SC_2_UPE", _SC_2_UPE}, -#endif -#ifdef _SC_2_VERSION - {"SC_2_VERSION", _SC_2_VERSION}, -#endif -#ifdef _SC_ABI_ASYNCHRONOUS_IO - {"SC_ABI_ASYNCHRONOUS_IO", _SC_ABI_ASYNCHRONOUS_IO}, -#endif -#ifdef _SC_ACL - {"SC_ACL", _SC_ACL}, -#endif -#ifdef _SC_AIO_LISTIO_MAX - {"SC_AIO_LISTIO_MAX", _SC_AIO_LISTIO_MAX}, -#endif -#ifdef _SC_AIO_MAX - {"SC_AIO_MAX", _SC_AIO_MAX}, -#endif -#ifdef _SC_AIO_PRIO_DELTA_MAX - {"SC_AIO_PRIO_DELTA_MAX", _SC_AIO_PRIO_DELTA_MAX}, -#endif -#ifdef _SC_ARG_MAX - {"SC_ARG_MAX", _SC_ARG_MAX}, -#endif -#ifdef _SC_ASYNCHRONOUS_IO - {"SC_ASYNCHRONOUS_IO", _SC_ASYNCHRONOUS_IO}, -#endif -#ifdef _SC_ATEXIT_MAX - {"SC_ATEXIT_MAX", _SC_ATEXIT_MAX}, -#endif -#ifdef _SC_AUDIT - {"SC_AUDIT", _SC_AUDIT}, -#endif -#ifdef _SC_AVPHYS_PAGES - {"SC_AVPHYS_PAGES", _SC_AVPHYS_PAGES}, -#endif -#ifdef _SC_BC_BASE_MAX - {"SC_BC_BASE_MAX", _SC_BC_BASE_MAX}, -#endif -#ifdef _SC_BC_DIM_MAX - {"SC_BC_DIM_MAX", _SC_BC_DIM_MAX}, -#endif -#ifdef _SC_BC_SCALE_MAX - {"SC_BC_SCALE_MAX", _SC_BC_SCALE_MAX}, -#endif -#ifdef _SC_BC_STRING_MAX - {"SC_BC_STRING_MAX", _SC_BC_STRING_MAX}, -#endif -#ifdef _SC_CAP - {"SC_CAP", _SC_CAP}, -#endif -#ifdef _SC_CHARCLASS_NAME_MAX - {"SC_CHARCLASS_NAME_MAX", _SC_CHARCLASS_NAME_MAX}, -#endif -#ifdef _SC_CHAR_BIT - {"SC_CHAR_BIT", _SC_CHAR_BIT}, -#endif -#ifdef _SC_CHAR_MAX - {"SC_CHAR_MAX", _SC_CHAR_MAX}, -#endif -#ifdef _SC_CHAR_MIN - {"SC_CHAR_MIN", _SC_CHAR_MIN}, -#endif -#ifdef _SC_CHILD_MAX - {"SC_CHILD_MAX", _SC_CHILD_MAX}, -#endif -#ifdef _SC_CLK_TCK - {"SC_CLK_TCK", _SC_CLK_TCK}, -#endif -#ifdef _SC_COHER_BLKSZ - {"SC_COHER_BLKSZ", _SC_COHER_BLKSZ}, -#endif -#ifdef _SC_COLL_WEIGHTS_MAX - {"SC_COLL_WEIGHTS_MAX", _SC_COLL_WEIGHTS_MAX}, -#endif -#ifdef _SC_DCACHE_ASSOC - {"SC_DCACHE_ASSOC", _SC_DCACHE_ASSOC}, -#endif -#ifdef _SC_DCACHE_BLKSZ - {"SC_DCACHE_BLKSZ", _SC_DCACHE_BLKSZ}, -#endif -#ifdef _SC_DCACHE_LINESZ - {"SC_DCACHE_LINESZ", _SC_DCACHE_LINESZ}, -#endif -#ifdef _SC_DCACHE_SZ - {"SC_DCACHE_SZ", _SC_DCACHE_SZ}, -#endif -#ifdef _SC_DCACHE_TBLKSZ - {"SC_DCACHE_TBLKSZ", _SC_DCACHE_TBLKSZ}, -#endif -#ifdef _SC_DELAYTIMER_MAX - {"SC_DELAYTIMER_MAX", _SC_DELAYTIMER_MAX}, -#endif -#ifdef _SC_EQUIV_CLASS_MAX - {"SC_EQUIV_CLASS_MAX", _SC_EQUIV_CLASS_MAX}, -#endif -#ifdef _SC_EXPR_NEST_MAX - {"SC_EXPR_NEST_MAX", _SC_EXPR_NEST_MAX}, -#endif -#ifdef _SC_FSYNC - {"SC_FSYNC", _SC_FSYNC}, -#endif -#ifdef _SC_GETGR_R_SIZE_MAX - {"SC_GETGR_R_SIZE_MAX", _SC_GETGR_R_SIZE_MAX}, -#endif -#ifdef _SC_GETPW_R_SIZE_MAX - {"SC_GETPW_R_SIZE_MAX", _SC_GETPW_R_SIZE_MAX}, -#endif -#ifdef _SC_ICACHE_ASSOC - {"SC_ICACHE_ASSOC", _SC_ICACHE_ASSOC}, -#endif -#ifdef _SC_ICACHE_BLKSZ - {"SC_ICACHE_BLKSZ", _SC_ICACHE_BLKSZ}, -#endif -#ifdef _SC_ICACHE_LINESZ - {"SC_ICACHE_LINESZ", _SC_ICACHE_LINESZ}, -#endif -#ifdef _SC_ICACHE_SZ - {"SC_ICACHE_SZ", _SC_ICACHE_SZ}, -#endif -#ifdef _SC_INF - {"SC_INF", _SC_INF}, -#endif -#ifdef _SC_INT_MAX - {"SC_INT_MAX", _SC_INT_MAX}, -#endif -#ifdef _SC_INT_MIN - {"SC_INT_MIN", _SC_INT_MIN}, -#endif -#ifdef _SC_IOV_MAX - {"SC_IOV_MAX", _SC_IOV_MAX}, -#endif -#ifdef _SC_IP_SECOPTS - {"SC_IP_SECOPTS", _SC_IP_SECOPTS}, -#endif -#ifdef _SC_JOB_CONTROL - {"SC_JOB_CONTROL", _SC_JOB_CONTROL}, -#endif -#ifdef _SC_KERN_POINTERS - {"SC_KERN_POINTERS", _SC_KERN_POINTERS}, -#endif -#ifdef _SC_KERN_SIM - {"SC_KERN_SIM", _SC_KERN_SIM}, -#endif -#ifdef _SC_LINE_MAX - {"SC_LINE_MAX", _SC_LINE_MAX}, -#endif -#ifdef _SC_LOGIN_NAME_MAX - {"SC_LOGIN_NAME_MAX", _SC_LOGIN_NAME_MAX}, -#endif -#ifdef _SC_LOGNAME_MAX - {"SC_LOGNAME_MAX", _SC_LOGNAME_MAX}, -#endif -#ifdef _SC_LONG_BIT - {"SC_LONG_BIT", _SC_LONG_BIT}, -#endif -#ifdef _SC_MAC - {"SC_MAC", _SC_MAC}, -#endif -#ifdef _SC_MAPPED_FILES - {"SC_MAPPED_FILES", _SC_MAPPED_FILES}, -#endif -#ifdef _SC_MAXPID - {"SC_MAXPID", _SC_MAXPID}, -#endif -#ifdef _SC_MB_LEN_MAX - {"SC_MB_LEN_MAX", _SC_MB_LEN_MAX}, -#endif -#ifdef _SC_MEMLOCK - {"SC_MEMLOCK", _SC_MEMLOCK}, -#endif -#ifdef _SC_MEM
|
|