mirror of https://github.com/acidanthera/audk.git
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:
parent
7a616e5b77
commit
3b553e0ab2
|
@ -82,6 +82,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
|
|
||||||
//{"_ast", init_ast},
|
//{"_ast", init_ast},
|
||||||
//{"_bisect", init_bisect}, /* A fast version of bisect.py */
|
//{"_bisect", init_bisect}, /* A fast version of bisect.py */
|
||||||
|
//{"_csv", init_csv},
|
||||||
//{"_heapq", init_heapq}, /* A fast version of heapq.py */
|
//{"_heapq", init_heapq}, /* A fast version of heapq.py */
|
||||||
//{"_io", init_io},
|
//{"_io", init_io},
|
||||||
//{"_json", init_json},
|
//{"_json", init_json},
|
||||||
|
@ -90,6 +91,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
//{"_sha256", init_sha256},
|
//{"_sha256", init_sha256},
|
||||||
//{"_sha512", init_sha512},
|
//{"_sha512", init_sha512},
|
||||||
//{"_socket", init_socket},
|
//{"_socket", init_socket},
|
||||||
|
//{"_symtable", init_symtable},
|
||||||
|
|
||||||
//{"array", initarray},
|
//{"array", initarray},
|
||||||
//{"cmath", initcmath},
|
//{"cmath", initcmath},
|
||||||
|
@ -100,6 +102,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
//{"select", initselect},
|
//{"select", initselect},
|
||||||
//{"signal", initsignal},
|
//{"signal", initsignal},
|
||||||
//{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */
|
//{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */
|
||||||
|
//{"unicodedata", initunicodedata},
|
||||||
//{"xxsubtype", initxxsubtype},
|
//{"xxsubtype", initxxsubtype},
|
||||||
//{"zipimport", initzipimport},
|
//{"zipimport", initzipimport},
|
||||||
//{"zlib", initzlib},
|
//{"zlib", initzlib},
|
||||||
|
@ -117,9 +120,6 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
{"thread", initthread},
|
{"thread", initthread},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//{"_symtable", init_symtable},
|
|
||||||
//{"_csv", init_csv},
|
|
||||||
|
|
||||||
/* These modules are required for the full built-in help() facility provided by pydoc. */
|
/* These modules are required for the full built-in help() facility provided by pydoc. */
|
||||||
{"_codecs", init_codecs},
|
{"_codecs", init_codecs},
|
||||||
{"_collections", init_collections},
|
{"_collections", init_collections},
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -503,6 +503,7 @@ def execusercustomize():
|
||||||
def main():
|
def main():
|
||||||
abs__file__()
|
abs__file__()
|
||||||
known_paths = removeduppaths()
|
known_paths = removeduppaths()
|
||||||
|
known_paths = addsitepackages(known_paths)
|
||||||
setquit()
|
setquit()
|
||||||
setcopyright()
|
setcopyright()
|
||||||
sethelper()
|
sethelper()
|
||||||
|
|
|
@ -197,6 +197,7 @@
|
||||||
Python-$(PYTHON_VERSION)/Modules/socketmodule.c #
|
Python-$(PYTHON_VERSION)/Modules/socketmodule.c #
|
||||||
Python-$(PYTHON_VERSION)/Modules/stropmodule.c #
|
Python-$(PYTHON_VERSION)/Modules/stropmodule.c #
|
||||||
Python-$(PYTHON_VERSION)/Modules/timemodule.c #
|
Python-$(PYTHON_VERSION)/Modules/timemodule.c #
|
||||||
|
Python-$(PYTHON_VERSION)/Modules/unicodedata.c #
|
||||||
Python-$(PYTHON_VERSION)/Modules/xxsubtype.c #
|
Python-$(PYTHON_VERSION)/Modules/xxsubtype.c #
|
||||||
Python-$(PYTHON_VERSION)/Modules/zipimport.c #
|
Python-$(PYTHON_VERSION)/Modules/zipimport.c #
|
||||||
Python-$(PYTHON_VERSION)/Modules/zlibmodule.c #
|
Python-$(PYTHON_VERSION)/Modules/zlibmodule.c #
|
||||||
|
|
Loading…
Reference in New Issue