[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread Irit Katriel
Irit Katriel added the comment: Thanks Lukasz. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread miss-islington
miss-islington added the comment: New changeset cfdd7d26a72e7ae523039e40c11001c2d7ef36ba by Miss Islington (bot) in branch '3.10': bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFoundError (GH-28824)

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread miss-islington
miss-islington added the comment: New changeset 5f527caf15c52acc3f6e865721cdf781209f11ca by Miss Islington (bot) in branch '3.9': bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFoundError (GH-28824)

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +27636 pull_request: https://github.com/python/cpython/pull/29378 ___ Python tracker ___

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +27635 pull_request: https://github.com/python/cpython/pull/29377 ___ Python tracker

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-11-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a459a81530de700b3d3faeb827b22ed1c9985812 by Irit Katriel in branch 'main': bpo-45406: make inspect.getmodule() return None when getabsfile() raises FileNotFoundError (GH-28824)

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +27141 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28824 ___ Python tracker ___

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-08 Thread Irit Katriel
Irit Katriel added the comment: Thanks for the report, crash typically refers to segfaults rather than exceptions being raised. Updated versions. -- nosy: +iritkatriel type: crash -> behavior versions: +Python 3.11, Python 3.9 ___ Python tracker

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-08 Thread Raúl Cumplido
Raúl Cumplido added the comment: I have reproduced on python3.10 and validated this is also happening for other python versions: # PYTHON 3.9 $ mkdir /tmp/bar $ cd /tmp/bar $ rmdir /tmp/bar $ python3.9 Python 3.9.5 (default, May 19 2021, 11:32:47) [GCC 9.3.0] on linux Type "help",

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-07 Thread Miroslav Suchý
Change by Miroslav Suchý : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45406] inspect.getouterframes() tracebacks when $CWD does not exists

2021-10-07 Thread Miroslav Suchý
New submission from Miroslav Suchý : When you exec inspect.getouterframes() in directory, which no longer exists, then you get traceback, because the code traverse to os.getcwd() which fails. Reproducer: $ mkdir /tmp/bar $ cd /tmp/bar $ rmdir /tmp/bar $ python3 Python 3.10.0rc2 (default, Sep