commit | bf77c465bdc9cea8e28bf690311c638a7b5321dd | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Aug 29 19:45:33 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Aug 29 19:45:33 2001 +0000 |
tree | 47eb0765e129ced603a4516cc8fdd676fac347b2 | |
parent | 5a9ac9704094f13c5bdfc67080a58279699d8e47 [diff] |
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.