[ python-Bugs-1542693 ] Bug in definition of PyImport_ImportModuleEx macro
SourceForge.net
noreply at sourceforge.net
Fri Aug 18 17:14:09 CEST 2006
Bugs item #1542693, was opened at 2006-08-18 15:10
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542693&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 8
Submitted By: Chris Stawarz (cstawarz)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Bug in definition of PyImport_ImportModuleEx macro
Initial Comment:
In Python 2.5c1 and SVN trunk rev 42649, the file
import.h has a bug in the definition of the macro
PyImport_ImportModuleEx. From the code:
#define PyImport_ImportModuleEx(n, g, l, f) \
PyImport_ImportModuleLevel(n, g, l, f, -1);
The trailing semicolon shouldn't be there, as it causes
compilation to fail when you do things like
if (NULL == (module = PyImport_ImportModuleEx(...))) ...
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-18 15:14
Message:
Logged In: YES
user_id=849994
This seems correct.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542693&group_id=5470
More information about the Python-bugs-list
mailing list