* [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters
@ 2017-04-07 2:22 Hao Wu
2017-04-07 15:22 ` Carsey, Jaben
0 siblings, 1 reply; 2+ messages in thread
From: Hao Wu @ 2017-04-07 2:22 UTC (permalink / raw)
To: edk2-devel; +Cc: Hao Wu, Daryl McDaniel, Jaben Carsey
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters
2017-04-07 2:22 [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters Hao Wu
@ 2017-04-07 15:22 ` Carsey, Jaben
0 siblings, 0 replies; 2+ messages in thread
From: Carsey, Jaben @ 2017-04-07 15:22 UTC (permalink / raw)
To: Wu, Hao A, edk2-devel@lists.01.org; +Cc: Daryl McDaniel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-07 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-07 2:22 [PATCH] AppPkg/Applications/Python/PyMod-2.7.2: Replace non-ascii characters Hao Wu
2017-04-07 15:22 ` Carsey, Jaben
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox