Staging
v0.5.1
https://github.com/python/cpython
Revision 0ca22126ce8b0e5a5ea916e1fb1dac9ce9fb4557 authored by Tim Peters on 20 March 2006, 02:12:05 UTC, committed by Tim Peters on 20 March 2006, 02:12:05 UTC
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.
1 parent 5a8605e
History
Tip revision: 0ca22126ce8b0e5a5ea916e1fb1dac9ce9fb4557 authored by Tim Peters on 20 March 2006, 02:12:05 UTC
Merge revs 42842, 42844, and part of a whitespace normalization
Tip revision: 0ca2212
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.8 KB
LICENSE -rw-r--r-- 13.1 KB
Makefile.pre.in -rw-r--r-- 31.8 KB
README -rw-r--r-- 49.6 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 582.9 KB
configure.in -rw-r--r-- 87.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 52.9 KB

README

back to top