Message149789
When making the changes to remove backticks in eb2f70fdbf32, the _PyParser_TokenNames table was incorrectly updated. Now the indexes into _PyParser_TokenNames don't match the token numbers. This can be seen in the output of 'python -d':
$ echo '2 << 1' | ./python -d | grep Token
...
Token NUMBER/'2' ... It's a token we know
Token RIGHTSHIFT/'<<' ... It's a token we know
Token NUMBER/'1' ... It's a token we know
Token NEWLINE/'' ... It's a token we know
Token NEWLINE/'' ... It's a token we know
Token ENDMARKER/'' ... It's a token we know
The fix is trivial. Patch attached. |
|
Date |
User |
Action |
Args |
2011-12-18 18:21:22 | meador.inge | set | recipients:
+ meador.inge |
2011-12-18 18:21:22 | meador.inge | set | messageid: <1324232482.43.0.0474353637736.issue13629@psf.upfronthosting.co.za> |
2011-12-18 18:20:22 | meador.inge | link | issue13629 messages |
2011-12-18 18:20:21 | meador.inge | create | |
|