Bugs item #976608, was opened at 2004-06-21 02:26 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=976608&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 Interpreter Core Group: Python 2.3 >Status: Closed >Resolution: Fixed Priority: 3 Submitted By: Peter Maxwell (pm67nz) >Assigned to: Neal Norwitz (nnorwitz) Summary: Unhelpful error message when mtime of a module is -1 Initial Comment: This fragment of import.c: mtime = PyOS_GetLastModificationTime(pathname, fp); if (mtime == (time_t)(-1)) return NULL; is missing a PyErr_SetString(), so in at least one circumstance (an __init__.py file with an apparent mtime of 1 Jan 1970 created by a bug in darcs on debian linux) it produces "SystemError: NULL result without error in PyObject_Call". ---------------------------------------------------------------------- >Comment By: Neal Norwitz (nnorwitz) Date: 2005-10-02 21:52 Message: Logged In: YES user_id=33168 Thanks for the info, you were correct. Checked in as: * Misc/NEWS something large, 1.1193.2.119 * Python/import.c 2.245, 2.240.2.3 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=976608&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com