Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(37)

Unified Diff: Python/errors.c

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Python/dynamic_annotations.c ('k') | Python/fileblocks.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/errors.c Thu Dec 27 23:52:36 2012 +0200
+++ b/Python/errors.c Thu Dec 27 17:35:12 2012 -0500
@@ -424,7 +424,7 @@
/* Only ever seen this in out-of-mem
situations */
s_buf = NULL;
- message = PyUnicode_FromFormat("Windows Error 0x%X", i);
+ message = PyUnicode_FromFormat("Windows Error 0x%x", i);
} else {
/* remove trailing cr/lf and dots */
while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.'))
@@ -519,7 +519,7 @@
NULL); /* no args */
if (len==0) {
/* Only seen this in out of mem situations */
- message = PyUnicode_FromFormat("Windows Error 0x%X", err);
+ message = PyUnicode_FromFormat("Windows Error 0x%x", err);
s_buf = NULL;
} else {
/* remove trailing cr/lf and dots */
« no previous file with comments | « Python/dynamic_annotations.c ('k') | Python/fileblocks.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+