Staging
v0.8.1
https://github.com/python/cpython
Revision e7d7caa17a3f63732ded961629704283a5508662 authored by Tim Peters on 19 June 2006, 09:09:44 UTC, committed by Tim Peters on 19 June 2006, 09:09:44 UTC
os.environ (setting envar COLUMNS), which at least caused
test_float_default() to fail if the tests were run more than once.

This repairs the test_optparse -R failures Neal reported on
python-dev.  It also explains some seemingly bizarre test_optparse
failures we saw a couple weeks ago on the buildbots, when
test_optparse failed due to test_file failing to clean up after
itself, and then test_optparse failed in an entirely different
way when regrtest's -w option ran test_optparse a second time.
It's now obvious that make_parser() permanently changing os.environ
was responsible for the second half of that.
1 parent c314ac5
History
Tip revision: e7d7caa17a3f63732ded961629704283a5508662 authored by Tim Peters on 19 June 2006, 09:09:44 UTC
TestHelp.make_parser(): This was making a permanent change to
Tip revision: e7d7caa
File Mode Size
stringlib
abstract.c -rw-r--r-- 50.8 KB
boolobject.c -rw-r--r-- 4.7 KB
bufferobject.c -rw-r--r-- 15.5 KB
cellobject.c -rw-r--r-- 2.6 KB
classobject.c -rw-r--r-- 59.8 KB
cobject.c -rw-r--r-- 3.9 KB
codeobject.c -rw-r--r-- 16.6 KB
complexobject.c -rw-r--r-- 22.8 KB
descrobject.c -rw-r--r-- 31.1 KB
dictnotes.txt -rw-r--r-- 10.9 KB
dictobject.c -rw-r--r-- 61.1 KB
enumobject.c -rw-r--r-- 8.3 KB
exceptions.c -rw-r--r-- 58.1 KB
fileobject.c -rw-r--r-- 62.0 KB
floatobject.c -rw-r--r-- 40.4 KB
frameobject.c -rw-r--r-- 23.7 KB
funcobject.c -rw-r--r-- 20.9 KB
genobject.c -rw-r--r-- 9.4 KB
intobject.c -rw-r--r-- 28.9 KB
iterobject.c -rw-r--r-- 5.2 KB
listobject.c -rw-r--r-- 69.5 KB
listsort.txt -rw-r--r-- 31.0 KB
longobject.c -rw-r--r-- 83.9 KB
methodobject.c -rw-r--r-- 8.0 KB
moduleobject.c -rw-r--r-- 6.2 KB
object.c -rw-r--r-- 50.3 KB
obmalloc.c -rw-r--r-- 56.7 KB
rangeobject.c -rw-r--r-- 7.9 KB
setobject.c -rw-r--r-- 51.0 KB
sliceobject.c -rw-r--r-- 8.0 KB
stringobject.c -rw-r--r-- 120.1 KB
structseq.c -rw-r--r-- 9.7 KB
tupleobject.c -rw-r--r-- 19.9 KB
typeobject.c -rw-r--r-- 150.1 KB
unicodectype.c -rw-r--r-- 15.8 KB
unicodeobject.c -rw-r--r-- 207.9 KB
unicodetype_db.h -rw-r--r-- 88.5 KB
weakrefobject.c -rw-r--r-- 28.4 KB

back to top