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 — bpo-43950: Print columns in tracebacks (PEP 657) by ammaraskar · Pull Request #26958 · python/cpython Conversation
|
|
@ammaraskar Ground control to major tom, commencing countdown engines on Rebase time! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
6d4302d to
1fd558c
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Yeah, I will do that. Could you address first @isidentical feedback? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
73bcea3 to
9a31711
Compare
e0b1f4b to
58e2f7f
Compare
|
@ammaraskar Can you open the prs for the follow-ups? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
#27023 for the config change, working on the traceback.py refactor + a bpo issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
https://bugs.python.org/issue44569 for the traceback.py change, PR for it coming soon. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| """ | ||
| if f is None: | ||
| f = sys._getframe().f_back.f_back | ||
| f = sys._getframe().f_back.f_back.f_back.f_back |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
this doesn't seem correct -
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.
>>> import traceback
>>> traceback.walk_stack(None)
<generator object walk_stack at 0x7f308f4c4700>
>>> 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'
>>>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please, don't comment on merged pull requests because they are not monitored and you risk no one looking at your comment. Always open a new issue :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.