<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/</link>
    <language>en-us</language>

    <title>cpython-lru_cache-weakref: Lib/exceptions.py history</title>
    <description>Lib/exceptions.py revision history</description>
    <item>
    <title>For backwards compatibility, simply import everything from the</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/f0d2253b664f/Lib/exceptions.py</link>
    <description><![CDATA[For backwards compatibility, simply import everything from the<br/>
_exceptions module, including __doc__.]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 25 May 2000 23:15:52 +0000</pubDate>
</item>
<item>
    <title>Marc-Andre Lemburg: Add UnicodeError, derived from ValueError.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/3303a5bac6dd/Lib/exceptions.py</link>
    <description><![CDATA[Marc-Andre Lemburg: Add UnicodeError, derived from ValueError.]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Fri, 10 Mar 2000 23:16:02 +0000</pubDate>
</item>
<item>
    <title>Added WindowsError, for Mark Hammond's extensions.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/50a6ab3fa036/Lib/exceptions.py</link>
    <description><![CDATA[Added WindowsError, for Mark Hammond's extensions.]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 17 Feb 2000 15:12:01 +0000</pubDate>
</item>
<item>
    <title>A nit to make Fred proud.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/eaf9eeab3bcf/Lib/exceptions.py</link>
    <description><![CDATA[A nit to make Fred proud.]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 19 Aug 1999 21:17:08 +0000</pubDate>
</item>
<item>
    <title>Patch by Tim Peters:</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/3be935be3781/Lib/exceptions.py</link>
    <description><![CDATA[Patch by Tim Peters:<br/>
<br/>
Introduce a new builtin exception, UnboundLocalError, raised when ceval.c<br/>
tries to retrieve or delete a local name that isn't bound to a value.<br/>
Currently raises NameError, which makes this behavior a FAQ since the same<br/>
error is raised for &quot;missing&quot; global names too:  when the user has a global<br/>
of the same name as the unbound local, NameError makes no sense to them.<br/>
Even in the absence of shadowing, knowing whether a bogus name is local or<br/>
global is a real aid to quick understanding.<br/>
<br/>
Example:<br/>
<br/>
D:\src\PCbuild&gt;type local.py<br/>
x = 42<br/>
<br/>
def f():<br/>
    print x<br/>
    x = 13<br/>
    return x<br/>
<br/>
f()<br/>
<br/>
D:\src\PCbuild&gt;python local.py<br/>
Traceback (innermost last):<br/>
  File &quot;local.py&quot;, line 8, in ?<br/>
    f()<br/>
  File &quot;local.py&quot;, line 4, in f<br/>
    print x<br/>
UnboundLocalError: x<br/>
<br/>
D:\src\PCbuild&gt;<br/>
<br/>
Note that UnboundLocalError is a subclass of NameError, for compatibility<br/>
with existing class-exception code that may be trying to catch this as a<br/>
NameError.  Unfortunately, I see no way to make this wholly compatible<br/>
with -X (see comments in bltinmodule.c):  under -X, [UnboundLocalError<br/>
is an alias for NameError --GvR].<br/>
<br/>
[The ceval.c patch differs slightly from the second version that Tim<br/>
submitted; I decided not to raise UnboundLocalError for DELETE_NAME,<br/>
only for DELETE_LOCAL.  DELETE_NAME is only generated at the module<br/>
level, and since at that level a NameError is raised for referencing<br/>
an undefined name, it should also be raised for deleting one.]]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Tue, 22 Jun 1999 14:47:32 +0000</pubDate>
</item>
<item>
    <title>Document the correct class hierarchy for SystemExit.  It is not an</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/9be2726c9b25/Lib/exceptions.py</link>
    <description><![CDATA[Document the correct class hierarchy for SystemExit.  It is not an<br/>
error and so it derives from Exception and not SystemError.  The<br/>
docstring was incorrect but the implementation was fine.]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Wed, 24 Feb 1999 00:27:39 +0000</pubDate>
</item>
<item>
    <title>Added doc strings to the exception classes.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/5ad1a35f540c/Lib/exceptions.py</link>
    <description><![CDATA[Added doc strings to the exception classes.<br/>
Contributed by Blake Winton, but considerably edited.]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Fri, 15 Jan 1999 04:03:46 +0000</pubDate>
</item>
<item>
    <title>Added NotImplementedError, subclassed from RuntimeError</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/a091185ccfb6/Lib/exceptions.py</link>
    <description><![CDATA[Added NotImplementedError, subclassed from RuntimeError]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Tue, 01 Dec 1998 18:36:30 +0000</pubDate>
</item>
<item>
    <title>Updated the docstring and class hierarchy diagram</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/e578439b981f/Lib/exceptions.py</link>
    <description><![CDATA[Updated the docstring and class hierarchy diagram]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Fri, 25 Sep 1998 22:43:21 +0000</pubDate>
</item>
<item>
    <title>Use repr() on the filename in EnvironmentError.__str__().  This</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/0a6892b1a4ac/Lib/exceptions.py</link>
    <description><![CDATA[Use repr() on the filename in EnvironmentError.__str__().  This<br/>
displays funny characters, like spaces or control characters, more<br/>
clearly (one of my pet peeves in error messages).  Also only suppress<br/>
the filename if it is None; display it if it is '', since that would<br/>
be a genuine (illegal) filename passed in!]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Tue, 11 Aug 1998 18:01:32 +0000</pubDate>
</item>
<item>
    <title>fix __str__ method of EnvironmentError (base class of IOError): was</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/edbf631fb7e9/Lib/exceptions.py</link>
    <description><![CDATA[fix __str__ method of EnvironmentError (base class of IOError): was<br/>
using &quot;%d&quot; % errno to print out IOError exceptions -- but urllib.py<br/>
raises exceptions where the errno slot in the exception tuple is a<br/>
string.]]></description>
    <author>&#74;&#101;&#114;&#101;&#109;&#121;&#32;&#72;&#121;&#108;&#116;&#111;&#110;&#32;&#60;&#106;&#101;&#114;&#101;&#109;&#121;&#64;&#97;&#108;&#117;&#109;&#46;&#109;&#105;&#116;&#46;&#101;&#100;&#117;&#62;</author>
    <pubDate>Tue, 28 Jul 1998 17:30:06 +0000</pubDate>
</item>
<item>
    <title>Added support for including the filename in IOErrors and OSErrors that</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/8571c1246f09/Lib/exceptions.py</link>
    <description><![CDATA[Added support for including the filename in IOErrors and OSErrors that<br/>
involve a filesystem path.  To that end:<br/>
<br/>
- Changed IOError to EnvironmentError and added a hack which checks<br/>
  for arg of len 3.  When constructed with a 3-tuple, the third item<br/>
  is the filename and this is squirreled away in the `filename'<br/>
  attribute.   However, for in-place unpacking backwards<br/>
  compatibility, self.args still only gets the first two items.  Added<br/>
  a __str__() which prints the filename if it is given.<br/>
<br/>
- IOError now inherits from EnvironmentError<br/>
<br/>
- New class OSError which also inherits from EnvironmentError and is<br/>
  used by the posix module.]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 23 Jul 1998 16:03:46 +0000</pubDate>
</item>
<item>
    <title>Mass check-in after untabifying all files that need it.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/fb4b4d069cc7/Lib/exceptions.py</link>
    <description><![CDATA[Mass check-in after untabifying all files that need it.]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 26 Mar 1998 21:13:24 +0000</pubDate>
</item>
<item>
    <title>Move the __getitem__() definition from StandardException to Exception.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/784a16f56643/Lib/exceptions.py</link>
    <description><![CDATA[Move the __getitem__() definition from StandardException to Exception.<br/>
This allows stuff like this out of the box:<br/>
<br/>
	try:<br/>
	    ...<br/>
	except socket.error, (code, msg):<br/>
	    ...]]></description>
    <author>&#70;&#114;&#101;&#100;&#32;&#68;&#114;&#97;&#107;&#101;&#32;&#60;&#102;&#100;&#114;&#97;&#107;&#101;&#64;&#97;&#99;&#109;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Mon, 06 Oct 1997 15:48:20 +0000</pubDate>
</item>
<item>
    <title>NumberError =&gt; ArithmeticError</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/5cdc3ca053d6/Lib/exceptions.py</link>
    <description><![CDATA[NumberError =&gt; ArithmeticError]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Tue, 16 Sep 1997 21:50:59 +0000</pubDate>
</item>
<item>
    <title>Two subtle changes:</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/71b40cc4cc03/Lib/exceptions.py</link>
    <description><![CDATA[Two subtle changes:<br/>
<br/>
(1) Introduce Exception as the conceptual root class for all exceptions.<br/>
<br/>
(2) Do less work in __init__(), and more in __str__ (store args<br/>
unchanged).]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Tue, 16 Sep 1997 18:42:04 +0000</pubDate>
</item>
<item>
    <title>#Adapt the doc string to reality.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/775899583da6/Lib/exceptions.py</link>
    <description><![CDATA[#Adapt the doc string to reality.]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Mon, 08 Sep 1997 02:47:46 +0000</pubDate>
</item>
<item>
    <title>Made the 'info' argument to SyntaxError optional, so phase-2 syntax</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/15bcec3d3259/Lib/exceptions.py</link>
    <description><![CDATA[Made the 'info' argument to SyntaxError optional, so phase-2 syntax<br/>
errors are handled (these gave ``TypeError: not enough arguments'').<br/>
<br/>
Also changed its __str__() to correct a typo (missing self.) and<br/>
return str(self.msg) to ensure the result is always string.<br/>
<br/>
Also changed the default __str__ to simply return str(self.args).]]></description>
    <author>&#71;&#117;&#105;&#100;&#111;&#32;&#118;&#97;&#110;&#32;&#82;&#111;&#115;&#115;&#117;&#109;&#32;&#60;&#103;&#117;&#105;&#100;&#111;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Fri, 05 Sep 1997 19:00:56 +0000</pubDate>
</item>
<item>
    <title>New file, which is imported by the built-in module when python is</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/d97980e7c05f/Lib/exceptions.py</link>
    <description><![CDATA[New file, which is imported by the built-in module when python is<br/>
started with the -X option.  This file contains the definitions for<br/>
the built-in exception classes.]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Fri, 29 Aug 1997 21:59:26 +0000</pubDate>
</item>

  </channel>
</rss>
