[edk2] [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters

Hao Wu posted 1 patch 7 years ago
Failed in applying to current master (apply log)
AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2] [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters
Posted by Hao Wu 7 years ago
Cc: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Contributed-by: gray.wang <wt180250@126.com>
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
---
 AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c b/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
index 153bc13a11..698ffb5734 100644
--- a/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
+++ b/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
@@ -1289,7 +1289,7 @@ The file must be an open file object such as sys.stdout or returned by\n\
 open() or os.popen(). It must be opened in binary mode ('wb' or 'w+b').\n\
 \n\
 If the value has (or contains an object that has) an unsupported type, a\n\
-ValueError exception is raised — but garbage data will also be written\n\
+ValueError exception is raised - but garbage data will also be written\n\
 to the file. The object will not be properly read back by load()\n\
 \n\
 New in version 2.4: The version argument indicates the data format that\n\
@@ -1317,7 +1317,7 @@ PyDoc_STRVAR(load_doc,
 "load(file)\n\
 \n\
 Read one value from the open file and return it. If no valid value is\n\
-read (e.g. because the data has a different Python version’s\n\
+read (e.g. because the data has a different Python version's\n\
 incompatible marshal format), raise EOFError, ValueError or TypeError.\n\
 The file must be an open file object opened in binary mode ('rb' or\n\
 'r+b').\n\
-- 
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters
Posted by Carsey, Jaben 7 years ago
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

> -----Original Message-----
> From: Wu, Hao A
> Sent: Thursday, April 06, 2017 7:22 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A <hao.a.wu@intel.com>; Daryl McDaniel <edk2-
> lists@mc2research.org>; Carsey, Jaben <jaben.carsey@intel.com>
> Subject: [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-
> ascii characters
> Importance: High
> 
> Cc: Daryl McDaniel <edk2-lists@mc2research.org>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Contributed-by: gray.wang <wt180250@126.com>
> Signed-off-by: Hao Wu <hao.a.wu@intel.com>
> ---
>  AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
> b/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
> index 153bc13a11..698ffb5734 100644
> --- a/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
> +++ b/AppPkg/Applications/Python/PyMod-2.7.2/Python/marshal.c
> @@ -1289,7 +1289,7 @@ The file must be an open file object such as
> sys.stdout or returned by\n\
>  open() or os.popen(). It must be opened in binary mode ('wb' or 'w+b').\n\
>  \n\
>  If the value has (or contains an object that has) an unsupported type, a\n\
> -ValueError exception is raised — but garbage data will also be written\n\
> +ValueError exception is raised - but garbage data will also be written\n\
>  to the file. The object will not be properly read back by load()\n\
>  \n\
>  New in version 2.4: The version argument indicates the data format that\n\
> @@ -1317,7 +1317,7 @@ PyDoc_STRVAR(load_doc,
>  "load(file)\n\
>  \n\
>  Read one value from the open file and return it. If no valid value is\n\
> -read (e.g. because the data has a different Python version’s\n\
> +read (e.g. because the data has a different Python version's\n\
>  incompatible marshal format), raise EOFError, ValueError or TypeError.\n\
>  The file must be an open file object opened in binary mode ('rb' or\n\
>  'r+b').\n\
> --
> 2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel