cpython/Doc/reference
Brett Cannon 8f5ac5106e Issue #15767: Touch up ModuleNotFoundError usage by import.
Forgot to raise ModuleNotFoundError when None is found in sys.modules.
This led to introducing the C function PyErr_SetImportErrorSubclass()
to make setting ModuleNotFoundError easier.

Also updated the reference docs to mention ModuleNotFoundError
appropriately. Updated the docs for ModuleNotFoundError to mention the
None in sys.modules case.

Lastly, it was noticed that PyErr_SetImportError() was not setting an
exception when returning None in one case. That issue is now fixed.
2013-06-12 23:29:18 -04:00
..
compound_stmts.rst evaluate positional defaults before keyword-only defaults (closes #16967) 2013-02-10 09:29:59 -05:00
datamodel.rst Merge with 3.3. 2013-03-28 13:28:55 +01:00
executionmodel.rst Merged revisions 88658 via svnmerge from 2011-02-26 21:34:51 +00:00
expressions.rst Clarify point in name mangling doc. 2013-04-14 10:13:42 +02:00
grammar.rst Merged revisions 65378-65379,65430 via svnmerge from 2008-08-03 09:47:27 +00:00
import.rst Issue #15767: Touch up ModuleNotFoundError usage by import. 2013-06-12 23:29:18 -04:00
index.rst Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:10:24 -07:00
introduction.rst point IronPython to ironpython.net; thanks to Lazar Pancic from docs@ 2011-12-24 23:13:19 +01:00
lexical_analysis.rst #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. 2012-10-05 03:33:31 +03:00
simple_stmts.rst #17938: remove duplicate paragraphs. 2013-05-09 15:33:53 +03:00
toplevel_components.rst Remove duplication. 2011-10-19 10:58:56 +03:00