GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — `generate_tokens` tokenizes `$` differently with Python 3.12 than earlier · Issue #104802 · python/cpython Closed as not planned Closed as not planned Copy link Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionI tested Python 3.12 beta 1 with Robot Framework and noticed that Python 3.11.3 (main, Apr 5 2023, 14:15:06) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from tokenize import generate_tokens >>> from io import StringIO >>> next(generate_tokens(StringIO('$x').readline)) TokenInfo(type=60 (ERRORTOKEN), string='$', start=(1, 0), end=(1, 1), line='$x') Python 3.12.0b1 (main, May 22 2023, 23:31:26) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from tokenize import generate_tokens >>> from io import StringIO >>> next(generate_tokens(StringIO('$x').readline)) TokenInfo(type=55 (OP), string='$', start=(1, 0), end=(1, 1), line='$x\n') We support Python evaluation with special variables like Notice also that there's a small change with Activity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |