<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/pyerrors.h, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pyerrors.h?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pyerrors.h?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-23T02:56:07Z</updated>
<entry>
<title>Introduce OverflowWarning -- to be issued when short int operations</title>
<updated>2001-08-23T02:56:07Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-23T02:56:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ae347b33befbbf9068473f373def1620f2bab805'/>
<id>urn:sha1:ae347b33befbbf9068473f373def1620f2bab805</id>
<content type='text'>
are overflowing and a long int operation is substituted.
</content>
</entry>
<entry>
<title>Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 and</title>
<updated>2001-07-31T18:05:33Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-07-31T18:05:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03d1b1814b367baf8a52389b5a7d7805dba1f68a'/>
<id>urn:sha1:03d1b1814b367baf8a52389b5a7d7805dba1f68a</id>
<content type='text'>
add another use case to the socketmodule.
</content>
</entry>
<entry>
<title>va_list is defined in stdarg.h.</title>
<updated>2001-07-31T14:23:52Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-07-31T14:23:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1'/>
<id>urn:sha1:cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This patch turns the Python API mismatch notice into a standard</title>
<updated>2001-07-31T13:24:44Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-07-31T13:24:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5006ebc9d0618bc500afebfa1e21b6aae2a22e3'/>
<id>urn:sha1:e5006ebc9d0618bc500afebfa1e21b6aae2a22e3</id>
<content type='text'>
Python warning which can be catched by means of the Python warning
framework.

It also adds two new APIs which hopefully make it easier for Python
to switch to buffer overflow safe [v]snprintf() APIs for error
reporting et al. The two new APIs are PyOS_snprintf() and
PyOS_vsnprintf() and work just like the standard ones in many
C libs. On platforms which have snprintf(), the native APIs are used,
on all other an emulation with snprintf() tries to do its best.
</content>
</entry>
<entry>
<title>Iterators phase 1.  This comprises:</title>
<updated>2001-04-20T19:13:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-20T19:13:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59d1d2b434e8cf79e8b1321f148254c68f56c1f7'/>
<id>urn:sha1:59d1d2b434e8cf79e8b1321f148254c68f56c1f7</id>
<content type='text'>
new slot tp_iter in type object, plus new flag Py_TPFLAGS_HAVE_ITER
new C API PyObject_GetIter(), calls tp_iter
new builtin iter(), with two forms: iter(obj), and iter(function, sentinel)
new internal object types iterobject and calliterobject
new exception StopIteration
new opcodes for "for" loops, GET_ITER and FOR_ITER (also supported by dis.py)
new magic number for .pyc files
new special method for instances: __iter__() returns an iterator
iteration over dictionaries: "for x in dict" iterates over the keys
iteration over files: "for x in file" iterates over lines

TODO:

documentation
test suite
decide whether to use a different way to spell iter(function, sentinal)
decide whether "for key in dict" is a good idea
use iterators in map/filter/reduce, min/max, and elsewhere (in/not in?)
speed tuning (make next() a slot tp_next???)
</content>
</entry>
<entry>
<title>Add declaration for PyErr_WarnExplicit().</title>
<updated>2001-02-28T21:44:20Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-02-28T21:44:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1bcb7e9327414d1e8675597b91e4f6e0441315fc'/>
<id>urn:sha1:1bcb7e9327414d1e8675597b91e4f6e0441315fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve SyntaxErrors for bad future statements.  Set file and location</title>
<updated>2001-02-28T17:47:12Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-28T17:47:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08'/>
<id>urn:sha1:ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08</id>
<content type='text'>
for errors raised in future.c.

Move some helper functions from compile.c to errors.c and make them
API functions: PyErr_SyntaxLocation() and PyErr_ProgramText().
</content>
</entry>
<entry>
<title>Add declarations for standard warning category classes (PyExc_Warning</title>
<updated>2000-12-15T21:57:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-12-15T21:57:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3fc30372c71b5e6885fd617ad68fc119a09dd5a4'/>
<id>urn:sha1:3fc30372c71b5e6885fd617ad68fc119a09dd5a4</id>
<content type='text'>
etc.) and the PyErr_Warn() function.
</content>
</entry>
<entry>
<title>REMOVED all CWI, CNRI and BeOpen copyright markings.</title>
<updated>2000-09-01T23:29:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T23:29:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8586991099e4ace18ee94163a96b8ea1bed77ebe'/>
<id>urn:sha1:8586991099e4ace18ee94163a96b8ea1bed77ebe</id>
<content type='text'>
This should match the situation in the 1.6b1 tree.
</content>
</entry>
<entry>
<title>refactor __del__ exception handler into PyErr_WriteUnraisable</title>
<updated>2000-09-01T02:47:25Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-09-01T02:47:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b709df381034b6055f03644a8f2eb35cfc6cb411'/>
<id>urn:sha1:b709df381034b6055f03644a8f2eb35cfc6cb411</id>
<content type='text'>
add sanity check to gc: if an exception occurs during GC, call
PyErr_WriteUnraisable and then call Py_FatalEror.
</content>
</entry>
</feed>
