Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23432: Remove duplicate content from SystemExit docs. | Berker Peksag | 2015-03-10 | 1 | -13/+13 |
| | | | | Also, document SystemExit.code attribute explicitly. | ||||
* | #22613: fix several factual errors in builtin docs (thanks Jacques Ducasse) | Georg Brandl | 2014-10-31 | 1 | -1/+2 |
| | |||||
* | Issue #21559: Add alternative (historical) reason for OverflowError. | Terry Jan Reedy | 2014-06-16 | 1 | -3/+4 |
| | |||||
* | Issue #16136: VMSError is done, bye bye VMS | Victor Stinner | 2014-06-13 | 1 | -4/+0 |
| | |||||
* | Issue #20624: Exception docs wording tweak - clarify that it's okay to ↵ | Mark Dickinson | 2014-04-14 | 1 | -4/+4 |
| | | | | inherit from a subclass of Exception. | ||||
* | fix verb (closes #21174) | Benjamin Peterson | 2014-04-07 | 1 | -1/+1 |
| | |||||
* | IOError -> OSError | Andrew Svetlov | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -1/+0 |
| | |||||
* | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -1/+6 |
| | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one. | ||||
* | Issue #19691: remove outdated mention about RuntimeError | Antoine Pitrou | 2013-11-25 | 1 | -2/+1 |
|\ | |||||
| * | Issue #19691: remove outdated mention about RuntimeError | Antoine Pitrou | 2013-11-25 | 1 | -2/+1 |
| | | |||||
* | | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -6/+5 |
|\ \ | |/ | |||||
| * | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -6/+5 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix wrong link. | Georg Brandl | 2013-10-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #15767: back out 8a0ed9f63c6e, finishing the removal of | Brett Cannon | 2013-07-04 | 1 | -11/+2 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError | Brett Cannon | 2013-07-04 | 1 | -2/+1 |
| | | |||||
* | | Issue #15767: Touch up ModuleNotFoundError usage by import. | Brett Cannon | 2013-06-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #15767: Introduce ModuleNotFoundError, a subclass of | Brett Cannon | 2013-06-12 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge from 3.3 (issue #15209) | Nick Coghlan | 2012-12-09 | 1 | -8/+16 |
|\ \ | |/ | |||||
| * | Issue #15209: Fix typo and some additional wording tweaks | Nick Coghlan | 2012-12-09 | 1 | -8/+16 |
| | | |||||
* | | Merge from 3.3 (Issue #15209) | Nick Coghlan | 2012-12-08 | 1 | -11/+17 |
|\ \ | |/ | |||||
| * | Issue #15209: Clarify exception chaining description | Nick Coghlan | 2012-12-08 | 1 | -11/+17 |
| | | | | | | | | | | | | - not allowed when implicitly re-raised the current exception - last exception raised is always displayed last - attempt to make it clearer when/if cause and context are shown | ||||
* | | Merge 3.3 | Andrew Svetlov | 2012-12-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typo. | Andrew Svetlov | 2012-12-05 | 1 | -1/+1 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2012-12-02 | 1 | -0/+24 |
|\ \ | |/ | |||||
| * | document UnicodeError attributes | Benjamin Peterson | 2012-12-02 | 1 | -0/+24 |
| | | |||||
* | | Issue #15478: Raising an OSError doesn't decode or encode the filename anymore | Victor Stinner | 2012-10-30 | 1 | -0/+6 |
|/ | | | | | | | Pass the original filename argument to OSError constructor, instead of trying to encode it to or decode it from the filesystem encoding. This change avoids an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded from the filesystem encoding (ANSI code page). | ||||
* | Fix indentation (or Sphinx will think these are attributes of ConnectionError). | Ezio Melotti | 2012-10-21 | 1 | -19/+20 |
| | |||||
* | Merge __next__ method link fixes with 3.2. | Ezio Melotti | 2012-10-12 | 1 | -2/+2 |
|\ | |||||
| * | Fix links to the __next__ method. | Ezio Melotti | 2012-10-12 | 1 | -1/+1 |
| | | |||||
* | | Remove attribution; this is for the whatsnew. | Georg Brandl | 2012-06-24 | 1 | -1/+0 |
| | | |||||
* | | PEP 415: Implement suppression of __context__ display with an exception ↵ | Benjamin Peterson | 2012-05-15 | 1 | -12/+11 |
| | | | | | | | | | | | | attribute This replaces the original PEP 409 implementation. See #14133. | ||||
* | | Issue #1559549: Add 'name' and 'path' attributes to ImportError. | Brett Cannon | 2012-04-13 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | Currently import does not use these attributes as they are planned for use by importlib (which will be another commit). Thanks to Filip Gruszczyński for the initial patch and Brian Curtin for refining it. | ||||
* | | typo | Benjamin Peterson | 2012-02-27 | 1 | -1/+1 |
| | | |||||
* | | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 1 | -0/+18 |
| | | |||||
* | | Add versionchanged notes for PEP 380 | Nick Coghlan | 2012-01-14 | 1 | -0/+3 |
| | | |||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -1/+10 |
| | | |||||
* | | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | bytes() can't be used to get a representation of an object. | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -3/+3 |
| | | |||||
* | | Update doc for BlockingIOError and its alias in the io module | Antoine Pitrou | 2011-10-12 | 1 | -0/+9 |
| | | |||||
* | | Mention the merging of other exceptions into OSError. | Antoine Pitrou | 2011-10-12 | 1 | -0/+5 |
| | | |||||
* | | Update exceptions doc for PEP 3151 | Antoine Pitrou | 2011-10-12 | 1 | -53/+142 |
|/ | |||||
* | #10856: document (Base)Exception.args better. | Georg Brandl | 2011-01-07 | 1 | -12/+26 |
| | |||||
* | #10723: add missing builtin exceptions. | Georg Brandl | 2010-12-18 | 1 | -0/+18 |
| | |||||
* | Fix usage of :option: in the docs (#9312). | Éric Araujo | 2010-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. For modules which do have a command-line interface, lists of options have been properly marked up with the program/cmdoption directives combo. Options defined in such blocks can be linked to with :option: later in the same file, they won’t link to an option of python. Finally, the markup of command-line fragments in optparse.rst has been cleaned to use ``x`` instead of ``"x"``, keeping that latter form for actual Python strings. Patch by Eli Bendersky and Éric Araujo. | ||||
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵ | Georg Brandl | 2010-10-24 | 1 | -0/+10 |
| | | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr. | ||||
* | Migrate to Sphinx 1.0 C language constructs. | Georg Brandl | 2010-10-06 | 1 | -6/+6 |
| | |||||
* | Add cross-references to the glossary entry for file objects. | Antoine Pitrou | 2010-09-15 | 1 | -2/+2 |
| | |||||
* | remove reference to second argument to raise #8676 | Benjamin Peterson | 2010-05-10 | 1 | -4/+4 |
| |