GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `traceback.walk_stack(None)` yields frames from higher in the stack on 3.11 · Issue #99013 · python/cpython

traceback.walk_stack(None) yields frames from higher in the stack on 3.11 #99013

New issue
Copy link
New issue
Copy link
Closed
Closed
traceback.walk_stack(None) yields frames from higher in the stack on 3.11#99013
Copy link

Description

@graingert
graingert
opened on Nov 2, 2022
Issue body actions

eg:

Python 3.10.6 (main, Aug 10 2022, 11:40:04) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import traceback
>>> list(traceback.walk_stack(None))
[]
>>> 
Python 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:18:27) [GCC 10.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> list(traceback.walk_stack(None))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/graingert/anaconda3/envs/dask-distributed-311/lib/python3.11/traceback.py", line 332, in walk_stack
    f = sys._getframe().f_back.f_back.f_back.f_back
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'f_back'
>>> 

Originally posted by @graingert in #26958 (comment)

Activity

  1. ammaraskar commented on Nov 2, 2022

    @ammaraskar
    ammaraskar
    on Nov 2, 2022
    Member
    More actions

    I believe this is the same as #96092, I don't currently have time to triage this but this should be a relatively simple fix + test for regression

  2. graingert commented on Nov 2, 2022

    @graingert
    graingert
    on Nov 2, 2022
    ContributorAuthor
    More actions

    duplicate of #96092

  3. graingert
    closed this as completedon Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue 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.