<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/bltinmodule.c, 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/Python/bltinmodule.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/bltinmodule.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-10-07T12:32:57Z</updated>
<entry>
<title>Backport:</title>
<updated>2002-10-07T12:32:57Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-10-07T12:32:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1bb75505fbb5b47f4f3d420e00964b38c24b203'/>
<id>urn:sha1:d1bb75505fbb5b47f4f3d420e00964b38c24b203</id>
<content type='text'>
2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.

u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.

Closes SF bug #593581.
</content>
</entry>
<entry>
<title>backport nowonder's checkin of</title>
<updated>2002-09-24T11:23:05Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-09-24T11:23:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=070fe1680a1d57ee4ea611b6b96370fa7eaf86ad'/>
<id>urn:sha1:070fe1680a1d57ee4ea611b6b96370fa7eaf86ad</id>
<content type='text'>
    revision 2.265 of bltinmodule.c

date: 2002/08/27 16:58:00;  author: nowonder;  state: Exp;  lines: +1 -1

execfile should call PyErr_SetFromErrnoWithFilename instead of
simply PyErr_SetFromErrno

This closes bug 599163.
</content>
</entry>
<entry>
<title>backport tim_one's patch:</title>
<updated>2002-04-30T04:05:33Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-04-30T04:05:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=911933704e90681bfc0860e32ed5f0f1219246b5'/>
<id>urn:sha1:911933704e90681bfc0860e32ed5f0f1219246b5</id>
<content type='text'>
Repair widespread misuse of _PyString_Resize.  Since it's clear people
don't understand how this function works, also beefed up the docs.  The
most common usage error is of this form (often spread out across gotos):

	if (_PyString_Resize(&amp;s, n) &lt; 0) {
		Py_DECREF(s);
		s = NULL;
		goto outtahere;
	}

The error is that if _PyString_Resize runs out of memory, it automatically
decrefs the input string object s (which also deallocates it, since its
refcount must be 1 upon entry), and sets s to NULL.  So if the "if"
branch ever triggers, it's an error to call Py_DECREF(s):  s is already
NULL!  A correct way to write the above is the simpler (and intended)

	if (_PyString_Resize(&amp;s, n) &lt; 0)
		goto outtahere;

Bugfix candidate.

Original patch(es):
python/dist/src/Python/bltinmodule.c:2.253
</content>
</entry>
<entry>
<title>Add bool(), True, False (as ints) for backwards compatibility.</title>
<updated>2002-04-08T13:31:12Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-04-08T13:31:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b172978bbf44af7832c3638afe071b10751e664'/>
<id>urn:sha1:5b172978bbf44af7832c3638afe071b10751e664</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backport tim_one's checkin of</title>
<updated>2002-03-11T10:15:00Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-11T10:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db780071b7e907479145eda085842638d0a990c8'/>
<id>urn:sha1:db780071b7e907479145eda085842638d0a990c8</id>
<content type='text'>
    revision 2.248 of bltinmodule.c

Docstring for filter():  Someone on the Tutor list reasonably complained
that it didn't tell enough of the truth.
Bugfix candidate (I guess -- it helps and it's harmless).
</content>
</entry>
<entry>
<title>Include &lt;unistd.h&gt; in Python.h. Fixes #500924.</title>
<updated>2002-01-12T11:13:24Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-12T11:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d21e644096c700d9cf87038e736dd5ae0f738af'/>
<id>urn:sha1:0d21e644096c700d9cf87038e736dd5ae0f738af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for SF bug [ #492403 ] exec() segfaults on closure's func_code</title>
<updated>2001-12-13T19:51:56Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-13T19:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=733c8935f9dfd1be70c472649eb845ea22bbc878'/>
<id>urn:sha1:733c8935f9dfd1be70c472649eb845ea22bbc878</id>
<content type='text'>
Based on the patch from Danny Yoo.  The fix is in exec_statement() in
ceval.c.

There are also changes to introduce use of PyCode_GetNumFree() in
several places.
</content>
</entry>
<entry>
<title>Use PyOS_snprintf instead of sprintf.</title>
<updated>2001-11-28T20:42:20Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-28T20:42:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=518ab1c02a01a1a502fedeccb62ea73f2a952ba7'/>
<id>urn:sha1:518ab1c02a01a1a502fedeccb62ea73f2a952ba7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch 473749 compile under OS/2 VA C++, from Michael Muller.</title>
<updated>2001-11-05T02:45:59Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-05T02:45:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=603c6831d08d8598f76e767acdd6d37227b3e9ec'/>
<id>urn:sha1:603c6831d08d8598f76e767acdd6d37227b3e9ec</id>
<content type='text'>
Changes enabling Python to compile under OS/2 Visual Age C++.
</content>
</entry>
<entry>
<title>Rename "dictionary" (type and constructor) to "dict".</title>
<updated>2001-10-29T22:25:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-29T22:25:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a427a2b8d09a756119d424efac85159a0270b503'/>
<id>urn:sha1:a427a2b8d09a756119d424efac85159a0270b503</id>
<content type='text'>
</content>
</entry>
</feed>
