AppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib\python.27\site-customize directories were not being processed. Fix bug where unicode strings were not being correctly encoded in the "idna" encoding before being passed to low-level networking functions. Correct problem where a spurious message, "Shell: Incorrect redirection syntax - '2>/dev/null'", was being output by PyDoc.

Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: jordan.l.justen@intel.com


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13161 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503 2012-04-04 23:40:55 +00:00
parent 7a616e5b77
commit 3b553e0ab2
4 changed files with 2346 additions and 3 deletions

View File

@ -82,6 +82,7 @@ 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},
@ -90,6 +91,7 @@ struct _inittab _PyImport_Inittab[] = {
//{"_sha256", init_sha256},
//{"_sha512", init_sha512},
//{"_socket", init_socket},
//{"_symtable", init_symtable},
//{"array", initarray},
//{"cmath", initcmath},
@ -100,6 +102,7 @@ struct _inittab _PyImport_Inittab[] = {
//{"select", initselect},
//{"signal", initsignal},
//{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */
//{"unicodedata", initunicodedata},
//{"xxsubtype", initxxsubtype},
//{"zipimport", initzipimport},
//{"zlib", initzlib},
@ -117,9 +120,6 @@ struct _inittab _PyImport_Inittab[] = {
{"thread", initthread},
#endif
//{"_symtable", init_symtable},
//{"_csv", init_csv},
/* These modules are required for the full built-in help() facility provided by pydoc. */
{"_codecs", init_codecs},
{"_collections", init_collections},

File diff suppressed because it is too large Load Diff

View File

@ -503,6 +503,7 @@ def execusercustomize():
def main():
abs__file__()
known_paths = removeduppaths()
known_paths = addsitepackages(known_paths)
setquit()
setcopyright()
sethelper()

View File

@ -197,6 +197,7 @@
Python-$(PYTHON_VERSION)/Modules/socketmodule.c #
Python-$(PYTHON_VERSION)/Modules/stropmodule.c #
Python-$(PYTHON_VERSION)/Modules/timemodule.c #
Python-$(PYTHON_VERSION)/Modules/unicodedata.c #
Python-$(PYTHON_VERSION)/Modules/xxsubtype.c #
Python-$(PYTHON_VERSION)/Modules/zipimport.c #
Python-$(PYTHON_VERSION)/Modules/zlibmodule.c #