[Python-checkins] r51402 - in python/trunk: Include/import.h Misc/NEWS
neal.norwitz
python-checkins at python.org
Sat Aug 19 06:25:33 CEST 2006
Author: neal.norwitz
Date: Sat Aug 19 06:25:29 2006
New Revision: 51402
Modified:
python/trunk/Include/import.h
python/trunk/Misc/NEWS
Log:
SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro
Modified: python/trunk/Include/import.h
==============================================================================
--- python/trunk/Include/import.h (original)
+++ python/trunk/Include/import.h Sat Aug 19 06:25:29 2006
@@ -22,7 +22,7 @@
PyAPI_FUNC(PyObject *) PyImport_ImportModuleEx(
char *name, PyObject *globals, PyObject *locals, PyObject *fromlist);
#define PyImport_ImportModuleEx(n, g, l, f) \
- PyImport_ImportModuleLevel(n, g, l, f, -1);
+ PyImport_ImportModuleLevel(n, g, l, f, -1)
PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name);
PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m);
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sat Aug 19 06:25:29 2006
@@ -43,6 +43,9 @@
C API
-----
+- Bug #1542693: remove semi-colon at end of PyImport_ImportModuleEx macro
+ so it can be used as an expression.
+
Mac
---
@@ -211,10 +214,6 @@
is always 1 (normal) or 0 (if the specified thread wasn't found).
-Mac
----
-
-
What's New in Python 2.5 beta 3?
================================
More information about the Python-checkins
mailing list