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 — Pdb bug when using names that collide w/ aliases of breakpoints operations · Issue #111352 · python/cpython Closed as not planned Closed as not planned Copy link Labels type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:Using specific values as variable names in breakpoints leads to incorrect behaviour. MRE:Python 3.9.5 (default, Sep 14 2021, 12:04:19) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> breakpoint() --Return-- > <stdin>(1)<module>()->None (Pdb) c = None >>> c Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'c' is not defined >>> # I expect to still be in a breakpoint here, and for `c` to be `None`, but pdb has 'continued' execution instead. The same is true for other aliases, like CPython versions tested on:3.9 Operating systems tested on:Linux Activity
MetadataMetadataAssigneesLabelstype-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. |