[Python-checkins] cpython: Issue #3080: Use %R to format module name in error messages (original) (raw)

victor.stinner python-checkins at python.org
Sun Mar 20 04:13:50 CET 2011


http://hg.python.org/cpython/rev/23fe237afa81 changeset: 68726:23fe237afa81 user: Victor Stinner <victor.stinner at haypocalc.com> date: Sun Mar 13 22:38:06 2011 -0400 summary: Issue #3080: Use %R to format module name in error messages

%R format instead of %U

files: Python/import.c

diff --git a/Python/import.c b/Python/import.c --- a/Python/import.c +++ b/Python/import.c @@ -2620,7 +2620,7 @@ } else { PyErr_Format(PyExc_ImportError,

@@ -3285,7 +3285,7 @@ parent = PyDict_GetItem(modules, parentname); if (parent == NULL) { PyErr_Format(PyExc_ImportError,

-- Repository URL: http://hg.python.org/cpython



More information about the Python-checkins mailing list