Staging
v0.5.1
v0.5.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
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
TestHelp.make_parser(): This was making a permanent change to
Tip revision: e7d7caa
File | Mode | Size |
---|---|---|
Python-ast.c | -rw-r--r-- | 110.8 KB |
asdl.c | -rw-r--r-- | 661 bytes |
ast.c | -rw-r--r-- | 86.0 KB |
atof.c | -rw-r--r-- | 815 bytes |
bltinmodule.c | -rw-r--r-- | 61.8 KB |
ceval.c | -rw-r--r-- | 103.8 KB |
codecs.c | -rw-r--r-- | 20.0 KB |
compile.c | -rw-r--r-- | 106.3 KB |
dup2.c | -rw-r--r-- | 685 bytes |
dynload_aix.c | -rw-r--r-- | 4.9 KB |
dynload_atheos.c | -rw-r--r-- | 1.0 KB |
dynload_beos.c | -rw-r--r-- | 6.3 KB |
dynload_dl.c | -rw-r--r-- | 561 bytes |
dynload_hpux.c | -rw-r--r-- | 1.3 KB |
dynload_next.c | -rw-r--r-- | 3.4 KB |
dynload_os2.c | -rw-r--r-- | 1020 bytes |
dynload_shlib.c | -rw-r--r-- | 3.2 KB |
dynload_stub.c | -rw-r--r-- | 202 bytes |
dynload_win.c | -rw-r--r-- | 7.5 KB |
errors.c | -rw-r--r-- | 18.5 KB |
fmod.c | -rw-r--r-- | 435 bytes |
frozen.c | -rw-r--r-- | 1.2 KB |
frozenmain.c | -rw-r--r-- | 1.3 KB |
future.c | -rw-r--r-- | 3.4 KB |
getargs.c | -rw-r--r-- | 41.6 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 503 bytes |
getcwd.c | -rw-r--r-- | 1.4 KB |
getmtime.c | -rw-r--r-- | 388 bytes |
getopt.c | -rw-r--r-- | 2.3 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 290 bytes |
graminit.c | -rw-r--r-- | 37.0 KB |
hypot.c | -rw-r--r-- | 282 bytes |
import.c | -rw-r--r-- | 73.3 KB |
importdl.c | -rw-r--r-- | 2.0 KB |
importdl.h | -rw-r--r-- | 990 bytes |
mactoolboxglue.c | -rw-r--r-- | 13.0 KB |
marshal.c | -rw-r--r-- | 23.9 KB |
memmove.c | -rw-r--r-- | 439 bytes |
modsupport.c | -rw-r--r-- | 13.1 KB |
mysnprintf.c | -rw-r--r-- | 2.6 KB |
mystrtoul.c | -rw-r--r-- | 4.6 KB |
pyarena.c | -rw-r--r-- | 5.7 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pystate.c | -rw-r--r-- | 14.6 KB |
pystrtod.c | -rw-r--r-- | 5.8 KB |
pythonrun.c | -rw-r--r-- | 43.1 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
strerror.c | -rw-r--r-- | 416 bytes |
strtod.c | -rw-r--r-- | 5.1 KB |
structmember.c | -rw-r--r-- | 6.3 KB |
symtable.c | -rw-r--r-- | 36.7 KB |
sysmodule.c | -rw-r--r-- | 37.7 KB |
thread.c | -rw-r--r-- | 9.5 KB |
thread_atheos.h | -rw-r--r-- | 6.0 KB |
thread_beos.h | -rw-r--r-- | 6.0 KB |
thread_cthread.h | -rw-r--r-- | 2.7 KB |
thread_foobar.h | -rw-r--r-- | 1.9 KB |
thread_lwp.h | -rw-r--r-- | 3.1 KB |
thread_nt.h | -rw-r--r-- | 8.6 KB |
thread_os2.h | -rw-r--r-- | 5.6 KB |
thread_pth.h | -rw-r--r-- | 5.2 KB |
thread_pthread.h | -rw-r--r-- | 12.1 KB |
thread_sgi.h | -rw-r--r-- | 9.4 KB |
thread_solaris.h | -rw-r--r-- | 3.0 KB |
thread_wince.h | -rw-r--r-- | 4.0 KB |
traceback.c | -rw-r--r-- | 6.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...