Bugs item #1542693, was opened at 2006-08-18 11:10 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: 5 Submitted By: Chris Stawarz (cstawarz) Assigned to: Nobody/Anonymous (nobody) 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(...))) ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542693&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com