<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/pyerrors.h, branch 2.2</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=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pyerrors.h?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-12-03T00:43:33Z</updated>
<entry>
<title>mysnprintf.c:  Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to</title>
<updated>2001-12-03T00:43:33Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-03T00:43:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=faad5ad59005d16080aa79b593fede25c6a7457c'/>
<id>urn:sha1:faad5ad59005d16080aa79b593fede25c6a7457c</id>
<content type='text'>
use wrappers on all platforms, to make this as consistent as possible x-
platform (in particular, make sure there's at least one \0 byte in
the output buffer).  Also document more of the truth about what these do.

getargs.c, seterror():  Three computations of remaining buffer size were
backwards, thus telling PyOS_snprintf the buffer is larger than it
actually is.  This matters a lot now that PyOS_snprintf ensures there's a
trailing \0 byte (because it didn't get the truth about the buffer size,
it was storing \0 beyond the true end of the buffer).

sysmodule.c, mywrite():  Simplify, now that PyOS_vsnprintf guarantees to
produce a \0 byte.
</content>
</entry>
<entry>
<title>Removed preprocessor gimmick trying to force use of snprintf emulation</title>
<updated>2001-11-28T16:51:49Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T16:51:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a437d4594bd38a93f5116e345c8f0b06a6593d38'/>
<id>urn:sha1:a437d4594bd38a93f5116e345c8f0b06a6593d38</id>
<content type='text'>
before 2.2b1.
</content>
</entry>
<entry>
<title>Add function attributes that allow GCC to check the arguments of printf-like</title>
<updated>2001-10-23T02:21:22Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-10-23T02:21:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=90b689076a6dcb55dcac6c5efbc9e4aa793e6c72'/>
<id>urn:sha1:90b689076a6dcb55dcac6c5efbc9e4aa793e6c72</id>
<content type='text'>
functions.
</content>
</entry>
<entry>
<title>weakref.ReferenceError becomes a built-in exception now that weak ref objects</title>
<updated>2001-10-05T21:50:08Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-10-05T21:50:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb9fa21cfe7a8343698ce5e26e845b4e0c877d6a'/>
<id>urn:sha1:bb9fa21cfe7a8343698ce5e26e845b4e0c877d6a</id>
<content type='text'>
are moving into the core; with these changes, it will be possible for the
exception to be raised without the weakref module ever being imported.
</content>
</entry>
<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>
</feed>
