diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-04 23:40:55 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-04 23:40:55 +0000 |
commit | 3b553e0ab2146ef2055c969a1893b453b2023cf4 (patch) | |
tree | 5e3387aa1baee263dbc40feb3e392dab670eb290 /AppPkg/Applications/Python/Efi | |
parent | 7a616e5b77655ece707b132b746c8df565edaf05 (diff) | |
download | edk2-platforms-3b553e0ab2146ef2055c969a1893b453b2023cf4.tar.xz |
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
Diffstat (limited to 'AppPkg/Applications/Python/Efi')
-rw-r--r-- | AppPkg/Applications/Python/Efi/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AppPkg/Applications/Python/Efi/config.c b/AppPkg/Applications/Python/Efi/config.c index 2fd6019abd..7ae26319bd 100644 --- a/AppPkg/Applications/Python/Efi/config.c +++ b/AppPkg/Applications/Python/Efi/config.c @@ -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},
|