Bugs item #1542693, was opened at 2006-08-18 08:10 Message generated for change (Comment added) made by nnorwitz 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: Closed >Resolution: Fixed 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: Neal Norwitz (nnorwitz) Date: 2006-08-18 21:25 Message: Logged In: YES user_id=33168 Thanks! Committed revision 51399. (2.5) Committed revision 51402. (2.6) ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2006-08-18 08: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 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com