Message149789
| Author |
meador.inge |
| Recipients |
meador.inge |
| Date |
2011年12月18日.18:20:21 |
| SpamBayes Score |
0.002542784 |
| Marked as misclassified |
No |
| Message-id |
<1324232482.43.0.0474353637736.issue13629@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|