Staging
v0.8.1
https://github.com/python/cpython
Revision 057a2e70b1cdfac42dd5d13e0f900da33f7c440c authored by Anthony Baxter on 21 November 2001, 04:58:37 UTC, committed by Anthony Baxter on 21 November 2001, 04:58:37 UTC
Patch by Jonathan Wight (slightly reformatted) to forestall loading the
same module twice, which apparently crashes Python. I could not test the
error condition, but in normal life it seems to have no adverse effects.

Also removed an unsued variable, and corrected 2 glaring errors (missing
'case' in front of a label).
1 parent b78e593
History
Tip revision: 057a2e70b1cdfac42dd5d13e0f900da33f7c440c authored by Anthony Baxter on 21 November 2001, 04:58:37 UTC
backport of 2.8 by jack:
Tip revision: 057a2e7
File Mode Size
.cvsignore -rw-r--r-- 22 bytes
acceler.c -rw-r--r-- 3.2 KB
assert.h -rw-r--r-- 405 bytes
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.1 KB
grammar.c -rw-r--r-- 4.6 KB
grammar1.c -rw-r--r-- 1001 bytes
intrcheck.c -rw-r--r-- 2.9 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.1 KB
myreadline.c -rw-r--r-- 2.9 KB
node.c -rw-r--r-- 1.3 KB
parser.c -rw-r--r-- 7.8 KB
parser.h -rw-r--r-- 916 bytes
parsetok.c -rw-r--r-- 3.2 KB
pgen.c -rw-r--r-- 14.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenmain.c -rw-r--r-- 3.5 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 17.4 KB
tokenizer.h -rw-r--r-- 1.8 KB

back to top