[Python-checkins] cpython (merge 3.2 -> default): merge 3.2
benjamin.peterson
python-checkins at python.org
Mon Jul 4 05:15:23 CEST 2011
http://hg.python.org/cpython/rev/078d91fc6b3b
changeset: 71180:078d91fc6b3b
parent: 71177:53fc0c475260
parent: 71178:f0382acebfe6
user: Benjamin Peterson <benjamin at python.org>
date: Sun Jul 03 22:19:29 2011 -0500
summary:
merge 3.2
files:
Python/_warnings.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Python/_warnings.c b/Python/_warnings.c
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -517,6 +517,7 @@
}
else {
const char *module_str = _PyUnicode_AsString(*module);
+ Py_XDECREF(*filename);
if (module_str == NULL)
goto handle_error;
if (strcmp(module_str, "__main__") == 0) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list