Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15767: Add ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -2/+11 |
| | |||||
* | Clarify NotImplemented vs NotImplementedError. Initial patch by Emmanuel ↵ | Ethan Furman | 2016-08-05 | 1 | -2/+23 |
| | | | | Barry. Closes issue 27242. | ||||
* | Fix typos in mock and exceptions docs | Berker Peksag | 2016-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | The default value of __len__ is 0, not 1: >>> from unittest.mock import MagicMock >>> mock = MagicMock() >>> len(mock) 0 Reported by Alex on docs@p.o. Remove the remaining VMSError reference. VMS support is gone. | ||||
* | Issue #23391: Merge OSError doc from 3.4 into 3.5 | Martin Panter | 2015-10-26 | 1 | -21/+48 |
|\ | |||||
| * | Issue #23391: Restore OSError constructor argument documentation | Martin Panter | 2015-10-26 | 1 | -21/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores details lost in revision 097f4fda61a4 (since Python 3.3, related to the new OSError subclasses). Further additions: * Markup for attributes and constructor signature * Explain "winerror" and "filename2" * Extend test to check for filename2 defaulting to None * Clarify that the constructor can return a subclass I have intentionally left out any details of allowing more than five arguments, or how the "args" attribute is set for four or more arguments. These details seem to be dependent on the Python version and platform. | ||||
* | | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -0/+10 |
| | | |||||
* | | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 1 | -2/+4 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue 24180: Fixes by Berker Peksag. | Yury Selivanov | 2015-05-21 | 1 | -1/+0 |
| | | |||||
* | | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 1 | -0/+8 |
| | | |||||
* | | PEP 479: Change StopIteration handling inside generators. | Yury Selivanov | 2015-05-09 | 1 | -0/+8 |
| | | | | | | | | Closes issue #22906. | ||||
* | | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 1 | -1/+6 |
|/ | | | | | | | | | timeout when interrupted by a signal, except if the signal handler raises an exception. This change is part of the PEP 475. The asyncore and selectors module doesn't catch the InterruptedError exception anymore when calling select.select(), since this function should not raise InterruptedError anymore. | ||||
* | 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 |
| | |