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.asdl | -rw-r--r-- | 4.2 KB |
acceler.c | -rw-r--r-- | 2.8 KB |
asdl.py | -rw-r--r-- | 11.0 KB |
asdl_c.py | -rwxr-xr-x | 25.0 KB |
bitset.c | -rw-r--r-- | 977 bytes |
firstsets.c | -rw-r--r-- | 2.2 KB |
grammar.c | -rw-r--r-- | 5.3 KB |
grammar.mak | -rw-r--r-- | 1.3 KB |
grammar1.c | -rw-r--r-- | 1.0 KB |
intrcheck.c | -rw-r--r-- | 2.4 KB |
listnode.c | -rw-r--r-- | 983 bytes |
metagrammar.c | -rw-r--r-- | 2.2 KB |
myreadline.c | -rw-r--r-- | 5.4 KB |
node.c | -rw-r--r-- | 3.5 KB |
parser.c | -rw-r--r-- | 9.5 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 6.1 KB |
pgen.c | -rw-r--r-- | 14.7 KB |
pgenmain.c | -rw-r--r-- | 3.3 KB |
printgrammar.c | -rw-r--r-- | 2.4 KB |
spark.py | -rw-r--r-- | 26.3 KB |
tokenizer.c | -rw-r--r-- | 33.1 KB |
tokenizer.h | -rw-r--r-- | 2.3 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...