cpython/Misc
Brett Cannon b1611e2772 Issue #15767: Introduce ModuleNotFoundError, a subclass of
ImportError.

The exception is raised by import when a module could not be found.
Technically this is defined as no viable loader could be found for the
specified module. This includes ``from ... import`` statements so that
the module usage is consistent for all situations where import
couldn't find what was requested.

This should allow for the common idiom of::

  try:
    import something
  except ImportError:
    pass

to be updated to using ModuleNotFoundError and not accidentally mask
ImportError messages that should propagate (e.g. issues with a
loader).

This work was driven by the fact that the ``from ... import``
statement needed to be able to tell the difference between an
ImportError that simply couldn't find a module (and thus silence the
exception so that ceval can raise it) and an ImportError that
represented an actual problem.
2013-06-12 16:59:46 -04:00
..
RPM bump to 3.3.2 2013-05-12 12:51:38 +02:00
ACKS #17511: merge with 3.3. 2013-06-10 23:02:56 -05:00
HISTORY Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04:00
NEWS Issue #15767: Introduce ModuleNotFoundError, a subclass of 2013-06-12 16:59:46 -04:00
Porting Merged revisions 78966,78970,79018,79026-79027,79055,79156,79159,79163-79164,79173,79176,79194,79208,79212 via svnmerge from 2010-03-21 23:13:07 +00:00
README Issue #14347: Update Misc/README list of files. 2012-03-17 10:52:08 -07:00
README.AIX Merged revisions 88430,88438,88440 via svnmerge from 2011-02-25 11:09:02 +00:00
README.coverity Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
README.valgrind
SpecialBuilds.txt Merged revisions 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from 2011-02-25 10:50:32 +00:00
gdbinit Merged revisions 86134,86315-86316,86390,86424-86425,86428,86550,86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 09:05:43 +00:00
indent.pro Merged revisions 86134,86315-86316,86390,86424-86425,86428,86550,86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 09:05:43 +00:00
python-config.in - Issue #16754: Fix the incorrect shared library extension on linux. Introduce 2013-03-21 13:31:41 -07:00
python-config.sh.in - Issue #16235: Implement python-config as a shell script. 2013-01-26 11:39:31 +01:00
python-wing3.wpr Adding Wing 4 (IDE) project file 2010-11-20 17:47:30 +00:00
python-wing4.wpr Changes for Wing Project file caused by mercurial transition. Plus ignoring python.exe-gdb.py. 2011-03-16 22:28:08 -04:00
python.man Do not italicize punctuation in python(1) manual page (Matt Kraai). 2012-06-20 13:16:31 +02:00
python.pc.in Final patch for issue 9807. 2010-11-24 19:43:47 +00:00
svnmap.txt Add the map of SVN revision numbers to changeset ids. 2011-03-05 17:46:03 +01:00
valgrind-python.supp Issue #7652: Integrate the decimal floating point libmpdec library to speed 2012-03-21 18:25:23 +01:00
vgrindefs Patch #1550800: make exec a function. 2006-09-06 06:51:57 +00:00

README

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS                    Acknowledgements
gdbinit                 Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY                 News from previous releases -- oldest last
indent.pro              GNU indent profile approximating my C style
NEWS                    News for this release (for some meaning of "this")
Porting                 Mini-FAQ on porting to new platforms
python-config.in        Python script template for python-config
python.man              UNIX man page for the python interpreter
python.pc.in            Package configuration info template for pkg-config
python-wing*.wpr        Wing IDE project file
README                  The file you're reading now
README.AIX              Information about using Python on AIX
README.coverity         Information about running Coverity's Prevent on Python
README.valgrind         Information for Valgrind users, see valgrind-python.supp
RPM                     (Old) tools to build RPMs
svnmap.txt              Map of old SVN revs and branches to hg changeset ids
SpecialBuilds.txt       Describes extra symbols you can set for debug builds
TextMate                A TextMate bundle for Python development
valgrind-python.supp    Valgrind suppression file, see README.valgrind
vgrindefs               Python configuration for vgrind (a generic pretty printer)
Vim                     Python development utilities for the Vim editor