diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 19:45:33 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 19:45:33 (GMT) |
commit | bf77c465bdc9cea8e28bf690311c638a7b5321dd (patch) | |
tree | 47eb0765e129ced603a4516cc8fdd676fac347b2 /PC/python_nt.rc | |
parent | 5a9ac9704094f13c5bdfc67080a58279699d8e47 (diff) | |
download | cpython-bf77c465bdc9cea8e28bf690311c638a7b5321dd.zip cpython-bf77c465bdc9cea8e28bf690311c638a7b5321dd.tar.gz cpython-bf77c465bdc9cea8e28bf690311c638a7b5321dd.tar.bz2 |
Undo change from list to dict for handling varnames, consts, etc.
As the doc string for _lookupName() explains:
This routine uses a list instead of a dictionary, because a
dictionary can't store two different keys if the keys have the
same value but different types, e.g. 2 and 2L. The compiler
must treat these two separately, so it does an explicit type
comparison before comparing the values.
Diffstat (limited to 'PC/python_nt.rc')
0 files changed, 0 insertions, 0 deletions