<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/pyerrors.h, branch v2.5.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Slightly revised version of patch #1538956:</title>
<updated>2006-08-14T10:55:19+00:00</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2006-08-14T10:55:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=040f76b79c0ce86dc33b9c525fbcd84b2254e559'/>
<id>040f76b79c0ce86dc33b9c525fbcd84b2254e559</id>
<content type='text'>
Replace UnicodeDecodeErrors raised during == and !=
compares of Unicode and other objects with a new
UnicodeWarning.

All other comparisons continue to raise exceptions.
Exceptions other than UnicodeDecodeErrors are also left
untouched.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace UnicodeDecodeErrors raised during == and !=
compares of Unicode and other objects with a new
UnicodeWarning.

All other comparisons continue to raise exceptions.
Exceptions other than UnicodeDecodeErrors are also left
untouched.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn().</title>
<updated>2006-07-30T06:55:48+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-07-30T06:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=07aadb14f39c585a463f19ec0496860a100051ad'/>
<id>07aadb14f39c585a463f19ec0496860a100051ad</id>
<content type='text'>
This provides the proper warning for struct.pack().
PyErr_Warn() is now deprecated in favor of PyErr_WarnEx().
As mentioned by Tim Peters on python-dev.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides the proper warning for struct.pack().
PyErr_Warn() is now deprecated in favor of PyErr_WarnEx().
As mentioned by Tim Peters on python-dev.
</pre>
</div>
</content>
</entry>
<entry>
<title>Conversion of exceptions over from faked-up classes to new-style C types.</title>
<updated>2006-05-27T12:29:24+00:00</updated>
<author>
<name>Richard Jones</name>
<email>richard@commonground.com.au</email>
</author>
<published>2006-05-27T12:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7b9558d37dc7f2c6ae984cf25d16b9bf5e532b77'/>
<id>7b9558d37dc7f2c6ae984cf25d16b9bf5e532b77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title> - Add new Warning class, ImportWarning</title>
<updated>2006-04-27T23:13:20+00:00</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-27T23:13:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9df4e6f6735af274813cf1b611ee1a342955ad63'/>
<id>9df4e6f6735af274813cf1b611ee1a342955ad63</id>
<content type='text'>
 - Warn-raise ImportWarning when importing would have picked up a directory
   as package, if only it'd had an __init__.py. This swaps two tests (for
   case-ness and __init__-ness), but case-test is not really more expensive,
   and it's not in a speed-critical section.

 - Test for the new warning by importing a common non-package directory on
   sys.path: site-packages

 - In regrtest.py, silence warnings generated by the build-environment
   because Modules/ (which is added to sys.path for Setup-created modules)
   has 'zlib' and '_ctypes' directories without __init__.py's.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Warn-raise ImportWarning when importing would have picked up a directory
   as package, if only it'd had an __init__.py. This swaps two tests (for
   case-ness and __init__-ness), but case-test is not really more expensive,
   and it's not in a speed-critical section.

 - Test for the new warning by importing a common non-package directory on
   sys.path: site-packages

 - In regrtest.py, silence warnings generated by the build-environment
   because Modules/ (which is added to sys.path for Setup-created modules)
   has 'zlib' and '_ctypes' directories without __init__.py's.
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 352 implementation.  Creates a new base class, BaseException, which has an</title>
<updated>2006-03-01T04:25:17+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-03-01T04:25:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bf36409e2a8171b441d5e0a2f1c9e02d31a35ae8'/>
<id>bf36409e2a8171b441d5e0a2f1c9e02d31a35ae8</id>
<content type='text'>
added message attribute compared to the previous version of Exception.  It is
also a new-style class, making all exceptions now new-style.  KeyboardInterrupt
and SystemExit inherit from BaseException directly.  String exceptions now
raise DeprecationWarning.

Applies patch 1104669, and closes bugs 1012952 and 518846.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
added message attribute compared to the previous version of Exception.  It is
also a new-style class, making all exceptions now new-style.  KeyboardInterrupt
and SystemExit inherit from BaseException directly.  String exceptions now
raise DeprecationWarning.

Applies patch 1104669, and closes bugs 1012952 and 518846.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* set_new() doesn't need to zero the structure a second time after tp_alloc</title>
<updated>2005-08-06T18:31:24+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-06T18:31:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5ba0cbe39221ff8985ce5a4702a3b01a17ae3248'/>
<id>5ba0cbe39221ff8985ce5a4702a3b01a17ae3248</id>
<content type='text'>
  has already done the job.
* Use a macro form of PyErr_Occurred() inside the set_lookkey() function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  has already done the job.
* Use a macro form of PyErr_Occurred() inside the set_lookkey() function.
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 342 implementation.  Per Guido's comments, the generator throw()</title>
<updated>2005-08-02T00:46:46+00:00</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2005-08-02T00:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0d6615fd29063bdaccb13e1fbae542fb666d8728'/>
<id>0d6615fd29063bdaccb13e1fbae542fb666d8728</id>
<content type='text'>
method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop producing or using OverflowWarning.  PEP 237 thought this would</title>
<updated>2004-08-25T02:14:08+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-25T02:14:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c8854434790d3a281f0ea5a4714e5c01414413b0'/>
<id>c8854434790d3a281f0ea5a4714e5c01414413b0</id>
<content type='text'>
happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default).  OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default).  OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros</title>
<updated>2003-07-01T20:15:21+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-07-01T20:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=21d896cfa1646a1da4e0ead57db9defc2ade397c'/>
<id>21d896cfa1646a1da4e0ead57db9defc2ade397c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
