<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test, branch v2.4.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test?h=v2.4.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test?h=v2.4.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-28T07:32:36Z</updated>
<entry>
<title>after discussions with perky, reverted fix for Bug #1379994: Builtin</title>
<updated>2006-03-28T07:32:36Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-03-28T07:32:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb9051a608525c1fd191701e169cd51910f9ceee'/>
<id>urn:sha1:cb9051a608525c1fd191701e169cd51910f9ceee</id>
<content type='text'>
unicode_escape and raw_unicode_escape codec now encodes backslash correctly.

This caused another issue for unicode repr strings being double-escaped
(SF Bug #1459029). Correct fix will be in 2.5, but is too risky for 2.4.3.

Added a testcase for #1459029.
</content>
</entry>
<entry>
<title>Merge rev 43181 from the trunk.</title>
<updated>2006-03-28T07:09:33Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-28T07:09:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1d250001f5d298ec2e295aa9dadbad008eac3939'/>
<id>urn:sha1:1d250001f5d298ec2e295aa9dadbad008eac3939</id>
<content type='text'>
Try to repair at least one segfault on the Mac buildbot,
as diagnosed by Nick Coghlan.

test_capi.py:  A test module should never spawn a thread as
a side effect of being imported.  Because this one did, the
segfault one of its thread tests caused didn't occur until
a few tests after test_regrtest.py thought test_capi was
finished.  Repair that.  Also join() the thread spawned
at the end, so that test_capi is truly finished when
regrtest reports that it's done.

_testcapimodule.c test_thread_state():  this spawns a
couple of non-threading.py threads, passing them a PyObject*
argument, but did nothing to ensure that those threads
finished before returning.  As a result, the PyObject*
_could_ (although this was unlikely) get decref'ed out of
existence before the threads got around to using it.
Added explicit synchronization (via a Python mutex) so
that test_thread_state can reliably wait for its spawned
threads to finish.
</content>
</entry>
<entry>
<title>Backport of r41530 (neal.norwitz, 2005-11-24):</title>
<updated>2006-03-27T21:38:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-27T21:38:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97334aebefc6d2d0bbeeb38051c1366d70d5abef'/>
<id>urn:sha1:97334aebefc6d2d0bbeeb38051c1366d70d5abef</id>
<content type='text'>
Move registration of the codec search function to the module scope
so it is only executed once.  Otherwise the same search function is
repeated added to the codec search path when regrtest is run with -R
and leaks are reported.
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2006-03-26T04:10:42Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-26T04:10:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a8de08daefd6a10f952f57f9969e393220f890c1'/>
<id>urn:sha1:a8de08daefd6a10f952f57f9969e393220f890c1</id>
<content type='text'>
Handle sys.getfilesystemencoding() returning None.
ascii seems like the safest bet, it should exist.  I wonder if utf-8
would be a better choice?  This should get test_fileinput passing on OpenBSD.
</content>
</entry>
<entry>
<title>Mechanical whitespace normalization.</title>
<updated>2006-03-23T19:07:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-23T19:07:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6c0c202f55e25f03d9427cab229a196f92715a6'/>
<id>urn:sha1:a6c0c202f55e25f03d9427cab229a196f92715a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change SystemError into SyntaxError, when a Unicode string</title>
<updated>2006-03-22T13:55:50Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-22T13:55:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=73c8c2c3dd0ff10a31ee4c07273d7f1f3343561a'/>
<id>urn:sha1:73c8c2c3dd0ff10a31ee4c07273d7f1f3343561a</id>
<content type='text'>
containing an encoding declaration is compile()d. Fixes
#1115379.
</content>
</entry>
<entry>
<title>Merge revs 42842, 42844, and part of a whitespace normalization</title>
<updated>2006-03-20T02:12:05Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-20T02:12:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0ca22126ce8b0e5a5ea916e1fb1dac9ce9fb4557'/>
<id>urn:sha1:0ca22126ce8b0e5a5ea916e1fb1dac9ce9fb4557</id>
<content type='text'>
patch from the trunk.

This stops test_socket_ssl from dying with:

    TypeError: 'NoneType' object is not callable

in urlparsre.py's urljoin() when the tests are run in this order:

    test_???
    test_importhooks
    test_socket_ssl

"test_???" can be various things, but must be there.  For
example, test_urllibnet "works" to provoke the failure.

Alas, nobody actually understands _why_ test_socket_ssl fails
then, or why this hack makes the problem go away.

Amazingly, the tests just happened to run in the right order on
the 2.4 branch on two Windows buildbot slaves today, causing them
both to fail their most recent test runs before this patch.
</content>
</entry>
<entry>
<title>Backport 43147:</title>
<updated>2006-03-20T02:05:58Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-20T02:05:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a8605ec1cf5cd388dcde9a3cd90b3ef6061bcc7'/>
<id>urn:sha1:5a8605ec1cf5cd388dcde9a3cd90b3ef6061bcc7</id>
<content type='text'>
Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace()
returns a non-string when converting %Z.
</content>
</entry>
<entry>
<title>Merge rev 43091 from the trunk.</title>
<updated>2006-03-18T02:47:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-18T02:47:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c612a5dbcaa6ddf4d1843d9aefb2891d6f72b2cd'/>
<id>urn:sha1:c612a5dbcaa6ddf4d1843d9aefb2891d6f72b2cd</id>
<content type='text'>
"""
Try to find a host that responds slower from python.org so this test
does not fail on macteagle (G4 OSX.4 in buildbot)
"""

Since testConnectTimeout() frequently fails in the same way in 2.4
branch, and this patch seems to have fixed it on the trunk, it
should fix it on the 2.4 branch too.
</content>
</entry>
<entry>
<title>Merge rev 43081 from trunk.</title>
<updated>2006-03-16T18:56:35Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-16T18:56:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1442b4d0edb38945f82da46711abefc3cb7df40'/>
<id>urn:sha1:d1442b4d0edb38945f82da46711abefc3cb7df40</id>
<content type='text'>
Set eol-style to native.
</content>
</entry>
</feed>
